summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-02-12 10:39:58 -0500
committerFrank Ch. Eigler <fche@elastic.org>2010-02-12 10:39:58 -0500
commitcc9e5488d82b728e568bca1f8d6094856fc8e641 (patch)
treeef0315a968167d35c76009c403145207288dcdc9
parentc0d1b5a004b9949bb455b7dbe17b335b7cab9ead (diff)
downloadsystemtap-steved-cc9e5488d82b728e568bca1f8d6094856fc8e641.tar.gz
systemtap-steved-cc9e5488d82b728e568bca1f8d6094856fc8e641.tar.xz
systemtap-steved-cc9e5488d82b728e568bca1f8d6094856fc8e641.zip
PR11105 part 2a, fix buggy \\. in -r option regexp
-rw-r--r--main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cxx b/main.cxx
index 2dba179f..b5fdbc0c 100644
--- a/main.cxx
+++ b/main.cxx
@@ -768,7 +768,7 @@ main (int argc, char * const argv [])
case 'r':
if (client_options) // NB: no paths!
- assert_regexp_match("-r parameter from client", optarg, "^[a-z0-9_\\.-]+$");
+ assert_regexp_match("-r parameter from client", optarg, "^[a-z0-9_.-]+$");
setup_kernel_release(s, optarg);
break;