On Thu, Dec 27, 2018 at 05:47:46PM +0000, MRAB wrote: > On 2018-12-27 11:48, Ma Lin wrote: > [snip] > >2, We can't use regex module as a drop-in replacement: import regex as re > >IMHO, I would like to see regex module be adopted into stdlib after > >cutting off its "full case-folding" and "fuzzy matching" features. > > > I think that omitting full casefolding would be a bad idea; after all, > strings (in Python 3) have a .casefold method.
And I don't understand why omitting fuzzy matching is a good idea. If you don't want fuzzy matching, don't use it in your code. But why remove it? -- Steve _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/