mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-05 12:25:32 -04:00
Allow spaces in patterns
This commit is contained in:
parent
f6f09c54bc
commit
711add74ef
@ -69,7 +69,7 @@ module Rename
|
||||
if ['[', ']', '{', '}', '|'].includes?(char) && !chars.empty?
|
||||
string = chars.join
|
||||
if !pattern.nil?
|
||||
pattern.push Variable.new string
|
||||
pattern.push Variable.new string.strip
|
||||
elsif !group.nil?
|
||||
group.push string
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user