Addison Wesley : Text Processing in Python by David Mertz

Addison Wesley : Text Processing in Python by David Mertz

Author:David Mertz [Mertz, David]
Format: epub
ISBN: 0321112547
Publisher: Addison Wesley
Published: 2010-06-19T23:00:00+00:00


Match the rest of the entire pattern only if the subpattern "..." occurs immediately prior to the current match point. But do not include the target substring matched by "..." as part of the match (the same characters may or may not be claimed by some prior group(s) in the entire pattern). The pattern "..." must match a fixed number of characters and therefore not contain general quantifiers.

>>> from re_show import re_show >>> re_show(r'\w+(?<=[A-Z]) ', 'Words THAT end in capS X') Words {THAT }end in {capS }X



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.