leftmost longest match (of disjunctions)
Joerg Schuster
js at cis.uni-muenchen.de
Tue Dec 2 03:21:20 EST 2003
More information about the Python-list mailing list
Tue Dec 2 03:21:20 EST 2003
- Previous message (by thread): leftmost longest match (of disjunctions) ; greediness of "|"
- Next message (by thread): leftmost longest match (of disjunctions) ; greediness of "|"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Peter Hansen <peter at engcorp.com> writes: > produce a longer overall match. In other words, the "|" operator is never > greedy. O.k. Thanks for pointing this out. Maybe I should have formulated my question differently: Is there a trick (be it dirty or not) to make "|" greedy in python? Jörg
- Previous message (by thread): leftmost longest match (of disjunctions) ; greediness of "|"
- Next message (by thread): leftmost longest match (of disjunctions) ; greediness of "|"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list