Got totally stumped today by the difference between re.match() and re.search() in Python. 馃う
But seriously, why does re.match() even exist when it's just adding an implicit ^ in front of the regex?
Post
Got totally stumped today by the difference between re.match() and re.search() in Python. 馃う
But seriously, why does re.match() even exist when it's just adding an implicit ^ in front of the regex?
As it turns out, the difference is a bit more complex than I remembered: https://stackoverflow.com/a/180993
A space for Bonfire maintainers and contributors to communicate