Releases: facelessuser/backrefs
Releases · facelessuser/backrefs
5.7
5.6.post1
5.6.post1
- FIX: Update project metadata to indicate Python 3.12 support.
5.6
5.6
- NEW: Officially support Python 3.12.
5.5.1
5.5.1
- FIX: Fix some flag issues in
bregex
.
5.5
5.5
- NEW:
\e
and\h
have both been deprecated in 6.0. Please migrate to using\x1b
and\p{Horiz_Space}
in
their respective place. - FIX: Fix flag issue with
sub
functions.
5.4
5.4
- NEW: Officially support Python 3.11.
- NEW: Add to Bre compatible custom Unicode properties
\p{Vert_Space}
and\p{Horiz_Space}
that match Regex's new
custom properties. This helps to expose vertical space shorthand that was not previously present.
5.3
5.3
- NEW: Drop Python 3.6 support.
- NEW: Update build backend to use Hatch.
5.2
5.2
- NEW: Add static typing.
- FIX: Re format replacement captures behave more like Regex in that you can technically index into the captures of
a given group in Re, but in Re there is only ever one or zero captures. Documentation was never really explicit on
what one should expect if indexing a group in Re occurred. The documentation seemed to vaguely insinuate that it would
behave like a Regex capture list, just with one or zero values in the list. In reality, the value was a simple string
orNone
. This caused a bug in some cases where you'd haveNone
inserted for a group if a group was optional, but
referenced in the replacement template. Now the implementation matches the description in the documentation with the
documentation now being more explicit about behavior. - FIX: Match Re and Regex handling when doing a non-format replacement that references a group that is present in
the search pattern but has no actual captures. Such a case should not fail, but simply return an empty string for the
group. - FIX: Format replacements that that have groups with no captures will yield an empty string as the only capture as
long as the user does not try to index into any captures as there are no actual captures. This behavior was a bug in
Regex that we duplicated and should now be fixed in the latest Regex (mrabarnett/mrab-regex#439
) as well as in
Backrefs.
5.1
5.1
- NEW: Add support for Python 3.10.
5.0.1
5.0.1
- FIX: Fix wheel names.