Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Dec 2, 2017

Also fixed searching patterns that could match an empty string.

This will fix bpo-852532, bpo-1647489, bpo-3262, bpo-25054, and maybe others.

The difference with #4471 is that in findall() and finditer() empty matches are included in the result only when not adjacent to a previous match for consistency with split() and sub().

https://bugs.python.org/issue25054

@serhiy-storchaka serhiy-storchaka added type-bug An unexpected behavior, bug, or error type-feature A feature request or enhancement labels Dec 2, 2017
@serhiy-storchaka serhiy-storchaka deleted the re-search-zerowidth-alt branch January 4, 2018 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge type-bug An unexpected behavior, bug, or error type-feature A feature request or enhancement

3 participants