diff options
author | NARUSE, Yui <naruse@airemix.jp> | 2023-02-01 22:49:19 +0900 |
---|---|---|
committer | NARUSE, Yui <naruse@airemix.jp> | 2023-02-01 22:49:54 +0900 |
commit | 269c5d408fd3ab83731b8eae0fbc13387eece306 (patch) | |
tree | ab501cc7ad686ac0c83b5d8aeffc413c1e7a5aba /tool | |
parent | 62146d3ceece27a2dc7e0e945d292a4d28e82beb (diff) | |
download | ruby-269c5d408fd3ab83731b8eae0fbc13387eece306.tar.gz |
fix to work with the case default issue is used
Diffstat (limited to 'tool')
-rwxr-xr-x | tool/redmine-backporter.rb | 2 |
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 |