summaryrefslogtreecommitdiff
path: root/modules/Parser.pm
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-05-21 14:28:28 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-05-21 14:28:28 +0000
commitdb19162502f36d80bf636959140deb7b3f5c82e5 (patch)
tree25338fea3452f4909307ae51f6e29e2d9143da36 /modules/Parser.pm
parent9066e89d3aaca6e8168dc09702f29300c7531837 (diff)
downloadMPC-db19162502f36d80bf636959140deb7b3f5c82e5.tar.gz
ChangeLogTag: Wed May 21 09:25:16 2003 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'modules/Parser.pm')
-rw-r--r--modules/Parser.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/Parser.pm b/modules/Parser.pm
index b8cea113..e7533e0c 100644
--- a/modules/Parser.pm
+++ b/modules/Parser.pm
@@ -168,6 +168,15 @@ sub search_include_path {
}
+sub escape_regex_special {
+ my($self) = shift;
+ my($name) = shift;
+
+ $name =~ s/([\\\$\[\]\(\)\.])/\\$1/g;
+ return $name;
+}
+
+
# ************************************************************
# Virtual Methods To Be Overridden
# ************************************************************