[R] help with regexps

Luca Braglia braglia at poleis.eu
Wed Oct 7 11:15:25 CEST 2009


Hello everybody

I'd like to match exactly numbers from 1 to 27.
I've tried a character class like [1-27], but it matches 1,2 and 7.
How to tell R (pcre) to interpret 27 "correctly"?
Have been fastly looking throughout pcre man pages, without success.

Many thanks

Luca




More information about the R-help mailing list