Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: This looks like someone sneezed and hit the keyboard

by ysth (Canon)
on Feb 03, 2004 at 16:59 UTC ( [id://326250]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: This looks like someone sneezed and hit the keyboard
in thread This looks like someone sneezed and hit the keyboard

Because for the match to succeed, one of the three (optA|optB|optC) options has to match. With the .* at the front, it will basically start at the end of the string and work backwards until it finds one of the alternates.

The \s? at the end is useless though (unless $& is used).

  • Comment on Re: Re: Re: This looks like someone sneezed and hit the keyboard

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found