Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: regexp quandry

by LAI (Hermit)
on Jun 20, 2003 at 13:25 UTC ( [id://267562]=note: print w/replies, xml ) Need Help??


in reply to regexp quandry

A couple of things I missed while helping you out earlier:

Instead of:

|p.i.

it should be

|p\.i\.

Otherwise, each period will match any character instead of a literal period.

Also, the modifiers at the end, instead of /gx, should be /gxi to enable case-insensitive matching.

LAI

__END__

Log In?
Username:
Password:

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

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

    No recent polls found