From f4baa925b0b5590bc8b12ba5f32e0218384c8efc Mon Sep 17 00:00:00 2001 From: bjculkin Date: Fri, 7 Apr 2017 16:06:18 -0400 Subject: Add simple toggle values --- BJC-Utils2/data/formats.sprop | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'BJC-Utils2/data') 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 -- cgit v1.2.3