Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
re.match value
#3
Thanks for your answer, it works !

I'm trying to understand.
On docs I see:
search ⇒ find something anywhere in the string and return a match object.
match ⇒ find something at the beginning of the string and return a match object

I'm not sure to understand why it doesn't work with my first solution ? (even without the \)

Thanks!
Alex
Reply


Messages In This Thread
re.match value - by enigma619 - Apr-24-2020, 02:00 PM
RE: re.match value - by snippsat - Apr-24-2020, 02:34 PM
RE: re.match value - by enigma619 - Apr-24-2020, 02:45 PM
RE: re.match value - by bowlofred - Apr-24-2020, 03:52 PM
RE: re.match value - by snippsat - Apr-24-2020, 04:30 PM

Forum Jump:

User Panel Messages

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