From: Mattias EngdegÄrd Date: Sun, 26 Jan 2020 18:04:31 +0000 (-0800) Subject: Correct regexp for flags in `format' doc string X-Git-Tag: emacs-27.0.90~93 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8fcabf245;p=emacs.git 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). --- 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