Displaying 1 result from an estimated 1 matches for "_parse_value".
Did you mean:
  parse_value
  
2020 Jan 16
1
[PATCH 2/2] Win::Hivex::Regedit: Ignore comments
...+            # Ignore blank lines, headers, comments.
+            next if /^\s*(;.*)?$/;
 
             # .* is needed before Windows Registry Editor Version.. in
             # order to eat a possible Unicode BOM which regedit writes
@@ -193,7 +193,7 @@ sub reg_import
                 my $value = _parse_value ("", $1, $encoding);
                 croak (_parse_error ($_, $lineno)) unless defined $value;
                 push @newvalues, $value;
-            } elsif (/^\s*$/) { # blank line after values
+            } elsif (/^\s*(;.*)?$/) { # blank line after values
                 _merge_nod...