Re:Bootstrap 2.3 Released
by blowski on Friday February 08, 2013 @02:44AM
(#5186765)
Ctrl + F shows two. Time to update your regex-fu, or use simpler tools.
[ Parent
| on HN ]
re.findall() returns all non-overlapping matches. We need to use a positive lookahead on the third part of the pattern to stop it from consuming the non-character:
re.findall(r"[^a-zA-Z]([a-zA-Z]+)(?=[^a-zA-Z])", ..)