Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: Regex AND NOT with zero-width negative lookahead assertion

by cxw (Scribe)
on Mar 28, 2020 at 00:24 UTC ( #11114744=note: print w/replies, xml ) Need Help??


in reply to Re: Regex AND NOT with zero-width negative lookahead assertion
in thread Regex AND NOT with zero-width negative lookahead assertion

Specifically, this might serve -
use Regexp::Common qw /delimited/; $str =~ /^$RE{delimited}{-delim=>'/'}$/;
The $RE{delimited} regex accepts backslash escapes by default.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2022-12-05 11:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?