Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Regular Expression Builder

by Rich36 (Chaplain)
on Aug 30, 2002 at 15:23 UTC ( #194140=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Regex::PreSuf;
    my $re = presuf({anychar => 1}, qw(@foo @bar @baz));
    print qq($re\n);
    __RESULT__
    \@(?:ba[rz]|foo)
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://194140]
Approved by shadox
Front-paged by shadox
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2016-07-27 20:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (249 votes). Check out past polls.