Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Find/Chng every <any>

by nvivek (Vicar)
on Sep 04, 2010 at 03:56 UTC ( #858844=note: print w/ replies, xml ) Need Help??


in reply to Re: Find/Chng every <any>
in thread Find/Chng every <any>

It should be [^<>]+ not [^<>]* because * means 0 or more occurrence of previous character in regular expression of Perl.


Comment on Re^2: Find/Chng every <any>
Select or Download Code
Re^3: Find/Chng every <any>
by Anonymous Monk on Sep 05, 2010 at 03:18 UTC
    Unless, of course, "any text" can include an empty string.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (11)
As of 2015-07-06 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (71 votes), past polls