On 02/05/18 07:21, Ken Hilton wrote:
Going back to the regex example, this is how it would look in that case:

     if re.match(exp, string){m}:
         print(m.group(0))

The various other options at least suggest that in some manner what is going on is an assignment. This really doesn't. Sorry, it's just too magic.

--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to