Skip to content

2.1.0

Choose a tag to compare

@facelessuser facelessuser released this 30 Sep 01:37
· 349 commits to master since this release

2.1.0

  • NEW: Handle Unicode and byte notation in Re replace templates.
  • NEW: Rework algorithm to handle replace casing back references in Python 3.7 development builds in preparation for Python 3.7 release.
  • NEW: Add support for case back references when using the Regex module's subf and subfn.
  • NEW: Add new convenience method expandf to Regex that can take a format string and apply format style replaces.
  • NEW: Add FORMAT flag to compile_replace to apply format style replaces when applicable.
  • NEW: Add the same support that Regex has in relation to format style replacements to Re.
  • NEW: Compiled replacements are now immutable.
  • NEW: Various logic checking proper types and values.
  • FIX: Fix octal/group logic in Regex and Re.
  • FIX: Fix issue dealing with trailing backslashes in replace templates.