We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 28ff28a commit cbd0eceCopy full SHA for cbd0ece
scripts/sipify.pl
@@ -343,9 +343,9 @@ sub fix_annotations {
343
$line =~ s/SIP_VIRTUALERRORHANDLER\(\s*(\w+)\s*\)/\/VirtualErrorHandler=$1\//;
344
345
# combine multiple annotations
346
- # https://regex101.com/r/uvCt4M/3
+ # https://regex101.com/r/uvCt4M/4
347
do {no warnings 'uninitialized';
348
- $line =~ s/\/(\w+(=\w+)?)\/\s*\/(\w+(=\w+)?)\//\/$1,$3\//;
+ $line =~ s/\/([\w,]+(=\w+)?)\/\s*\/([\w,]+(=\w+)?)\//\/$1,$3\//;
349
(! $3) or dbg_info("combine multiple annotations -- works only for 2");
350
};
351
0 commit comments