Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
awit-frameworks
awit-perl-toolkit
Commits
43082156
Commit
43082156
authored
May 15, 2019
by
Nigel Kukard
Browse files
Merge branch 'nkfix' into 'v1.0.x'
Fixed warning for unescaped braces See merge request
!25
parents
944361e4
a8dbc329
Pipeline
#3701
passed with stages
in 1 minute and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lib/AWITPT/Util.pm
View file @
43082156
...
...
@@ -602,7 +602,7 @@ sub parseMacro
my
$res
=
"";
# Loop with macro items
while
((
my
$match
=
$rest
)
=~
/([^%]+)?(?:\%{([a-zA-Z_0-9]+)(?:\(([0-9]+)(?:,([0-9]+))?\))?})(.*)/
)
{
while
((
my
$match
=
$rest
)
=~
/([^%]+)?(?:\%
\
{([a-zA-Z_0-9]+)(?:\(([0-9]+)(?:,([0-9]+))?\))?
\
})(.*)/
)
{
my
(
$before
,
$macro
,
$n
,
$m
)
=
(
$
1
,
$
2
,
$
3
,
$
4
);
$rest
=
$
5
;
...
...
Write
Preview
Supports
Markdown
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