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.