Python Forum
re module: want a regexhttps://python-forum.io/Thread-re-module-want-a-regex
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
re module: want a regexhttps://python-forum.io/Thread-re-module-want-a-regex
#4
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.
Reply


Messages In This Thread
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

Possibly Related Threads…
Thread Author Replies Views Last Post
  importing a module given a path to the file Skaperen 8 1,365 Nov-04-2023, 07:03 PM
Last Post: Skaperen
  where module is loaded from Skaperen 1 758 Jul-26-2023, 05:38 AM
Last Post: Gribouillis
  looking fo documentation for module files Skaperen 39 97,192 Aug-09-2022, 07:37 AM
Last Post: Gribouillis
  Mixed types of numeric data in the statistics module stevendaprano 2 1,322 May-23-2022, 02:15 AM
Last Post: stevendaprano
  a module can be found but another cannot Skaperen 7 2,721 Oct-25-2021, 12:16 AM
Last Post: Skaperen
  Eric6 No module named 'serial' BvdP4Py 0 2,725 Jul-30-2021, 08:38 AM
Last Post: BvdP4Py
Lightbulb Feedback needed! Controlled entropy in programs with 'ordered' module grandrew 0 1,426 Jul-27-2021, 01:49 AM
Last Post: grandrew
  PIL module and Python 2.7 under Windows 10 Lad 3 2,189 Jul-06-2021, 07:39 PM
Last Post: Lad
  visual studio code python how to get source code of import module definitian umen 2 3,978 Jun-13-2020, 06:20 PM
Last Post: umen
  finding a mismatched triple-quote in a huge module Skaperen 1 1,614 Apr-15-2020, 04:29 AM
Last Post: UGuntupalli

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020