RX: Was missing REG_ENHANCED, which omits \d support

This commit is contained in:
Paul Beckingham 2015-07-25 00:43:48 -04:00
parent 4f0e32b69b
commit 3df84516d2
2 changed files with 6 additions and 2 deletions

View file

@ -56,7 +56,7 @@ void RX::compile ()
int result;
if ((result = regcomp (&_regex, _pattern.c_str (),
REG_EXTENDED | REG_NEWLINE |
REG_ENHANCED | REG_EXTENDED | REG_NEWLINE |
(_case_sensitive ? 0 : REG_ICASE))) != 0)
{
char message[256];