Releases: facelessuser/backrefs
Releases · facelessuser/backrefs
3.1.2
3.1.2
Feb 12, 2018
- FIX: Properly escape any problematic characters in Unicode tables.
3.1.1
3.1.1
- FIX:
bregex.compile
now supports additional keyword arguments for named lists likebregex.compile_search
does.
3.1.0
3.1.0
- NEW: Start and end word boundary back references are now specified with
\m
and\M
like Regex does.\<
and\>
have been removed from Regex. - FIX: Escaped
\<
and\>
are no longer processed as Re is known to escape these in versions less than Python 3.7.
3.0.5
3.0.5
Feb 9, 2018
- FIX: Process non raw string equivalent escaped Unicode on Python 2.7.
- FIX: Compiled objects should return the pattern string, not the pattern object via the property
pattern
.
3.0.4
3.0.4
Feb 8, 2018
- FIX: Formally enable Python 3.7 support.
- FIX: Tweak to Unicode wide character handling.
3.0.3
3.0.3
Jan 28, 2018
- FIX: Compiled search and replace objects should be hashable.
- FIX: Handle cases where a new compiled pattern object is passed back through compile functions.
3.0.2
3.0.2
Jan 22, 2018
- FIX: Bregex purge was calling Re's purge instead of Regex's purge.
3.0.1
3.0.1
Jan 21, 2018
- FIX: Do not accidentally
\.
as a group in replace strings (don't useisdigit
string method). - FIX: Group names can start with
_
in replace strings. - FIX: Do not rely on Re for parsing string.
- FIX: Match behavior in
\g<group>
parsing better. - FIX: Raise some exceptions in a few places we weren't.
3.0.0
3.0.0
Jan 20, 2018
- NEW: Added new
compile
function that returns a pattern object that feels like Re's and Regex's pattern object. - NEW: Add some caching of search and replace patterns.
- NEW: Completely refactored algorithm for search and replace pattern augmentation.
- NEW: Add support for
\e
for escape character\x1b
in both Re and Regex. - NEW: Add support for
\R
for generic newlines in the Regex module (Regex only). - NEW: Support Unicode property form
\pP
and\PP
. - NEW: Add support for properly handling per group, scoped verbose flags in the preprocess step (Regex).
- NEW: Handle
(?#comments)
properly in the preprocess step. - NEW: Add support for
\N
in byte strings (characters out of range won't be included). - NEW: Add support for
\p
and\P
in byte strings (characters out of range won't be included). - NEW: Add support for
\<
and\>
word boundary escapes. - FIX: Missing block properties on narrow systems when the property starts beyond the narrow limit.
- FIX: Fix issue where an invalid general category could sometimes pass and return no characters.
- FIX: Fix
\Q...\E
behavior so it is applied first as a separate step. No longer avoids\Q...\E
in things like character groups or comments. - FIX: Flag related parsing issues in Regex and Re Python 3.6+.
2.3.0rc1
Release candidate 1 for 2.3.0 ... will actually be released as 3.0.