Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Variable length lookbehind not implemented in regex

by jethro (Monsignor)
on Feb 12, 2013 at 23:30 UTC ( [id://1018464]=note: print w/replies, xml ) Need Help??


in reply to Variable length lookbehind not implemented in regex

How about negating the question. Removes the need for negative matching:

$result= (not /^([^A-Z]|[A-Z].*(_Flags|_Info))$/);

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-19 02:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found