in reply to Regular expression & raw data
Yes, quotemeta will escape the metacharaters in a string to cancel their special regex meaning.
my $inputName = quotemeta 'B[0]';
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regular expression & raw data
by luckysummer (Novice) on Apr 07, 2017 at 09:32 UTC |