Skip to content

Commit

Permalink
mrb: fix "\\" handling
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 1, 2015
1 parent 5ccdf5b commit 55fe0b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mrb/scripts/scan_info_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ def index_searchable_regexp?(pattern)
return false
when "k", "g", "1", "2", "3", "4", "5", "6", "7", "8", "9"
return false
when "\\"
previous_char = nil
next
end
else
case char
Expand Down

0 comments on commit 55fe0b9

Please sign in to comment.