summaryrefslogtreecommitdiff
path: root/lib/chef_zero/solr/query/regexpable_query.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef_zero/solr/query/regexpable_query.rb')
-rw-r--r--lib/chef_zero/solr/query/regexpable_query.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef_zero/solr/query/regexpable_query.rb b/lib/chef_zero/solr/query/regexpable_query.rb
index 241e675..cebc011 100644
--- a/lib/chef_zero/solr/query/regexpable_query.rb
+++ b/lib/chef_zero/solr/query/regexpable_query.rb
@@ -21,8 +21,8 @@ module ChefZero
end
DEFAULT_FIELD = "text"
- WORD_CHARACTER = "[A-Za-z0-9@._':]"
- NON_WORD_CHARACTER = "[^A-Za-z0-9@._':]"
+ WORD_CHARACTER = "[A-Za-z0-9@._':\-]"
+ NON_WORD_CHARACTER = "[^A-Za-z0-9@._':\-]"
end
end
end