From 3dad78e33ae869236698cd1fde19be85217e5b30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Thu, 5 Oct 2017 14:11:36 +0300 Subject: [PATCH] Fix issue processing script The script now properly processes repeating commas inside double quotes. --- Documentation/process.pl | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/process.pl b/Documentation/process.pl index fd2f4b3db..69a3107c4 100755 --- a/Documentation/process.pl +++ b/Documentation/process.pl @@ -6,10 +6,12 @@ while (<>) { # Replace commas that are inside double quotes - s/("[^"]*),([^"]*")/$1$2/g; - + while (s/("[^"]*),([^"]*")/$1$2/g) + { + ; + } # Replace the double quotes themselves - s/"([^"]*)"/$1/g; + s/"//g; # Split the line and grab the issue number and description my @parts = split(/,/);