Opened 22 months ago

Last modified 18 months ago

#12965 new Bugs

bug of [[:xdigit:]] matching

Reported by: freeman_feng@… Owned by: John Maddock
Milestone: To Be Determined Component: regex
Version: Boost 1.63.0 Severity: Problem
Keywords: Cc:


boost::regex myRegex{ ":xdigit:?{ 1,2 }" }; string s = "\xca\xd5";

cout << boost::regex_match(s,myRegex) << endl;

Change History (2)

comment:1 Changed 21 months ago by John Maddock

Component: Noneregex
Owner: set to John Maddock

comment:2 Changed 18 months ago by John Maddock

Unless the wiki has mangled your text somehow, that's not a valid regular expression.

Note: See TracTickets for help on using tickets.