Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2008-03-05 08:31:57


Chandan Nilange wrote:
>> Hello,
>>
>> I want to include named character class [[:xdigit:]]
>> as a part of another user defined character class.
>>
>> I am not getting the desired results.
>> Pl. find my test example attached.
>>
>> Please let me know how to do this.

If you want to include both xdigit and "x" in the class then use:

[x[:xdigit:]]

You had too many [['s in the expression.

HTH, 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