Skip to content

Releases: facelessuser/backrefs

3.1.2

12 Feb 17:23
8fbb89f
Compare
Choose a tag to compare

3.1.2

Feb 12, 2018

  • FIX: Properly escape any problematic characters in Unicode tables.

3.1.1

12 Feb 02:05
dc5d3d4
Compare
Choose a tag to compare

3.1.1

  • FIX: bregex.compile now supports additional keyword arguments for named lists like bregex.compile_search does.

3.1.0

11 Feb 16:07
39e6741
Compare
Choose a tag to compare

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

10 Feb 00:36
85c034e
Compare
Choose a tag to compare

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

09 Feb 02:09
9511d2b
Compare
Choose a tag to compare

3.0.4

Feb 8, 2018

  • FIX: Formally enable Python 3.7 support.
  • FIX: Tweak to Unicode wide character handling.

3.0.3

28 Jan 21:04
Compare
Choose a tag to compare

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

23 Jan 06:26
d6b2d76
Compare
Choose a tag to compare

3.0.2

Jan 22, 2018

  • FIX: Bregex purge was calling Re's purge instead of Regex's purge.

3.0.1

21 Jan 18:32
864ff76
Compare
Choose a tag to compare

3.0.1

Jan 21, 2018

  • FIX: Do not accidentally \. as a group in replace strings (don't use isdigit 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

20 Jan 22:40
Compare
Choose a tag to compare

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

19 Jan 21:30
Compare
Choose a tag to compare
2.3.0rc1 Pre-release
Pre-release

Release candidate 1 for 2.3.0 ... will actually be released as 3.0.