原文链接:https://stackoverflow.com/questions/180986/what-is-the-difference-between-re-search-and-re-match What is the difference between the search() and match() functions in the Python re module? I've read the documentation (current documentation), but I never seem to remember it. I keep having to look it up and re-learn it. I'm hoping that someone will