Bug#421845: partial analysis

2007-05-02 Thread Matt Kraai
On Wed, May 02, 2007 at 01:26:21AM -0400, Joey Hess wrote: > Well, one way is to go to a more complex regexp, with two halves, each > half being hardcoded for one type of quoting. > > (?: # Match one attr name/value pair > \s+

Bug#421845: partial analysis

2007-05-01 Thread Joey Hess
Matt Kraai wrote: > The regular expression that Markdown passes to Text::Balanced to match > opening tags contains a backreference to the attribute value quote > character. Text::Balanced wraps this expression in another set of > parentheses when matching for a nested tag, which breaks this > back

Bug#421845: partial analysis

2007-05-01 Thread Matt Kraai
On Tue, May 01, 2007 at 08:38:15PM -0400, Joey Hess wrote: > Seems that the use of gen_extract_tagged call in markdown extracts the > following block from my test case: > > > > foo > > > Which leaves the final closing div dangling. > > It's having trouble finding the right closing tag. I che

Bug#421845: partial analysis

2007-05-01 Thread Joey Hess
Seems that the use of gen_extract_tagged call in markdown extracts the following block from my test case: foo Which leaves the final closing div dangling. It's having trouble finding the right closing tag. I checked, and Text::Balanced is generating a closetag of "". Problem is, this matches