Opened 16 years ago
Closed 15 years ago
#679 closed Support Requests (fixed)
regex - perl syntax affects what gets matched
Reported by: | nobody | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Component: | regex | |
Version: | None | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
Hi, I'm trying to move from 1.32 to 1.33 (I need unicode), and it seems that 'what gets matched' have changed: it no longer matches the left-most longest match, but the first BFS of the expression. Ok. It is documented. But how do I pass that? The only way I found around it is using regex::no_perl_ex, but: 1. The change of 'what gets matched' is not documented (or I didn't find it), and therefore I'm not sure it does what I think it does. 2. There is no 'lookahead' anymore, and I need it. Is there a way to tell a perl regex to match the left- most longest? or is there another workaround? Thanks, Moddy. moddyt@itemfield.com
Change History (4)
comment:2 by , 16 years ago
Logged In: NO Thanks. I'll try that. I'm still left with one question: Where are the flags "match_posix" and "no_perl_ex" appear documentated? Thanks, Moddy.
comment:3 by , 15 years ago
Component: | None → regex |
---|---|
Severity: | → Problem |
comment:4 by , 15 years ago
Description: | modified (diff) |
---|---|
Resolution: | None → fixed |
Status: | assigned → closed |
Sorry for the delay: no_perl_ex is intended for internal use and intentionally not documented. The new match_flag_type options I've just added to the docs in SVN now.
Note:
See TracTickets
for help on using tickets.