objective c - How to do diacritic insensitive matching with NSRegularExpression? -


is possible perform diacritic insensitive matching using nsregularexpression? options regularexpressionwithpattern doesn't seem provide this.

you remove diacritics , work on cleaned string, like:

tmpstring = [[[nsstring alloc] initwithdata:[realstring datausingencoding:nsasciistringencoding allowlossyconversion:yes] encoding:nsasciistringencoding] autorelease]; 

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -