diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2019-04-22 19:36:12 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2019-04-22 19:38:40 -0300 |
| commit | 9020cb3a0c5c8bd89b594c28b73181b69dd40fe3 (patch) | |
| tree | 6d195c4c298732073fc47a5153b11a9f9472a935 /clformat/data | |
| parent | df25a7e566e4a91eafbc30566cd19418ac977d02 (diff) | |
Fix named params.
Fix using named parameters. Previously they just did not work
Diffstat (limited to 'clformat/data')
| -rw-r--r-- | clformat/data/formats.sprop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clformat/data/formats.sprop b/clformat/data/formats.sprop index a32ca2e..ba1e83c 100644 --- a/clformat/data/formats.sprop +++ b/clformat/data/formats.sprop @@ -30,7 +30,7 @@ clFormatPrefixParam (?:(?:[-+]?\d+|'.|[Vv]|#|%|".*?(?<!\\)")?) ## Named parameters are indicated by a preceeding #, which is followed by a ## parameter name (any sequence of non-space, non-seperator (',', ':', ';') ## printing characters), a seperator (: or ;), then the value of the parameter -clFormatPrefix (?:(?:#[\S&&[^,:;]][:;]%1$s)|%1$s) +clFormatPrefix (?:(?:#[\S&&[^,:;]]+[:;]%1$s)|%1$s) ## Match a format string modifier ## A modifier is any combination of the following characters |
