Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
The documentation for re.match(...) is explicit that it only matches at position 0. If you're asking this question, what you probably want is re.search(...) to match at any point within the string.
#2: Post edited
What you want is `re.search(...)`. The documentation is explicit that `re.match(...)` only matches at position 0.
- The documentation for `re.match(...)` is explicit that it only matches at position 0.
- If you're asking this question, what you probably want is `re.search(...)` to match at any point within the string.