[Python-ideas] Give regex operations more sugar

Mike Miller python-ideas at mgmiller.net
Wed Jun 13 13:11:23 EDT 2018


On 2018-06-13 06:33, Michel Desmoulin wrote:
> 
> I often wished for findall and sub to be string methods, so +1 on that.
> 

Agreed, and there are a few string functions that could be extended (to take a 
sequence) to handle more cases that push folks to regex, perhaps earlier than 
they should.

Some string functions accept sequences to match on, some don't, if memory serves.

-Mike


More information about the Python-ideas mailing list