Sep-14-2019, 07:54 PM
re.match
returns a match object or None
if the string doesn't match the pattern.I don't think you should obsess about doing things in a single line.
re module: want a regexhttps://python-forum.io/Thread-re-module-want-a-regex
|
|
Messages In This Thread |
re module: want a regexhttps://python-forum.io/Thread-re-module-want-a-regex - by Skaperen - Sep-14-2019, 03:51 AM
RE: re module: want a regex - by Gribouillis - Sep-14-2019, 08:24 AM
RE: re module: want a regex - by Skaperen - Sep-14-2019, 07:48 PM
RE: re module: want a regex - by ndc85430 - Sep-14-2019, 07:54 PM
RE: re module: want a regex ... - by Skaperen - Sep-19-2019, 10:54 PM
|