Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60256 > unrolled thread
| Started by | bruce <badouglas@gmail.com> |
|---|---|
| First post | 2013-11-22 19:30 -0500 |
| Last post | 2013-11-22 19:30 -0500 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
find matching contiguous text bruce <badouglas@gmail.com> - 2013-11-22 19:30 -0500
| From | bruce <badouglas@gmail.com> |
|---|---|
| Date | 2013-11-22 19:30 -0500 |
| Subject | find matching contiguous text |
| Message-ID | <mailman.3060.1385166656.18130.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web