Repository navigation
3.0.0
3.0.0
Jan 20, 2018
- NEW: Added new
compilefunction 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
\efor escape character\x1bin both Re and Regex. - NEW: Add support for
\Rfor generic newlines in the Regex module (Regex only). - NEW: Support Unicode property form
\pPand\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
\Nin byte strings (characters out of range won't be included). - NEW: Add support for
\pand\Pin 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...\Ebehavior so it is applied first as a separate step. No longer avoids\Q...\Ein things like character groups or comments. - FIX: Flag related parsing issues in Regex and Re Python 3.6+.