r11090 - /scripts/qa/qareport-chlog.cgi
tincho-guest at users.alioth.debian.org
tincho-guest at users.alioth.debian.org
Mon Dec 10 15:44:40 UTC 2007
Author: tincho-guest
Date: Mon Dec 10 15:44:40 2007
New Revision: 11090
URL: http://svn.debian.org/wsvn/?sc=1&rev=11090
Log:
Modified bugs regex to catch more ocurrences.
Modified:
scripts/qa/qareport-chlog.cgi
Modified: scripts/qa/qareport-chlog.cgi
URL: http://svn.debian.org/wsvn/scripts/qa/qareport-chlog.cgi?rev=11090&op=diff
==============================================================================
--- scripts/qa/qareport-chlog.cgi (original)
+++ scripts/qa/qareport-chlog.cgi Mon Dec 10 15:44:40 2007
@@ -50,15 +50,11 @@
# replace bug-numbers with links
$text =~ s{
( # leading
- ^ # start of string
- |\s+ # or space
- |[\[(] # or bracket/paren
+ ^ # start of string
+ |\W # or non-word
)
\#(\d+) # followed by a bug ID
- ( # trailing
- [\]\-)\s<>] # bracket/hyphen/paren/space
- |$ # or text end
- )
+ \b # word boundary
}
{$1<a href="http://bugs.debian.org/$2">#$2</a>$3}xgm;
# treat text as multi-line
More information about the Pkg-perl-cvs-commits
mailing list