[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39290: [PATCH] Correct regexp for flags in 'format' doc string
From: |
Mattias Engdegård |
Subject: |
bug#39290: [PATCH] Correct regexp for flags in 'format' doc string |
Date: |
Sun, 26 Jan 2020 15:21:02 +0100 |
The doc string for 'format' contains
where field is [0-9]+ followed by a literal dollar "$", flags is
[+ #-0]+, width is [0-9]+, and precision is a literal period "."
followed by [0-9]+.
The spec for flags isn't a correct regexp; the hyphen should be last. This
matters, because people copy it into their code without thinking (observed in
the wild).
Patch acceptable for emacs-27?
0001-Correct-regexp-for-flags-in-format-doc-string.patch
Description: Binary data
- bug#39290: [PATCH] Correct regexp for flags in 'format' doc string,
Mattias Engdegård <=