Skip to content

Commit

Permalink
fix: search for names with umlauts (resolve #517)
Browse files Browse the repository at this point in the history
  • Loading branch information
muety committed Dec 15, 2023
1 parent 5395255 commit f542328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Frontend/src/database/SelectorBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class SelectorBuilder {
for (accentGroup of accentGroups) {
for (accent of accentGroup) {
if (content.includes(accent)) {
regex = regex.replace(accent, `[${accentGroup}]`);
regex = regex.replace(accent, `(?:${accentGroup.split('').join('|')})`);
}
}
}
Expand Down

0 comments on commit f542328

Please sign in to comment.