in reply to
Generating regex strings with a regex
You can force a failure using
(?!)
- a lookahead assertion that the empty string doesn't match here, which can never occur.
Makeshifts last the longest.
Comment on
Re: Generating regex strings with a regex
In Section
Cool Uses for Perl