- or download this
$Test_String = <STDIN> ;
if($Test_String =~ /$Regex_Pattern/){
...
} else {
print "false";
}
- or download this
1110110001 => 00111, 10101
7 21
3 * 7 = 21, accept!
- or download this
use bigint;
...
}
$Regex_Pattern = qr/(?{ check() })/;
- or download this
(?(condition)yes-pattern|no-pattern)
- or download this
$Regex_Pattern = qr/^(?(?{ check() }) ^ | (*FAIL) )/x;
- or download this
'^(?(?{c()})^|(*F))'
- or download this
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord
}map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,