View Single Post
Old 11-24-2014, 05:54 PM   #21
Ephemerality
Addict
Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.Ephemerality ought to be getting tired of karma fortunes by now.
 
Posts: 328
Karma: 800105
Join Date: Feb 2013
Device: PW1
Quote:
Originally Posted by trekky0623 View Post
Stripping out soft hyphens would mess up the locations of the terms it finds.

But does C# support regex search? Why not search for aliases like this:

alias: Nessarose

search:N\x{00AD}*e\x{00AD}*s\x{00AD}*s\x{00AD}*a\x {00AD}*r\x{00AD}*o\x{00AD}*s\x{00AD}*e
Brilliant. I use regex in a few places already in a very similar fashion to this, not sure why I didn't think of trying it that way.
Thanks for your suggestion!

Last edited by Ephemerality; 11-25-2014 at 12:18 AM.
Ephemerality is offline   Reply With Quote