Skip to content
Prev 163579 / 398506 Next

Question to regular expressions

Antje wrote:
If all else fails, read the help, here ?regex.  Both [0-9] and 
[[:digit:]] are character classes of digits, but the first contains only 
arabic numerals.  In some locales the second may contain other numerals 
(e.g. Japanese has other characters representing digits): however I 
believe that in the current R implementations that no other numerals are 
included in any locale.