Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
76a5d281
Commit
76a5d281
authored
Nov 11, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Template.pm: add regexp fixes
parent
cd6911da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
Template.pm
Bugzilla/Template.pm
+25
-0
No files found.
Bugzilla/Template.pm
View file @
76a5d281
...
...
@@ -313,6 +313,31 @@ sub quoteUrls {
~
get_bug_link
(
$1
,
$1
,
{
user
=>
$user
})
~
egmx
;
# # make eterbug number link to bug
# $bug_re = qr/eterbug$s*\#?$s*([0-9]+)/i;
# # hack: user prev comment_re
# $text =~ s~($bug_re)
# ~ # We have several choices. $1 here is the link, and $2-4 are set
# # depending on which part matched
# get_bug_link($2, $1, { user => $user })
# ~egx;
#
# # make # number link to bug
# #$bug_re = qr/[^&]\#$s*([0-9]+)/i;
# $bug_re = qr/\#$s*([0-9]+)/i;
# #my $bug_ren = qr/\QTOG\E$s*\#?$s*([0-9]+)/i;
# # hack: user prev comment_re
# $text =~ s~($bug_re)
# ~ # We have several choices. $1 here is the link, and $2-4 are set
# # depending on which part matched
# get_bug_link($2, $1, { user => $user })
# ~egx;
#
#
# # Old duplicate markers. These don't use $bug_word because they are old
# # and were never customizable.
# $text =~ s~(?<=^\*\*\*\ This\ bug\ has\ been\ marked\ as\ a\ duplicate\ of\ )
# Now remove the encoding hacks in reverse order
for
(
my
$i
=
$#things
;
$i
>=
0
;
$i
--
)
{
$text
=~
s/\x{FDD2}($i)\x{FDD3}/$things[$i]/eg
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment