diff options
Diffstat (limited to 'BJC-Utils2/data')
| -rw-r--r-- | BJC-Utils2/data/formats.sprop | 27 |
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 |
