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?36018259326181119::7469931::02543211688837
Thanks.In reply to Regular Expressions by y8
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |