Opened 6 years ago

Last modified 5 years 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:

Description

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

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

Change History (2)

comment:1 by John Maddock, 6 years ago

Component: Noneregex
Owner: set to John Maddock

comment:2 by John Maddock, 5 years ago

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

Note: See TracTickets for help on using tickets.