Skip to main content
j-o's user avatar
j-o's user avatar
j-o's user avatar
j-o
  • Member for 10 years, 2 months
  • Last seen more than 10 years ago
awarded
awarded
awarded
awarded
accepted
revised
Print dict with varying-length lists
deleted 5 characters in body
Loading…
asked
Loading…
comment
Regular expressions - match only specified string length
In fact a caret isn't needed with re.match at the beginning of the expression in line 3 because .match only matches a pattern occurring at the beginning of a string. re.search would require the opening caret.
comment
Regular expressions - match only specified string length
(Of course there should be 'import re' at the top
Loading…
awarded
awarded
awarded
Loading…
awarded