From 4afe27c6da9cf37ca3666ff95c5cb096e03fb20b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Fri, 2 Sep 2022 21:02:01 +0200 Subject: Regex expression instance --- src/Parser.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Parser.hs') 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 -- cgit v1.2.3