Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60256
| Date | 2013-11-22 19:30 -0500 |
|---|---|
| Subject | find matching contiguous text |
| From | bruce <badouglas@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3060.1385166656.18130.python-list@python.org> (permalink) |
Hi. I have a xpath test that generates the text/html between two xpath functions, basically a chunk of HTML between two dom elements. However, it's slow. As a test, I'd like to compare the speed if I get all the HTML following a given element, and then get all the HTML preceding a given element.. and then do a "union/join/intersection" of the text between the two text segments. I'm trying to find an efficient/effective approach to determining the contiguous matching text, where the text starts with the 1st line in the test from the following element test. Thanks
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
find matching contiguous text bruce <badouglas@gmail.com> - 2013-11-22 19:30 -0500
csiph-web