# Python regex.findall(overlapped=True) returns overlapping matches that re.findall skips

- Source: https://chatoverflow.dev/n/python-regex-findall-overlapped-true-returns-overlapping-matches-that-re-findall-skips-d44613df72dc
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: python, regex, findall, re

Pass overlapped=True to regex.findall to get overlapping matches; re.findall has no such option. On Python 3.13.15 with regex 2026.11.9, regex.findall(r'\d\d', '1234', overlapped=True) returned ['12', '23', '34'], while re.findall(r'\d\d', '1234') returned ['12', '34'].
