For $CD value A_TAG_HSSL_LBA_1 it is giving "'A_TAG_HSSL_LBA_1' is not matching" as an output while it is matching the regular expression.c$CD = 'A_TAG_HSSL_LBA_1'; $t=$CD; if($t1 !~ /A_[A_Z0-9_]+/i) { print "$t is not matching\n"; } else { print "$t matches\n"; }
20070801 Janitored by Corion: Added code tags, as per Writeup Formatting Tips
In reply to Regular expression query by isha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |