06.12.19 19:49, Random832 пише:
If match objects are too hard to use, maybe they should be made more user-friendly? What about adding str and iterable semantics to match objects so it can be used as str(re.search(...)); tuple(re.search(...)); a, b = re.search(...)?
What is semantic of these operations? _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/XJ6GYQ6IHVTT5OI5UU2KLLVRVEY22QFI/ Code of Conduct: http://python.org/psf/codeofconduct/