my @results; push @results, $1 while /(~?.)/g; [download]
In reply to Re: How do I match this without lookbehind? by runrig in thread How do I match this without lookbehind? by tedv