79760219

Date: 2025-09-09 19:33:40
Score: 0.5
Natty:
Report link

Perl!

#!/usr/bin/perl

use strict;
use warnings;

my $ex1 = '#S(5,Hello)';

$ex1 =~ /\#S\((\d+),(\w*)\)/;

if ($1 == length($2)) {
    print "match\n";
} else {
    print "does not match\n";
}

Essentially just extract the number and the text in subpatterns, then compare them.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Wilson