Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Regex required

by Anonymous Monk
on May 04, 2012 at 07:51 UTC ( #968880=note: print w/replies, xml ) Need Help??


in reply to Regex required

You can answer your own question if you read http://perldoc.perl.org/perlintro.html#Regular-expressions and quotemeta

my $start = ...; my $end = ...; my ( $between ) = $input =~ m/\Q$start\E(.+?)\Q$end\E/;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968880]
help
Chatterbox?
Discipulus was not the title a bit provoking? ;=)
[LanX]: I have a degree in cynism. ..
LanX is the PROVO-KING
[holli]: what's that smell?
[LanX]: good evening! :)
[Discipulus]: ProvoLanX? grin..

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-11-20 19:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (292 votes). Check out past polls.

    Notices?