in reply to two regexes in one function call

I get 2, 6, 38 for both sequences.
$ perl -v This is perl, v5.10.0 built for x86_64-linux-gnu-thread-multi

What version of perl, and which OS?

Replies are listed 'Best First'.
Re^2: two regexes in one function call
by bobr (Monk) on Jul 28, 2009 at 15:51 UTC
    Sorry for that, it is ActiveState perl 5.10.0:
    perl -v This is perl, v5.10.0 built for MSWin32-x86-multi-thread (with 5 registered patches, see perl -V for more detail)