fix for a problem in perl 5.8.4
This commit is contained in:
parent
c7b08bf91a
commit
d7171e5d49
1 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ These functions are available from this package:
|
|||
our $parenthesis = qr /\( # Start with '(',
|
||||
(?: # Followed by
|
||||
(?>[^()]+) # Non-parenthesis
|
||||
|(??{ $parenthesis }) # Or a balanced parenthesis block
|
||||
|(??{ $::parenthesis }) # Or a balanced parenthesis block
|
||||
)* # zero or more times
|
||||
\)/x; # Ending with ')'
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ our $parenthesis = qr /\( # Start with '(',
|
|||
our $nestedMacro = qr /(\^ # Start with carat
|
||||
([^\^;()]+) # And one or more none-macro characters -tagged-
|
||||
((?: # Followed by
|
||||
(??{ $parenthesis }) # a balanced parenthesis block
|
||||
(??{ $::parenthesis }) # a balanced parenthesis block
|
||||
|(?>[^\^;]) # Or not a carat or semicolon
|
||||
# |(??{ $nestedMacro }) # Or a balanced carat-semicolon block
|
||||
)*) # zero or more times -tagged-
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue