...which (in pre-5.10) will output empty strings every time.
With 5.10.0, /(?=(.*?))/g; outputs one empty string. And I can confirm the behavior reported by jds17 with /(?=(.*))/g.
In reply to Re: Regex bug in 5.10 (was: Using Look-ahead and Look-behind)
by almut
in thread Using Look-ahead and Look-behind
by Roy Johnson
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |