($destdir = $srcdir) =~ s/^\Q$srcroot/$destroot/;
Check out perlre for more info on all the regular expression special characters. It's like a language all to itself in there! :-)
In reply to Re: regex matches with () in strings
by Tanktalus
in thread regex matches with () in strings
by robinbowes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |