http://www.perlmonks.org?node_id=457984

y8 has asked for the wisdom of the Perl Monks concerning the following question:

Hello, all! Today I tryed to use this rx:

m/^(?:(\d+)|::)*\1$/

to catch some data from this string:

3601825932618111

Why perl gives me '1' in \1 at position 13-14? Probably, ^ don’t work?
And finally perl slows down at something like this:

36018259326181119::7469931::02543211688837

Thanks.