60 PerlMonks - Newest Nodes New nodes appearing on PerlMonks http://perlmonks.org/~perl2/bare/index.pl?node_id=30175 http://blogs.law.harvard.edu/tech/rss PerlMonks Newest Nodes XML Generator 961 PerlMonks Anonymous Monk 20260505110353 2026-05-05 21:03:53 Tue May 5 11:03:53 2026 30 rss,clean Tue May 5 11:03:53 2026 http://perlmonks.org/ Re: Regex question - identify which pattern comes first tybalt89 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167700 #!/usr/bin/perl use strict; # https://perlmonks.org/?node_id=11167676 use warnings; local $_ = 'AB ABDA DCACCB AAA BSAA CAAB ACS ABA DBA BA DASSABACA A'; my $first = /(BA<a href="?node=ABC">ABC</a>{2})|(C... note Tue, 05 May 2026 17:20:16 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167700 11167700 1172229 2026-05-05 13:20:16 tybalt89 Re^7: Regex question - identify which pattern comes first Anonymous Monk http://perlmonks.org/~perl2/bare/index.pl?node_id=11167699 > Sorry, I don't want to change the subject but can't help it. Best a new thread with full benchmark. Too much guessing needed... And consider use Scalar::Util qw(looks_like_number)... note Tue, 05 May 2026 15:18:16 +0000 http://perlmonks.org/~perl2/bare/index.pl?node_id=11167699 11167699 961 2026-05-05 11:18:16 Anonymous Monk