in reply to Re: mysteries of regex substring matching
in thread mysteries of regex substring matching

Same approach, but as a one liner:

DB<5> p 0123456789012345678901234567890123456789 DB<5> x / @{[ '(....)' x4 ]} (.+) /x 0 0123 1 4567 2 8901 3 2345 4 678901234567890123456789 DB<6>

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery