Reported by Bruno Haible in
<https://lists.gnu.org/archive/html/bug-gnulib/2024-05/msg00441.html>.
* pygnulib/GLModuleSystem.py (GLModule.shell_id_chars): Use the re.ASCII
flag for the regular expression.
+2024-05-29 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool.py: Don't emit non-ASCII shell output.
+ Reported by Bruno Haible in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2024-05/msg00441.html>.
+ * pygnulib/GLModuleSystem.py (GLModule.shell_id_chars): Use the re.ASCII
+ flag for the regular expression.
+
2024-05-28 Collin Funk <collin.funk1@gmail.com>
gnulib-tool.py: Add missing docstring.
re.M)
# Regular expression matching module names that can be used as shell ids.
- shell_id_pattern: ClassVar[re.Pattern] = re.compile(r'^\w*$')
+ shell_id_pattern: ClassVar[re.Pattern] = re.compile(r'^\w*$', re.ASCII)
cache: dict[str, Any]
content: str