Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by fireblood (Scribe)
on Apr 15, 2022 at 11:42 UTC ( #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? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2022-12-03 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?