lafcadio 0.6.5 → 0.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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