Skip to content

Commit

Permalink
#1156 - Fix search for non-ascii characters
Browse files Browse the repository at this point in the history
  • Loading branch information
KruziikG authored and moezbhatti committed Jul 28, 2018
1 parent 80e8a7e commit 355fa5e
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ import java.text.Normalizer
* Strip the accents from a string
*/
fun CharSequence.removeAccents() = Normalizer.normalize(this, Normalizer.Form.NFD)
.replace(Regex("[^\\p{ASCII}]"), "")

0 comments on commit 355fa5e

Please sign in to comment.