lib/jldrill/model/items/edict/ComparisonFunctors.rb in jldrill-0.5.1.7 vs lib/jldrill/model/items/edict/ComparisonFunctors.rb in jldrill-0.6.0.1
- old
+ new
@@ -1,8 +1,9 @@
+# encoding: utf-8
module JLDrill
class StartsWith
- TO_A_RE = Regexp.new("",nil,'U')
+ TO_A_RE = Regexp.new("",nil,"u")
def initialize(string)
@startsWithArray = string.split(TO_A_RE)
if @startsWithArray.nil?
@startsWithArray = []