summaryrefslogtreecommitdiff
path: root/BJC-Utils2/data/regexes.sprop
diff options
context:
space:
mode:
Diffstat (limited to 'BJC-Utils2/data/regexes.sprop')
-rw-r--r--BJC-Utils2/data/regexes.sprop9
1 files changed, 7 insertions, 2 deletions
diff --git a/BJC-Utils2/data/regexes.sprop b/BJC-Utils2/data/regexes.sprop
index bece4d3..6c40e67 100644
--- a/BJC-Utils2/data/regexes.sprop
+++ b/BJC-Utils2/data/regexes.sprop
@@ -15,5 +15,10 @@ unicodeStringEscape u[0-9a-fA-F]{4}
## Match an unescaped quote in a string.
unescapedQuote (?<!\\)\"
-## Match characters that aren't escapes.
-nonStringEscape [^\\\"]+ \ No newline at end of file
+## Match one or more characters that aren't part of an escape or a quote.
+nonStringEscape [^\\\"]+
+
+##################################
+# Miscellaneous validation regexes
+##################################
+intLiteral \A[+\-]\d+\Z \ No newline at end of file