Opened 9 years ago

Closed 7 years ago

#9904 closed Bugs (obsolete)

regex error in 1.55.0

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

Description

This POSIX regex matches incorrectly: [
s
.;=,(){}
[<>]]+ (also if ] is escaped). But []
s
.;=,(){}
[<>]+ matches correctly. The first regex matches the whole input as one token, while the second matches each token in the input which is separated by the above enumerated characters.

Change History (2)

comment:1 by John Maddock, 8 years ago

With apologies for the long delay in getting to this.... and I'm afraid I don't understand, can you please provide a self-contained test case?

Many thanks.

comment:2 by John Maddock, 7 years ago

Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.