keyword_search 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,9 +2,11 @@ module KeywordSearch
2
2
 
3
3
  class Tokenizer < Dhaka::Tokenizer
4
4
 
5
+
6
+ # TODO: Add further character support; this is just for initial release
5
7
  letters = ('a'..'z').to_a
6
8
  numbers = ('0'..'9').to_a
7
- extras = %w|_ - '|
9
+ extras = %w|_ - ' / \ [ ] { } 1 @ # $ % ^ & * ( )|
8
10
  printables = letters + numbers + extras
9
11
  whitespace = [' ']
10
12
  quotes = ['"']
@@ -7,7 +7,7 @@ end
7
7
 
8
8
  module KeywordSearch
9
9
 
10
- VERSION = '1.0.2'
10
+ VERSION = '1.0.3'
11
11
 
12
12
  class << self
13
13
  def search(input_string, definition=nil, &block)
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: keyword_search
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.2
6
+ version: 1.0.3
7
7
  date: 2007-01-08 00:00:00 -07:00
8
8
  summary: Generic support for extracting GMail-style search keywords/values from strings
9
9
  require_paths: