Add support for regular expression data (#3441)

This commit is contained in:
John Gardner
2017-02-03 06:08:20 +11:00
committed by Brandon Black
parent d761658f8b
commit e7b5e25bf8
11 changed files with 145 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
-\*-
(?:
\s*
(?= [^:;\s]+ \s* -\*-)
|
(?:
.*?[;\s]
|
(?<=-\*-)
)
mode\s*:\s*
)
([^:;\s]+)
(?=
[\s;] | (?<![-*]) -\*-
)
.*?
-\*-