summaryrefslogtreecommitdiff
path: root/BJC-Utils2/data/regexes.sprop
diff options
context:
space:
mode:
authorbjculkin <bjculkin@mix.wvu.edu>2017-04-06 16:18:22 -0400
committerbjculkin <bjculkin@mix.wvu.edu>2017-04-06 16:18:22 -0400
commitb912d84b1afe05e5f079bd6edef2f0d74020f9aa (patch)
treea090a3aa65b2f3f93f4b6659a96bfc541d4463b9 /BJC-Utils2/data/regexes.sprop
parent0be891100df83544c89651c815105832e3e11eb9 (diff)
More properties
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