summaryrefslogtreecommitdiff
path: root/base/data
diff options
context:
space:
mode:
authorBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-09-16 22:01:43 -0300
committerBenjamin J. Culkin <bjculkin@mix.wvu.edu>2018-09-16 22:01:43 -0300
commit941a5bcff34154cd8f236ec5b2348e4721242db1 (patch)
treea3aef17817ee17b7fee282507069e7bc4c4514e6 /base/data
parent3b0b96a00e667a50c1135f88e9b72d68af2474cc (diff)
More module refactoring
Diffstat (limited to 'base/data')
-rw-r--r--base/data/formats.sprop15
-rw-r--r--base/data/regexes.sprop21
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
##############################################