lib/regexp-examples/groups.rb in regexp-examples-0.3.0 vs lib/regexp-examples/groups.rb in regexp-examples-0.3.1

- old
+ new

@@ -65,9 +65,11 @@ def init_backslash_chars @chars.each_with_index do |char, i| if char == "\\" if BackslashCharMap.keys.include?(@chars[i+1]) @chars[i..i+1] = BackslashCharMap[@chars[i+1]] + elsif @chars[i+1] == 'b' + @chars[i..i+1] = "\b" elsif @chars[i+1] == "\\" @chars.delete_at(i+1) else @chars.delete_at(i) end