[Melbourne-pm] Regexps - how does the lexical scope of capture buffers work? (Was: Regexp: What's the right way to do this?)

Peter Vereshagin peter at vereshagin.org
Wed Oct 17 22:34:32 PDT 2012


2012/10/17 15:46:45 -0700 Michael G Schwern <schwern at pobox.com> => To melbourne-pm at pm.org :
MGS> On 2012.10.17 2:33 PM, Peter Vereshagin wrote:
MGS> > The what is wrong with this:
MGS> Very clever.  Now match the contents of <p class="summary"> and <p
MGS> class="description"> and associate all three pieces of data together.

Thank me for your very clever note.

MGS> (It finds all div's with the proper content rather than just the ones of the
MGS> event-time calendar class, but that's a fairly trivial fix.)


Peter Vereshagin <peter at vereshagin.org> (http://vereshagin.org) pgp: A0E26627 

More information about the Melbourne-pm mailing list