Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2007-07-04 12:19:38


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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net