Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by choroba (Abbot)
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2014-12-28 17:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls