1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove unused variable 'regex'

This commit is contained in:
kenta-s 2017-01-18 08:22:59 +09:00
parent a8a673f2e4
commit 0732ea7136

View file

@ -187,7 +187,7 @@ module ActionView
unless separator.empty?
text.split(separator).each do |value|
if value.match(regex)
regex = phrase = value
phrase = value
break
end
end