strip parenthesis on one line
This commit is contained in:
parent
215d552942
commit
3370363c8d
1 changed files with 1 additions and 2 deletions
|
|
@ -147,8 +147,7 @@ sub process {
|
|||
next if ($searchString =~ /^\d+$/); # don't process ^0; ^1; ^2; etc.
|
||||
next if ($searchString =~ /^\-$/); # don't process ^-;
|
||||
if ($params ne "") {
|
||||
$params =~ s/^\(//; # remove opening parenthesis
|
||||
$params =~ s/\)$//; # remove trailing parenthesis
|
||||
$params =~ s/(^\(|\)$)//g; # remove parenthesis
|
||||
$params = &process($params); # recursive process params
|
||||
}
|
||||
if ($session{config}{macros}{$searchString} ne "") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue