From c8fcabf24546e77dc5bd0cb1e206e8114809c810 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Sun, 26 Jan 2020 10:04:31 -0800 Subject: [PATCH] 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). --- src/editfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: %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 -- 2.39.2