[TxMt] MultiMarkdown Bug in Lists...

Brian H binarynomad at gmail.com
Wed Mar 12 18:12:49 UTC 2008


I found an odd bug in the MultiMarkDown list sibling generation:

It will strip out any number preceded by a "$" after I hit enter at  
the end of the line.

EXAMPLE:
- Here is a number (1234) and here are some a dollar amounts ($123),  
($123.00), (-$123).
- Here is a number (1234) and here are some a dollar amounts (), (. 
00), (-).

I think the problem lies in this line:

# Strip Marker
$old_line =~ s/^\s*((\*|\+|\-|\d+\.)\s*)//;

...but I'm still new to Perl and Regex

----
Brian H
binarynomad at gmail.com
http://www.binarynomad.com




More information about the textmate mailing list