Re: Just curious: who is using Pike for what?
Chris Angelico <[email protected]>
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <CAPTjJmrW=FbmE1KtwpuRmbj1f-s_tsFqYeLyowNDgE9Xp+mEFg@mail.gmail.com> |
On Thu, Dec 15, 2016 at 3:10 AM, Jonas Walldén @ Pike importmöte för mailinglistan <[email protected]> wrote: > I've used similar constructs where the application holds mixed-case > data and the user should search with mixed-case words and I wish to > highlight the words in the source data while preserving original case. That's fair. I'm not sure how you'd do that; personally, I'd start with an NFKD or NFKC normalization on both the source and the search, plus a case fold, and both those operations can change the length of the string. This has to be a solved problem though. ChrisA