]> ruderich.org/simon Gitweb - fcscs/fcscs.git/commitdiff
add missing match group in regex config example
authorSimon Ruderich <simon@ruderich.org>
Sat, 23 Jan 2016 20:26:49 +0000 (21:26 +0100)
committerSimon Ruderich <simon@ruderich.org>
Sat, 23 Jan 2016 20:26:49 +0000 (21:26 +0100)
bin/fcscs

index abe9712ea3449e2383933df563a59064144679ee..25a530207447007fd5a17ee8d3eecbcb08fe4b8f 100755 (executable)
--- a/bin/fcscs
+++ b/bin/fcscs
@@ -958,7 +958,7 @@ my %setting = (
 Example:
 
     # Select all non-whitespace characters when searching for paths.
-    $config{regex}{path} = qr{\S+};
+    $config{regex}{path} = qr{(\S+)};
 
 =cut
 my %regex = (