Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Unable to constrain the effect of a negative lookahead

by fireblood (Scribe)
on Apr 15, 2022 at 11:42 UTC ( [id://11142993]=note: print w/replies, xml ) Need Help??


in reply to Re: Unable to constrain the effect of a negative lookahead
in thread Unable to constrain the effect of a negative lookahead

Hi hv, Yes, you stated it quite well, that's what I meant to say but was sloppy in using the phrase "that point in the regex" instead of "that point in the string". Thanks for the correction. And you have also confirmed what I suspected was the problem, that because the effect of the /?!.*batch/ was over the entire string rather than the part of the string to which the parenthesized expression applied (such as (?i) for temporarily matching case insensitively) the expression as a whole contained a contradiction and the whole would never match. -fireblood
  • Comment on Re^2: Unable to constrain the effect of a negative lookahead

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11142993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-25 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found