Compile a regular expression pattern, returning a Pattern object.
(pattern, flags=0)
| 223 | return _compile(pattern, flags).finditer(string) |
| 224 | |
| 225 | def compile(pattern, flags=0): |
| 226 | "Compile a regular expression pattern, returning a Pattern object." |
| 227 | return _compile(pattern, flags) |
| 228 | |
| 229 | def purge(): |
| 230 | "Clear the regular expression caches" |