diff --git a/python-regex.changes b/python-regex.changes index 3753e4a..62d54be 100644 --- a/python-regex.changes +++ b/python-regex.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 2 09:22:13 UTC 2017 - jengelh@inai.de + +- Specify in description what makes regex worthwhile to have. + Fix RPM group. + ------------------------------------------------------------------- Thu Aug 31 06:19:11 UTC 2017 - toddrme2178@gmail.com diff --git a/python-regex.spec b/python-regex.spec index 77d8644..971c17f 100644 --- a/python-regex.spec +++ b/python-regex.spec @@ -20,23 +20,27 @@ Name: python-regex Version: 2017.07.28 Release: 0 -Summary: Alternative regular expression module, to replace re +Summary: Alternative regular expression module for Python License: Python-2.0 -Group: Development/Libraries/Python +Group: Development/Languages/Python Url: https://bitbucket.org/mrabarnett/mrab-regex Source: https://files.pythonhosted.org/packages/source/r/regex/regex-%{version}.tar.gz BuildRequires: %{python_module devel} -BuildRequires: python3-testsuite BuildRequires: python-rpm-macros +BuildRequires: python3-testsuite %python_subpackages %description -This new regex implementation is intended eventually to -replace Python’s current re module implementation. +An alternate regex implementation. It differs from "re" in that -For testing and comparison with the current 're' module -the new implementation is in the form of a module called -'regex'. +* Zero-width matches are handled like in Perl and PCRE: + * ``.split`` will split a string at a zero-width match. + * ``.sub`` will handle zero-width matches correctly. +* Inline flags apply to the end of the group or pattern, and they can + be turned off. +* Nested sets and set operations are supported. +* Case-insensitive matches in Unicode use full case-folding by + default. %prep %setup -q -n regex-%{version}