Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Please comment on my regular expression.

by suaveant (Parson)
on Jun 24, 2009 at 14:35 UTC ( [id://774416]=note: print w/replies, xml ) Need Help??


in reply to Please comment on my regular expression.

The only thing I might suggest is specifying the delimiter that is show before the TAG as well, just to help make sure you don't match anything in the middle of the text (though it may be the case that with this data that is impossible...)

You probably might as well make that other .+ a .+? just to save the regexp engine unnecessary work.

                - Ant
                - Some of my best work - (1 2 3)

  • Comment on Re: Please comment on my regular expression.

Log In?
Username:
Password:

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

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

    No recent polls found