regex
regex copied to clipboard
regex: A Regular Expression Toolkit for regex-base
tutorial.regex.uk is NXDOMAIN
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.7 to 3.3.1. Release notes Sourced from actions/cache's releases. v3.3.1 What's Changed Reduced download segment size to 128 MB and timeout to 10 minutes by @kotewar in...
If a match target appears in an alternative an error is thrown: $ ghci Prelude> importText.RE.PCRE.String Prelude PCRE.String> r = [re|foo(A${here}(.*)B|C${there}(.*)D)|] Prelude PCRE.String> allMatches ("foobar" *=~ r) [] Prelude PCRE.String>...
If the regex contains a capture that isn't matched because it's in on a side of an alternation that is not used, a UTF-8 error is caused: ``` λ> "acd"...
When parsing a string (unicode) that contains '一' or '开', the matchRegexAll stopped looking for the pattern and terminates. Did minimum testing and found in the samples that the characters...
Here is an example that doesn't works when importing `Text.RE.PCRE.String`. I want to add commas `,` into a string of digits, separating it every three digits from right to left....
`convertMatchText @ Text.RE.ZeInternals.Types.Match` does perfectly correct captures' offsets and lengths, but `capturedText` is left intact ([at this very line you can see, it's put straight from input](https://github.com/iconnect/regex/blob/ff3e807801a9949f3fc56a86e9a5dd60d3edaa8c/Text/RE/ZeInternals/Types/Match.lhs#L207)), which may provoke...
Apparently there is a matchArray contains all the captures. But I could not see it exposed anywhere. So how should I get the sub matches (by parens)?
* `regex-pcre` has never worked with UTF8 data due to #141 (and it was [never guaranteed](http://hackage.haskell.org/package/regex-pcre-0.94.4/docs/Text-Regex-PCRE.html)). * Currently it is not working on Windows (at least on AppVeyor) and the...
Is anyone else getting the following error while building with Stack 2.1.1? ``` Unsupported tarball from /private/var/folders/j7/fgt692sj0wzg0lvrk86ctnxc0000gn/T/with-repo-archive53826/foo.tar: Invalid symbolic link from src to ., tried parsing .: last component is...