Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Please comment on my regular expression.

by suaveant (Parson)
on Jun 24, 2009 at 14:35 UTC ( #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? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2022-10-05 16:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (24 votes). Check out past polls.

    Notices?