Thank you John for your prompt reply.
I tried the same example by replacing [:xdigit:] with [[:xdigit:]]  in the expression
However, I still do not get the desired match.
 
Regards,
Chandan
 


John Maddock <john@johnmaddock.co.uk> wrote:
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.

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users


Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.