diff --git a/setup.py b/setup.py index 78336b4..6cb3a3c 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ from setuptools.command.test import test as TestCommand -version = '0.8' +version = '0.9' def read(*parts): @@ -78,6 +78,8 @@ def read(*parts): 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: Implementation :: PyPy', 'Programming Language :: Python :: Implementation :: CPython', ], diff --git a/src/markey/underscore.py b/src/markey/underscore.py index 9535e27..0e21e7a 100644 --- a/src/markey/underscore.py +++ b/src/markey/underscore.py @@ -47,8 +47,8 @@ 'function_call': ruleset( rule(',', 'func_argument_delimiter'), rule('\s+', None), - rule(r"('([^'\\]*(?:\\.[^'\\]*)*)'|" - r'"([^"\\]*(?:\\.[^"\\]*)*)")(?s)', 'func_string_arg'), + rule(r"(?s)('([^'\\]*(?:\\.[^'\\]*)*)'|" + r'"([^"\\]*(?:\\.[^"\\]*)*)")', 'func_string_arg'), rule(r'([\w_]+)\s*=', bygroups('func_kwarg')) ) }