summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2020-01-26 10:04:31 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2020-01-26 10:05:53 -0800
commitc8fcabf24546e77dc5bd0cb1e206e8114809c810 (patch)
tree50381b0050c3887a33ef0c6aaf7fef518fdfe7c1 /src
parent2e9a153b26da820da5b731261ed9ca437c0212a3 (diff)
downloademacs-c8fcabf24546e77dc5bd0cb1e206e8114809c810.tar.gz
Correct regexp for flags in `format' doc string
* src/editfns.c (Fformat): Use the correct regexp for describing the flags in a %-sequence (place the hyphen last).
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 4e35784e554..3f1b3aa4b75 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -3031,7 +3031,7 @@ width, and precision specifiers, as follows:
%<field><flags><width><precision>character
where field is [0-9]+ followed by a literal dollar "$", flags is
-[+ #-0]+, width is [0-9]+, and precision is a literal period "."
+[+ #0-]+, width is [0-9]+, and precision is a literal period "."
followed by [0-9]+.
If a %-sequence is numbered with a field with positive value N, the