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

Re^5: Using Look-ahead and Look-behind

by choroba (Canon)
on Oct 15, 2012 at 15:25 UTC ( #999103=note: print w/ replies, xml ) Need Help??

in reply to Re^4: Using Look-ahead and Look-behind
in thread Using Look-ahead and Look-behind

When * is changed to ^, it does not work either. Why are you changing it at all?

But jokes aside: The *? matches after seeing the first occurence of AATT, so there are no dupes. The {50,100} must match at least 50 times, so if there is AATT after say 25th character, it cannot stop there and must match a larger string.

Use YAPE::Regex::Explain to see what your regular expresions mean.

Moreover, you are replying to a node that is not related to your question.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Comment on Re^5: Using Look-ahead and Look-behind
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2015-10-09 00:47 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (232 votes), past polls