Skip to content
Prev 315778 / 398506 Next

Regex for ^ (the caret symbol)?

Hello,

Em 21-01-2013 20:52, Duncan Murdoch escreveu:
So in the pattern [a^] it doesn't need to be escaped.

grep("[a^]", c("a^", "and", "b", "^")) # 1 2 4


Rui Barradas