Compare commits

1 Commits
1.1 ... main

4 changed files with 70 additions and 18 deletions

View File

@@ -1,3 +1,53 @@
-------------------------------------------------------------------
Thu Jan 9 16:03:02 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 2024.11.06:
* Git issue 546: Partial match not working in some instances
with non-greedy capture
- from 2024.9.14:
* Reverted to actions/download-artifact@v3 and
actions/upload-artifact@v3 in main.yml because GitHub Actions
failed when using them.
- from 2024.9.13:
* Updated to actions/upload-artifact@v4 in main.yml.
- from 2024.9.12:
* Updated to actions/download-artifact@v4 in main.yml.
- from 2024.9.11:
* Updated to Unicode 16.0.0.
- from 2024.7.24:
* Git issue 539: Bug: Partial matching fails on a simple example
- from 2024.6.22:
* Git issue 535: Regex fails Unicode 15.1 GraphemeBreakTest due
to missing new GB9c rule implementation
-------------------------------------------------------------------
Thu Jun 6 20:28:06 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2024.5.15:
* fix hangs with fuzzy and optionals
* Updated for Python 3.13.
-------------------------------------------------------------------
Thu May 2 08:57:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2024.4.28:
* Git issue 527: `VERBOSE`/`X` flag breaks `\N` escapes
-------------------------------------------------------------------
Sat Apr 20 07:43:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
- updatge to 2024.4.16:
* Git issue 525: segfault when fuzzy matching empty list
* The escape function no longer escapes \x00. It's not necessary.
Inline flags can now be turned off and apply to what follows.
Added \R to match line endings.
-------------------------------------------------------------------
Mon Dec 4 11:37:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2023.10.10:
* Updated to Unicode 15.1.0.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 7 08:18:52 UTC 2023 - Johannes Kastl <kastl@b1-systems.de> Thu Sep 7 08:18:52 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
@@ -40,25 +90,25 @@ Mon Mar 27 07:36:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2023.3.23: - update to 2023.3.23:
* Backtracking failure matching regex * Backtracking failure matching regex
* Limit running time for failing fullmatch * Limit running time for failing fullmatch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 9 18:55:17 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Wed Nov 9 18:55:17 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- update to 2022.10.31 - update to 2022.10.31
* Updated text for supported Unicode and Python versions. * Updated text for supported Unicode and Python versions.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 16 18:28:51 UTC 2022 - Dirk Müller <dmueller@suse.com> Fri Sep 16 18:28:51 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2022.9.13: - update to 2022.9.13:
* update to unicode 15.0 * update to unicode 15.0
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 12 20:17:19 UTC 2022 - Dirk Müller <dmueller@suse.com> Mon Sep 12 20:17:19 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 2022.9.11: - update to 2022.9.11:
* fix issue 474: regex has no equivalent to re.Match.groups() for captures * fix issue 474: regex has no equivalent to re.Match.groups() for captures
* fix segmentation fault when using conditional pattern (issue 479) * fix segmentation fault when using conditional pattern (issue 479)
* use \v for vertical spacing * use \v for vertical spacing
@@ -69,7 +119,7 @@ Sun Jul 17 08:17:55 UTC 2022 - Dirk Müller <dmueller@suse.com>
* Fix Emoji classified as letter * Fix Emoji classified as letter
* Revisit compilation flag to prevent adding a single explicitly compiled regex to cache * Revisit compilation flag to prevent adding a single explicitly compiled regex to cache
* Fix Scoped inline flags 'a', 'u', and 'L' affecting global flags * Fix Scoped inline flags 'a', 'u', and 'L' affecting global flags
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 14 22:03:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Tue Jun 14 22:03:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
@@ -88,7 +138,7 @@ Sun Aug 1 09:30:05 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 2021.7.6: - update to 2021.7.6:
* drop-in replacement for python re * drop-in replacement for python re
* fix fuzzy character restrictions not applying to insertions * fix fuzzy character restrictions not applying to insertions
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 9 14:40:45 UTC 2021 - Dirk Müller <dmueller@suse.com> Sun May 9 14:40:45 UTC 2021 - Dirk Müller <dmueller@suse.com>
@@ -105,14 +155,14 @@ Sat Mar 13 14:14:36 UTC 2021 - Dirk Müller <dmueller@suse.com>
* Fix Unexpected behavior in fuzzy matching with limited character set * Fix Unexpected behavior in fuzzy matching with limited character set
* clock() calls for timeout cause slowdown in Docker * clock() calls for timeout cause slowdown in Docker
* Update lis of supported Python versions * Update lis of supported Python versions
* licensing change to Apache-2.0 * licensing change to Apache-2.0
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 7 04:29:20 UTC 2020 - John Vandenberg <jayvdb@gmail.com> Wed Oct 7 04:29:20 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to 2020.9.27 - Update to 2020.9.27
* Fuzzy-matching fixes * Fuzzy-matching fixes
* Fix Memory Error in regex.findall * Fix Memory Error in regex.findall
* Added \h as an alias to [[:blank:]]. * Added \h as an alias to [[:blank:]].
* Improved performance of string sets. * Improved performance of string sets.
@@ -146,7 +196,7 @@ Wed Jun 5 10:52:20 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 2019.06.05 - Update to 2019.06.05
* Updated for Python 3.8. * Updated for Python 3.8.
* Updated to Unicode 12.1.0. * Updated to Unicode 12.1.0.
* For fullmatch, added check for end/start of string for * For fullmatch, added check for end/start of string for
RE_OP_SUCCESS in try_match. RE_OP_SUCCESS in try_match.
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-regex # spec file for package python-regex
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-regex Name: python-regex
Version: 2023.8.8 Version: 2024.11.6
Release: 0 Release: 0
Summary: Alternative regular expression module for Python Summary: Alternative regular expression module for Python
License: Apache-2.0 License: Apache-2.0
@@ -26,6 +26,7 @@ Group: Development/Languages/Python
URL: https://github.com/mrabarnett/mrab-regex URL: https://github.com/mrabarnett/mrab-regex
Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
@@ -49,10 +50,10 @@ An alternate regex implementation. It differs from "re" in that
%setup -q -n regex-%{version} %setup -q -n regex-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check
@@ -63,7 +64,8 @@ export PYTHONDONTWRITEBYTECODE=1
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt
%doc README.rst %doc README.rst
%doc docs/* %doc docs
%{python_sitearch}/* %{python_sitearch}/regex
%{python_sitearch}/regex-%{version}.dist-info
%changelog %changelog

BIN
regex-2023.8.8.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
regex-2024.11.6.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.