We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be09da commit 7897da8Copy full SHA for 7897da8
1 file changed
tools/convert.pl
@@ -71,7 +71,10 @@ sub sanitize {
71
$copy{$key} = perl_to_python($resolved);
72
}
73
elsif (ref($val) eq 'Regexp') {
74
- $copy{$key} = "$val";
+ my $regex_str = "$val";
75
+ # Konvertiere Perl's (?^:...) zu Python's (?:...)
76
+ $regex_str =~ s/\(\?\^:/(?:/g;
77
+ $copy{$key} = $regex_str;
78
79
else {
80
$copy{$key} = sanitize($val);
0 commit comments