Fix #2894: Use [[:space:]] instead of \s in regexes.

This commit is contained in:
evazion
2018-09-20 19:13:31 -05:00
parent 29cdaddd86
commit 03abbd0683
24 changed files with 56 additions and 44 deletions

View File

@@ -33,13 +33,13 @@ module GoogleBigQuery
constraints << "updater_id = #{user_id.to_i}"
if added_tags
added_tags.scan(/\S+/).each do |tag|
added_tags.split.each do |tag|
constraints << add_tag_condition(tag)
end
end
if removed_tags
removed_tags.scan(/\S+/).each do |tag|
removed_tags.split.each do |tag|
constraints << remove_tag_condition(tag)
end
end