Compile a regular expression pattern, returning a Pattern object.
(pattern, flags=0)
| 285 | return _compile(pattern, flags).finditer(string) |
| 286 | |
| 287 | def compile(pattern, flags=0): |
| 288 | "Compile a regular expression pattern, returning a Pattern object." |
| 289 | return _compile(pattern, flags) |
| 290 | |
| 291 | def purge(): |
| 292 | "Clear the regular expression caches" |