From: Frank Ch. Eigler Date: Fri, 12 Feb 2010 15:39:58 +0000 (-0500) Subject: PR11105 part 2a, fix buggy \\. in -r option regexp X-Git-Tag: release-1.2~201^2~2 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=cc9e5488d82b728e568bca1f8d6094856fc8e641;p=systemtap.git PR11105 part 2a, fix buggy \\. in -r option regexp --- diff --git a/main.cxx b/main.cxx index 2dba179f5..b5fdbc0cf 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;