正则表达式 – Haskell:正则表达式和Data.Text

前端之家收集整理的这篇文章主要介绍了正则表达式 – Haskell:正则表达式和Data.Text前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
当处理大量的文本数据时,建议使用Data.Text而不是使用 haskells本机字符串.检查,完成.但正则表达式呢?是否有可用的正则表达式库,专门用于Data.Text?据我所见,所有正则表达式库正在使用 @L_404_1@本机字符串或更糟糕的CStrings.
我不知道Haskell,但阅读 documentation总是一个好主意,无论编程语言.

To use an extended and very rich family of functions for working with
Unicode text (including normalization,regular expressions,
non-standard encodings,text breaking,and locales),see the text-icu
package: 07001

更准确地说Data.Text.ICU.Regex

原文链接:https://www.f2er.com/regex/357102.html

猜你在找的正则表达式相关文章