summaryrefslogtreecommitdiff
path: root/BJC-Utils2/data/formats.sprop
diff options
context:
space:
mode:
authorbjculkin <bjculkin@mix.wvu.edu>2017-04-07 16:06:18 -0400
committerbjculkin <bjculkin@mix.wvu.edu>2017-04-07 16:06:18 -0400
commitf4baa925b0b5590bc8b12ba5f32e0218384c8efc (patch)
tree6c8f0eceaeaabc807e8cfd17e13bba86b8981970 /BJC-Utils2/data/formats.sprop
parent7692fa077a84972231948354d3f0de99f27a9ad7 (diff)
Add simple toggle values
Diffstat (limited to 'BJC-Utils2/data/formats.sprop')
-rw-r--r--BJC-Utils2/data/formats.sprop27
1 files changed, 26 insertions, 1 deletions
diff --git a/BJC-Utils2/data/formats.sprop b/BJC-Utils2/data/formats.sprop
index d58dba7..9388e02 100644
--- a/BJC-Utils2/data/formats.sprop
+++ b/BJC-Utils2/data/formats.sprop
@@ -107,4 +107,29 @@ fpNumber (?:%1$s|%2$s|%3$s)
##
## NOTE: The parens are not mismatched.
## The other one is contributed by the leader.
-fpDouble %1$1(?:%2$s[fFdD]?))[\x00-\x20]* \ No newline at end of file
+fpDouble %1$1(?:%2$s[fFdD]?))[\x00-\x20]*
+
+#########################################
+# Format strings for handling delimiters.
+#########################################
+
+## Format a raw delimiter
+## The parts are
+## 1) A regular expression
+##
+## This matches just the provided regular expression.
+rawDelim (?:%1$s)|
+
+## Format a repeating delimiter
+## The parts are
+## 1) A string.
+##
+## This matches one or more occurances of the provided string as a literal.
+multipleDelim (?:\Q%1$s\E)+|
+
+## Format a simple delimiter
+## The parts are
+## 1) A string.
+##
+## This matches one occurrence of the provided string as a literal.
+simpleDelim (?:\Q%1$s\E)| \ No newline at end of file