Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^3: Perl Regex Repeating Patterns

by Corion (Pope)
on Jan 18, 2012 at 08:01 UTC ( #948502=note: print w/replies, xml ) Need Help??

in reply to Re^2: Perl Regex Repeating Patterns
in thread Perl Regex Repeating Patterns

Putting a repeating quantifier after a capture simply does not do what you intend it to do, unless you only want to capture the last matched item in the repetition. And even then, it would be clearer in my opinion to explicitly state your assumption, by explicitly discarding the first repetitions:


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://948502]
[markong]: is there any mean to get notified if there are new replies in a thread?
[LanX]: Rat or newest nodes
[LanX]: I think there are RSS feeds you could use, but never used them
[Eily]: LanX how does the first link work, should I send a message to rat? :D

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2018-03-19 09:55 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (238 votes). Check out past polls.