2 ms·
> Sometimes you just check for a match re.match vs re.search
by est 7y ago
> Sometimes you just check for a match
re.match vs re.search
- deleted 7y ago[deleted]
- Liquid_Fire 7y agore.search is different. re.match matches from the beginning of the string, while re.search matches from anywhere in the string.