]> sourceware.org Git - systemtap.git/commitdiff
PR11105 part 2a, fix buggy \\. in -r option regexp
authorFrank Ch. Eigler <fche@elastic.org>
Fri, 12 Feb 2010 15:39:58 +0000 (10:39 -0500)
committerFrank Ch. Eigler <fche@elastic.org>
Fri, 12 Feb 2010 15:39:58 +0000 (10:39 -0500)
main.cxx

index 2dba179f5d4a2e4b1a5d6e43c5dc79f8b6bcd692..b5fdbc0cf659c19a74cb1d9fa075aec6618e6cce 100644 (file)
--- 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;
 
This page took 0.028865 seconds and 5 git commands to generate.