yi-editor / yi

The Haskell-Scriptable Editor
GNU General Public License v2.0
1.51k stars 203 forks source link

Migrate from regex-tdfa to regexes provided by text-icu. #716

Open ethercrow opened 9 years ago

ethercrow commented 9 years ago

Note that https://hackage.haskell.org/package/text-icu-0.7.0.0/docs/Data-Text-ICU-Regex.html provides thread-unsafe and IO-based API. https://hackage.haskell.org/package/text-icu-0.7.0.0/docs/Data-Text-ICU.html provides pure API.

Because pcre regexes, unicode support and ability to ditch String are nice things.

rgrinberg commented 9 years ago

Just a warning though, icu is a pain in the ass to install on windows.

ethercrow commented 9 years ago

Well, we already depend on it.

Fuuzetsu commented 9 years ago

Most of things are a pain in the ass to install on Windows. If demand is high enough, someone will put together either a binary distribution or some instructions.