[lintian] 01/01: doc: Fix regex in example
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit 91ac539537b09a158b1f67c14f4e79aafd9dc0d6
Author: Niels Thykier <niels@thykier.net>
Date: Tue Sep 9 19:51:59 2014 +0200
doc: Fix regex in example
Signed-off-by: Niels Thykier <niels@thykier.net>
---
doc/tutorial/Lintian/Tutorial/WritingChecks.pod | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/tutorial/Lintian/Tutorial/WritingChecks.pod b/doc/tutorial/Lintian/Tutorial/WritingChecks.pod
index 26cc919..db31247 100644
--- a/doc/tutorial/Lintian/Tutorial/WritingChecks.pod
+++ b/doc/tutorial/Lintian/Tutorial/WritingChecks.pod
@@ -183,7 +183,7 @@ This was the first half. Lets look at checking the value. Multi-arch
fields can (currently) be one of "no", "same", "foreign" or "allowed".
One way of checking this would be using the regex:
- /^no|same|foreign|allowed$/
+ /^(?:no|same|foreign|allowed)$/
An alternative route is using a table like:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: