
4 Jul
2007
4 Jul
'07
4:19 p.m.
Chandan Nilange wrote:
Hello,
Why does the boost regex sample program attached here, doesnot generate match for character class [:xdigit:] Do we need to enable this character class explicity? If yes, how to enable it?
The expression "[:xdigit:]" that you're using will match any of the characters ":", , "x", "d", "i", "g" or "t". Use "[[:xdigit:]]" to match a hex digit character. John.