1
1
mirror of https://github.com/mrabarnett/mrab-regex.git synced 2025-10-05 20:02:39 +02:00

Removed semicolon after 'else' in 'munge_name'.

This commit is contained in:
Matthew Barnett
2023-05-03 18:27:06 +01:00
parent 797b57a4ac
commit 9f03255c92
4 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
Version: 2023.5.5
Removed semicolon after 'else' in 'munge_name'.
Version: 2023.5.4
Fixed pyproject.toml and setup.py.

View File

@@ -23179,7 +23179,7 @@ Py_LOCAL_INLINE(RE_STATUS_T) add_repeat_guards(PatternObject* pattern, RE_Node*
repeat_info = &pattern->repeat_info[node->values[0]];
/* Removing guard here to fix issue 494 and prevent
* regression of issue 495.
* regression of issue 495.
*/
/* repeat_info->status |= RE_STATUS_BODY; */
@@ -26218,7 +26218,7 @@ void munge_name(char* name, char* munged) {
while (*name) {
if (*name == ' ' || *name == '_' || *name == '-')
++name;
else;
else
*munged++ = toupper(*name++);
}

View File

@@ -241,7 +241,7 @@ __all__ = ["cache_all", "compile", "DEFAULT_VERSION", "escape", "findall",
"VERSION1", "X", "VERBOSE", "W", "WORD", "error", "Regex", "__version__",
"__doc__", "RegexFlag"]
__version__ = "2.5.127"
__version__ = "2.5.128"
# --------------------------------------------------------------------
# Public interface.

View File

@@ -7,7 +7,7 @@ with open('README.rst') as file:
setup(
name='regex',
version='2023.5.4',
version='2023.5.5',
description='Alternative regular expression module, to replace re.',
long_description=long_description,
long_description_content_type='text/x-rst',