A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/047597.html below:

[Python-Dev] Re: re.split on empty patterns

[Python-Dev] Re: re.split on empty patterns [Python-Dev] Re: re.split on empty patternsNick Coghlan ncoghlan at iinet.net.au
Wed Aug 11 07:46:25 CEST 2004
Mike Coleman wrote:
> The "empty okay" concept, on the other hand, seems to have to do specifically
> with how re.split uses the pattern.  That is, in the process of finding
> matches decides (or not) to discard the empty matches.

Hmm, to me, this suggests 'split_empty = False' as your new parameter
for re.split.

Cheers,
Nick.



-- 
Nick Coghlan               |  Eugene, Oregon
Email: ncoghlan at email.com  |             USA


More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4