From 6dcadc360dafdd12142d53327f44579379a4c9dd Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Mon, 14 Dec 2020 18:25:51 -0500 Subject: Add regex for linereading Adds an additional regex I came up with for reading indented blocks, as well as comment blocks --- base/data/regexes.sprop | 3 +++ 1 file changed, 3 insertions(+) diff --git a/base/data/regexes.sprop b/base/data/regexes.sprop index f1e6787..53560c8 100644 --- a/base/data/regexes.sprop +++ b/base/data/regexes.sprop @@ -38,3 +38,6 @@ fpLeader [\x00-\x20]*[+-]?(?:NaN|Infinity| # Miscellaneous validation regular expressions ############################################## intLiteral \A[+\-]\d+\Z + +readerLineComments (?:#.*\R)* +readerLineBlock (\s*)\S.+\R(?:\1\s+\S.*\R)* \ No newline at end of file -- cgit v1.2.3