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 meditating upon the Monastery: (3)
As of 2018-02-26 02:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (316 votes). Check out past polls.

    Notices?