- or download this
for ( 'A_TAG_HSSL_LBA_1', 'A_TAG_HSSL_LBAB_1' ) {
if( ! /A_[A_Z0-9_]+/i) {
...
print "$_ matches\n";
}
}
- or download this
A_TAG_HSSL_LBA_1 matches
A_TAG_HSSL_LBAB_1 is not matching
- or download this
/^ # start of string
A_ # must start "A_"
...
$ # end of string
/ix # allow spaces and comments inside regexp
# and ignore case
- or download this