Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: regex for negating a sequence

by ysth (Canon)
on Oct 03, 2006 at 20:25 UTC ( [id://576180]=note: print w/replies, xml ) Need Help??


in reply to Re^2: regex for negating a sequence
in thread regex for negating a sequence

Another alternative:
/\x26\x67(?!.{0,6}\x26\x67).{8}/s
I've interpreted "does not appear" differently than you when the eighth char is the \x26 of a \x26\x67 sequence.

Log In?
Username:
Password:

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

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

    No recent polls found