|more useful options|
Re^2: Capture Lookaheadby Anonymous Monk
|on Jul 26, 2005 at 02:11 UTC||Need Help??|
First, I must say I think I've seen what I want to achieve here in some other post but I don't know how to find it now - was posted several months ago.
An example would be:
String of: ABCDEFGHIJK
and, on one pass, I would like to capture the substrings (of some arbitrary length)
ABCDEF BCDEFG CDEFGH DEFGHI EFGHIJ FGHIJKFurther, on every pass, I want to decrease the length of the strings to be captured by 1 until the outer while loop bails out.
Thanks for the note on my error concerning pos $str.
Hope this makes the problem clearer.