emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 c8fcabf: Correct regexp for flags in `format' doc string


From: Paul Eggert
Subject: emacs-27 c8fcabf: Correct regexp for flags in `format' doc string
Date: Sun, 26 Jan 2020 13:06:24 -0500 (EST)

branch: emacs-27
commit c8fcabf24546e77dc5bd0cb1e206e8114809c810
Author: Mattias EngdegÄrd <address@hidden>
Commit: Paul Eggert <address@hidden>

    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 4e35784..3f1b3aa 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]