P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | 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. Chris In reply to Re^2: Capture Lookahead
by Anonymous Monk
|
|