Skip to content

Commit

Permalink
Updating comment
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba committed Nov 14, 2024
1 parent e0ef607 commit 0c500f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/check_search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c500f1

Please sign in to comment.