Opened 7 years ago

#11621 new Bugs

Regexp doesn't match "\\"

Reported by: dezelin@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

While in lexer, regexp:

[\"]([\"]|([
]([
][\"]|[']|[n]|[t]|[b]|[r]|[ ])|[
][0-9][0-9][0-9]|[
][x]([0-9]|[A-F]∣[a-f])([0-9]|[A-F][a-f]))|[
]([\n]|[\r\n])([ ]|[\t])*)*[\"]

doesn't match strings in expression

let ticker_animation = [|

"
"; "|"; "/"; "-";

The first string "
" seems to be matched with escaped second " instead as a string.

To check, please visit http://www.regexr.com/.

Attachments (2)

regexp.txt (155 bytes ) - added by dezelin@… 7 years ago.
Full regular expression
regexp.2.txt (212 bytes ) - added by dezelin@… 7 years ago.
Regulat expression + expression to match with

Download all attachments as: .zip

Change History (2)

by dezelin@…, 7 years ago

Attachment: regexp.txt added

Full regular expression

by dezelin@…, 7 years ago

Attachment: regexp.2.txt added

Regulat expression + expression to match with

Note: See TracTickets for help on using tickets.