Download option for CS101 videos!
· · ·
The Problem Set 3-3 Optional improvement Scoreboard
Since the regular expression is looking for [0-9][0-9], why wouldn't it match for ['18,' 82', '21'] instead of just ['18', '21']?
Same with 12345, which I thought would result in ['12', '23', '34', '45']
Related to: Programming Languages - Lesson 1 - Concatenation
08 Jan, 20:48
From the python documentation for re.findall: "Return all non-overlapping matches of pattern in string, as a list of strings. " (emphasis added).
So I guess the answer is that that is the spec for the function.
13 Jan, 01:23
learn more about Markdown
Asked: 08 Jan, 20:48
Seen: 252 times
Last updated: 13 Jan, 01:23
RE concatenation Matching - spaces?
Unit 1.12 Question not working
Confused on how re.findall() works.
Finding two digit numbers
Regular expression concatenation question
Regex with '*' returns empty strings
Concatenation of regular expression strings
Czech & Slovak Facebook Group
where to store and pass current string alongside visited list?
alternative for STRING
How It Works
Help and FAQ
News & Media