lafcadio 0.6.5 → 0.6.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lafcadio.rb +1 -1
- data/lib/lafcadio.rb~ +1 -1
- data/lib/lafcadio/query.rb +3 -3
- metadata +2 -2
data/lib/lafcadio.rb
CHANGED
data/lib/lafcadio.rb~
CHANGED
data/lib/lafcadio/query.rb
CHANGED
@@ -415,11 +415,11 @@ module Lafcadio
|
|
415
415
|
|
416
416
|
def get_regexp
|
417
417
|
if @matchType == PRE_AND_POST
|
418
|
-
Regexp.new(@searchTerm)
|
418
|
+
Regexp.new( @searchTerm, Regexp::IGNORECASE )
|
419
419
|
elsif @matchType == PRE_ONLY
|
420
|
-
Regexp.new(@searchTerm.to_s + "$")
|
420
|
+
Regexp.new( @searchTerm.to_s + "$", Regexp::IGNORECASE )
|
421
421
|
elsif @matchType == POST_ONLY
|
422
|
-
Regexp.new("^" + @searchTerm)
|
422
|
+
Regexp.new( "^" + @searchTerm, Regexp::IGNORECASE )
|
423
423
|
end
|
424
424
|
end
|
425
425
|
|
metadata
CHANGED