summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNARUSE, Yui <naruse@airemix.jp>2023-02-01 22:49:19 +0900
committerNARUSE, Yui <naruse@airemix.jp>2023-02-01 22:49:54 +0900
commit269c5d408fd3ab83731b8eae0fbc13387eece306 (patch)
treeab501cc7ad686ac0c83b5d8aeffc413c1e7a5aba /tool
parent62146d3ceece27a2dc7e0e945d292a4d28e82beb (diff)
fix to work with the case default issue is used
Diffstat (limited to 'tool')
-rwxr-xr-xtool/redmine-backporter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index a43d0776ab..44b44920d4 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -422,7 +422,7 @@ eom
},
"done" => proc{|args|
- raise CommandSyntaxError unless /\A(\d+)?(?: by (\h+))?(?:\s*-- +(.*))?\z/ =~ args
+ raise CommandSyntaxError unless /\A(\d+)?(?: *by (\h+))?(?:\s*-- +(.*))?\z/ =~ args
notes = $3
notes.strip! if notes
rev = $2