Regex: Limiting Scope without capturing results

Florian Weimer fw at deneb.enyo.de
Thu Jul 24 16:00:22 EDT 2003


megalith at btinternet.com (Gordon Chapman) writes:

> Or a way of telling them to limit the scope of the match without
> capturing the result ?

You are looking for (?:foo|bar).




More information about the Python-list mailing list