[Tutor] Multi-line statements with comments
Sat, 29 Dec 2001 08:26:09 -0800
>>> mystr = ("the" # another way to comment
" " # a multiline string
"end") # check it out!
However, the above "discovery" is exactly what the
docs suggest for defining a regular expression across
multi-lines -- something I thought was acknowledged
at the top of this thread (not sure):
re.compile("[A-Za-z_]" # letter or underscore
"[A-Za-z0-9_]*" # letter, digit or underscore
So I haven't added anything new here. Oh well.