From 7e5052ca584689d07331a80a02fc4ea883c0322b Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Wed, 19 Sep 2018 17:42:39 -0300 Subject: Add named parameters You can now use named prefix parameters in FORMAT strings. Well, none of the directives support them yet, but they are accepted in the directives, and it'll be easy enough to add the support --- clformat/data/formats.sprop | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'clformat/data') diff --git a/clformat/data/formats.sprop b/clformat/data/formats.sprop index b6eac35..a32ca2e 100644 --- a/clformat/data/formats.sprop +++ b/clformat/data/formats.sprop @@ -19,10 +19,25 @@ clFormatDirective ~(?%1$s)?(?%2$s?)(?:%3$s) ## * A single character preceded by a single quote ## * The letter V (or v) ## * The character # -clFormatPrefix (?:(?:[-+]?\d+|'.|[Vv]|#|%|".*?(?