summaryrefslogtreecommitdiff
path: root/base/data/regexes.sprop
diff options
context:
space:
mode:
authorBen Culkin <scorpress@gmail.com>2020-12-14 18:25:51 -0500
committerBen Culkin <scorpress@gmail.com>2020-12-14 18:25:51 -0500
commit6dcadc360dafdd12142d53327f44579379a4c9dd (patch)
tree96f80b90a556591d919e4e1c114b74a7173e15c4 /base/data/regexes.sprop
parentf36b9fddf29236424c16336c15c040a203261608 (diff)
Add regex for linereading
Adds an additional regex I came up with for reading indented blocks, as well as comment blocks
Diffstat (limited to 'base/data/regexes.sprop')
-rw-r--r--base/data/regexes.sprop3
1 files changed, 3 insertions, 0 deletions
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