From 0c500f14ac3f8e918a49c79c87f612b0b8b0d1da Mon Sep 17 00:00:00 2001 From: Caio <117518+caiosba@users.noreply.github.com> Date: Wed, 13 Nov 2024 22:47:40 -0300 Subject: [PATCH] Updating comment --- lib/check_search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/check_search.rb b/lib/check_search.rb index ed0cc0d2b..96e7445b3 100644 --- a/lib/check_search.rb +++ b/lib/check_search.rb @@ -58,7 +58,7 @@ def initialize(options, file = nil, team_id = Team.current&.id) def adjust_keyword_filter unless @options['keyword'].blank? - # This regex removes all characters except letters, numbers, and whitespace in any language - stripping out special characters can improve match results + # This regex removes all characters except letters, numbers, hashtag and whitespace in any language - stripping out special characters can improve match results @options['keyword'].gsub!(/[^[:word:]\s#]/, ' ') # Set fuzzy matching for keyword search, right now with automatic Levenshtein Edit Distance