5,337
edits
Line 159: | Line 159: | ||
* <code>re.match</code> will return None if there is no match | * <code>re.match</code> will return None if there is no match | ||
* <code>re.match</code> matches from the beginning of the string | * <code>re.match</code> matches from the beginning of the string | ||
* Use <code>re.findall</code> to | * Use <code>re.search</code> to match from anywhere in the string | ||
* Use <code>re.findall</code> to find all occurrences from anywhere in the string | |||
===Spawning Processes=== | ===Spawning Processes=== |