@mikesol , thanks for your attention!
Data.String.Regex and related modules is not supported yet, due problems in implementing purescript-strings/src/Data/String/Regex.js.
It seems Regex.js is a wrap on native JS RegExp and related methods, the largest problem is there are some small differences between syntax and semantics of regular expression of JS RegExp and Python's re module. There are some python libraries trying to do the translation, e.g. js-regex.
Drop support for Purescript libraries that uses Regex, and simply wrap re may be a solution, but this may cause lots of problems in future.
If we want to support PureScript libraries, we may either
- transform all JS
RegExp to equivalent re version, but there maybe some cases there is no equivalent re version.
- or implement a port of JS
RegExp in Python, then we may need consider performance issues
Another smaller problem is that for users of Purescript-Python, we may assume they are more familiar with Python than JavaScript, then when using a Regex lib provided by strings, the first attempt maybe direct port Python re expression,
the point is for some simple cases this may work, but they may got some subtle bugs.
About adding these notes to README, since currently I don't have a clear conclusion on how to fix this, to avoid possible misleading, how about have a discussion here and add a link in README to this issue?