Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
PYTHON_VER: '3.10' # Python to run test/cibuildwheel
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-* cp311-*
CIBW_TEST_COMMAND: python -m unittest regex.test_regex

jobs:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
# manylinux2014 >=19.3 3.7.8+, 3.8.4+, 3.9.0+ 2.17 (2012-12-25)
# manylinux_x_y >=20.3 3.8.10+, 3.9.5+, 3.10.0+ x.y
# manylinux2010 images EOL on 2022-08-01, it doesn't support cp311.
CIBW_BUILD: cp36-* cp37-* cp38-* cp39-* cp310-*
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-*
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010
CIBW_ARCHS_LINUX: x86_64

Expand Down
10 changes: 0 additions & 10 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,16 +333,6 @@ Sometimes it's not clear how zero-width matches should be handled. For example,
>>> regex.sub('.*?', '|', 'test')
'|||||||||'

# Python 3.6 and earlier
>>> regex.sub('(?V0).*', 'x', 'test')
'x'
>>> regex.sub('(?V1).*', 'x', 'test')
'xx'
>>> regex.sub('(?V0).*?', '|', 'test')
'|t|e|s|t|'
>>> regex.sub('(?V1).*?', '|', 'test')
'|||||||||'

Added ``capturesdict`` (`Hg issue 86 <https://github.com/mrabarnett/mrab-regex/issues/86>`_)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down
4 changes: 4 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version: 2023.x

Stopped supporting Python 3.6.

Version: 2023.6.3

# Git issue 498: Conditional negative lookahead inside positive lookahead fails to match
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand All @@ -32,11 +31,11 @@
'Topic :: Text Processing',
'Topic :: Text Processing :: General',
],
python_requires='>=3.6',
python_requires='>=3.7',

package_dir={'regex': 'regex_3'},
py_modules=['regex.__init__', 'regex.regex', 'regex._regex_core',
'regex.test_regex'],
'regex.test_regex'],
ext_modules=[Extension('regex._regex', [join('regex_3', '_regex.c'),
join('regex_3', '_regex_unicode.c')])],
join('regex_3', '_regex_unicode.c')])],
)