You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the expression "[--@]" matches any of the characters between '-' and '@' inclusive
However, ("@" =~ "[--@]") results in
Explict error in module Text.Regex.TDFA.String :
Text.Regex.TDFA.String died: parseRegex for Text.Regex.TDFA.String failed:"[--@]" (line 1, column 4):
unexpected A dash is in the wrong place in a bracket
expecting "]"
CallStack (from HasCallStack):
error, called at .\Text\Regex\TDFA\Common.hs:29:3 in regex-tdfa-1.2.3.1-DVMXTrvIFHgDCky8s203W0:Text.Regex.TDFA.Common)
The text was updated successfully, but these errors were encountered:
As specified in
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap09.html
However,
("@" =~ "[--@]")
results inThe text was updated successfully, but these errors were encountered: