summaryrefslogtreecommitdiff
path: root/base/data
diff options
context:
space:
mode:
Diffstat (limited to 'base/data')
-rw-r--r--base/data/regexes.sprop8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/data/regexes.sprop b/base/data/regexes.sprop
index 89c5b4f..fed984a 100644
--- a/base/data/regexes.sprop
+++ b/base/data/regexes.sprop
@@ -44,11 +44,11 @@ fpLeader [\x00-\x20]*[+-]?(?:NaN|Infinity|
## * A single character preceded by a single quote
## * The letter V (or v)
## * The character #
-clFormatPrefix (?:[-+]?\d+|'\S|[Vv]|#)
+clFormatPrefix (?:(?:[-+]?\d+|'.|[Vv]|#|%)?)
## Match a format string modifier
-## A modifier is either : or @, or both in either order
-clFormatModifier (?:@|:|@:|:@)
+## A modifier is any combination of $, :, * and @; duplicates don't matter though
+clFormatModifier (?:[@$:*]+)
## Matches a directive name.
## A directive name is either
@@ -58,4 +58,4 @@ clFormatName (?:(?<name>[\S&&[^/]])|(?:/(?<funcname>[\S&&[^/]]+)/))
##############################################
# Miscellaneous validation regular expressions
##############################################
-intLiteral \A[+\-]\d+\Z \ No newline at end of file
+intLiteral \A[+\-]\d+\Z