Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Global match and capture group in look-ahead == under-populated "@-"?

by LanX (Sage)
on Nov 19, 2022 at 15:29 UTC ( #11148260=note: print w/replies, xml ) Need Help??


in reply to Re: Global match and capture group in look-ahead == under-populated "@-"?
in thread Global match and capture group in look-ahead == under-populated "@-"?

> END: Match possible, but length=0 is smaller than requested=1, failing!

Dunno which length is meant, but I have a hunch, this is a mechanism to avoid endless loops restarting from the same pos.

edit

seems so: Repeated Patterns Matching a Zero-length Substring

> WARNING: Difficult material (and prose) ahead. ...

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^2: Global match and capture group in look-ahead == under-populated "@-"?
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2023-03-26 01:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?