<DIV>Thank you John for your prompt reply.</DIV> <DIV>I tried the same example by replacing [:xdigit:] with [[:xdigit:]] in the expression</DIV> <DIV>However, I still do not get the desired match.</DIV> <DIV> </DIV> <DIV>Regards,</DIV> <DIV>Chandan</DIV> <DIV> </DIV> <DIV><BR><BR><B><I>John Maddock <john@johnmaddock.co.uk></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Chandan Nilange wrote:<BR>>> Hello,<BR>>><BR>>> Why does the boost regex sample program attached here,<BR>>> doesnot generate match for character class [:xdigit:]<BR>>> Do we need to enable this character class explicity?<BR>>> If yes, how to enable it?<BR><BR>The expression "[:xdigit:]" that you're using will match any of the <BR>characters ":", , "x", "d", "i", "g" or "t". Use "[[:xdigit:]]" to match a <BR>hex digit character.<BR><BR>John. <BR><BR>_______________________________________________<BR>Boost-users mailing list<BR>Boost-users@lists.boost.org<BR>http://lists.boost.org/mailman/listinfo.cgi/boost-users<BR></BLOCKQUOTE><BR><p>  <hr size=1>Boardwalk for $500? In 2007? Ha! <br><a href="http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow">Play Monopoly Here and Now</a> (it's updated for today's economy) at Yahoo! Games.