diff options
Diffstat (limited to 'base/data')
| -rw-r--r-- | base/data/formats.sprop | 15 | ||||
| -rw-r--r-- | base/data/regexes.sprop | 21 |
2 files changed, 0 insertions, 36 deletions
diff --git a/base/data/formats.sprop b/base/data/formats.sprop index 72f6e74..f8bd7f6 100644 --- a/base/data/formats.sprop +++ b/base/data/formats.sprop @@ -10,21 +10,6 @@ ## 2) The expression for the delimiter delimSeparatedList (?:%1$s(?:%2$s%1$s)*) -###################################### -# CL format string regular expressions -###################################### - -## Format a regular expression for matching a potential CL format directive -## Has two parts -## 1) The optional set of prefix parameters -## 2) The optional modifier -## Captures three things -## 1) The prefix parameters -## 2) The modifiers -## 3) The directive name -## 4) The function name, if the directive was a function call. -clFormatDirective ~(?<params>%1$s)?(?<modifiers>%2$s?)(?:%3$s) - #################################################### # Format strings for handling double-quoted strings. #################################################### diff --git a/base/data/regexes.sprop b/base/data/regexes.sprop index fed984a..f1e6787 100644 --- a/base/data/regexes.sprop +++ b/base/data/regexes.sprop @@ -34,27 +34,6 @@ fpExponent [eE][+-]? ## NOTE: The incomplete parts are finished by where it is inserted. fpLeader [\x00-\x20]*[+-]?(?:NaN|Infinity| -###################################### -# CL format string regular expressions -###################################### - -## Matches a format string prefix parameter -## A prefix parameter is one of -## * A signed decimal number -## * A single character preceded by a single quote -## * The letter V (or v) -## * The character # -clFormatPrefix (?:(?:[-+]?\d+|'.|[Vv]|#|%)?) - -## Match a format string modifier -## A modifier is any combination of $, :, * and @; duplicates don't matter though -clFormatModifier (?:[@$:*]+) - -## Matches a directive name. -## A directive name is either -## 1) A single, non-whitespace, non-/ character -## 2) A name enclosed in /'s -clFormatName (?:(?<name>[\S&&[^/]])|(?:/(?<funcname>[\S&&[^/]]+)/)) ############################################## # Miscellaneous validation regular expressions ############################################## |
