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

Re: Split on regex, don't match partial regex

by GrandFather (Sage)
on Sep 28, 2012 at 03:25 UTC ( #996104=note: print w/replies, xml ) Need Help??


in reply to Split on regex, don't match partial regex

* is greedy. Change it to *? to get a non-greedy match.

True laziness is hard work
  • Comment on Re: Split on regex, don't match partial regex

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://996104]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2017-11-19 01:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (278 votes). Check out past polls.

    Notices?