diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2022-09-02 21:02:01 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2022-09-02 21:02:01 +0200 |
commit | 4afe27c6da9cf37ca3666ff95c5cb096e03fb20b (patch) | |
tree | 7a53dfde812823faff4a673c47214b760f66dd4a /src/Parser.hs | |
parent | 6e183bf63ad75da44a030d0d6f5060e8b745d2ca (diff) |
Regex expression instance
Diffstat (limited to 'src/Parser.hs')
-rw-r--r-- | src/Parser.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Parser.hs b/src/Parser.hs index 027c358..5a5ec28 100644 --- a/src/Parser.hs +++ b/src/Parser.hs @@ -259,6 +259,7 @@ someExpr = join inner <?> "expression" literal = label "literal" $ choice [ return . SomeExpr <$> integerLiteral , return . SomeExpr <$> quotedString + , return . SomeExpr <$> regex ] variable = label "variable" $ do |