multiline docstring fixed
previously the regex was meant to deal with CRLF but the parantheses were
included in the exclusion. This removed that and multiline docstring now
consumes string until newline. The same change is also added to the
PREDICATE rule.
@@ -119,11 +119,11 @@ type_spec -> (NativeDataTypes | reference)
NAME -> [a-zA-Z_][-a-zA-Z0-9_]*;
PATH -> /{[a-zA-Z0-9._-]+}:"/";
DIGITS -> [1-9][0-9]*;
-TEXT -> [^(\r?\n)#]+;
+TEXT -> [^\n]+;
TEXT_LINE -> /{\s* ( [^\s:(] [^(#\r\n:]* [^#\s\r\n(:] )};
APPNAME -> (pkg=@):"." > (app=@):"::" > APPNAME_PART;
APPNAME_PART -> (/{[a-zA-Z_][-\w]*(?:[-\t\_]*\w+)*} | QSTRING)+;
-PREDICATE -> [^(\r?\n):]+;
+PREDICATE -> [^\n:]+;
SHORTCUT -> "...";
WRAPPED_SHORTCUT -> COMMENT* \n* SHORTCUT COMMENT_NO_NL?;
HTTP_VERBS -> /{\b(GET | POST | DELETE | PUT | PATCH)\b};
