mirror of
https://git.proxmox.com/git/pve-client
synced 2025-10-04 00:55:46 +00:00
extractapi.pl: correctly store regex as string
This commit is contained in:
parent
5aa25367b7
commit
7c07e752c5
@ -23,7 +23,7 @@ sub remove_code_refs {
|
||||
if ($itemclass eq 'CODE') {
|
||||
undef $tree->{$k};
|
||||
} elsif ($itemclass eq 'Regexp') {
|
||||
$tree->{$k} = "$tree"; # return string representation
|
||||
$tree->{$k} = "$tree->{$k}"; # return string representation
|
||||
} else {
|
||||
remove_code_refs($tree->{$k});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user