We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
showPattern
Better docs for Pattern module (fixed in 1.3.2), fix showPattern to round-trip.
Pattern
It is claimed that showPattern round-trips, but does not:
>>> getAllTextMatches ("a \" \\" =~ "[a]") :: [String] ["a"] >>> let parse = either (error . show) fst . parseRegex >>> let pp' = showPattern . parse >>> getAllTextMatches ("a \" \\" =~ pp' "[a]") :: [String] ["a","\""]
It uses Show PatternSet which adds " coming from empty components of PatternSet:
Show PatternSet
"
PatternSet
regex-tdfa/lib/Text/Regex/TDFA/Pattern.hs
Lines 102 to 109 in c5b8f54
The text was updated successfully, but these errors were encountered:
andreasabel
No branches or pull requests
Better docs for(fixed in 1.3.2), fixPattern
moduleshowPattern
to round-trip.It is claimed that
showPattern
round-trips, but does not:It uses
Show PatternSet
which adds"
coming from empty components ofPatternSet
:regex-tdfa/lib/Text/Regex/TDFA/Pattern.hs
Lines 102 to 109 in c5b8f54
The text was updated successfully, but these errors were encountered: