From: Dietmar Maurer Date: Tue, 24 Jul 2018 08:02:00 +0000 (+0200) Subject: extractapi.pl: correctly store regex as string X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=commitdiff_plain;h=7c07e752c50bd43996ef7f698f61ac4ab40f0376;ds=sidebyside extractapi.pl: correctly store regex as string --- diff --git a/extractapi.pl b/extractapi.pl index 8a650df..b2ec7b0 100755 --- a/extractapi.pl +++ b/extractapi.pl @@ -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}); }