lib/search_lingo/constants.rb in search_lingo-1.0.1 vs lib/search_lingo/constants.rb in search_lingo-1.0.2

- old
+ new

@@ -1,4 +1,9 @@ module SearchLingo - OPERATOR = /[[:alnum:]]+/ - TERM = /"[^"]+"|[[:graph:]]+/ + ## + # Pattern for matching modifiers within a token. + MODIFIER = /[[:alnum:]]+/ + + ## + # Pattern for matching terms within a token. + TERM = /"[^"]+"|[[:graph:]]+/ end