Regex substitution with unicode in Haskell

from blog Jonas Hietala, | ↗ original
While remaking the site I noticed my automatic embedding of bare youtube links sometimes didn’t work. The culprit was unicode in the document which the regex library couldn’t handle. Apparently while this would be supported by default by almost all modern languages it’s not the case with Haskell. I tried several regex libraries which either...