mirror of
https://github.com/schoebel/mars
synced 2025-03-11 07:47:41 +00:00
marsadm: fix macro parsing
This commit is contained in:
parent
51e469e756
commit
62ce5c0a3b
@ -3175,7 +3175,7 @@ for (my $i = 0; $i < 20; $i++) {
|
||||
$match_inner = qr"$match_nobrace(?:$match_brace$match_nobrace)*"s;
|
||||
$match_brace = qr"\{$match_inner\}"s;
|
||||
}
|
||||
my $match_fn_head = qr"\%([\w-]*)(?=\{)"s;
|
||||
my $match_fn_head = qr"\%([^\\\s{}()\[\]]*)(?=\{)"s;
|
||||
my $match_fn = qr"$match_fn_head(?:\{($match_inner)\})"s;
|
||||
|
||||
sub _control_macro {
|
||||
|
Loading…
Reference in New Issue
Block a user