Yes, quotemeta will escape the metacharaters in a string to cancel their special regex meaning.
my $inputName = quotemeta 'B[0]';
In reply to Re: Regular expression & raw data
by Eily
in thread Regular expression & raw data
by luckysummer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |