Changeset 214

Show
Ignore:
Timestamp:
04/06/07 20:38:46 (2 years ago)
Author:
ingy
Message:
 r3762@dhcp199:  ingy | 2007-04-05 13:13:49 +0900
 bug in bold regexp
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/core/Spork/lib/Spork/Parser.pm

    r213 r214  
    3434            blocks => [qw(ul li)], 
    3535            match => qr/^((?m:^\*+ .*\n)+)\n*/, 
    36             filter => sub { s/^\* *//mg; s/\n+\z/\n/; }, 
     36            filter => sub { s/^\* *//mg; s/\n+\z/\n/ }, 
    3737        }, 
    3838        li => { 
     
    4646        b => { 
    4747            phrases => $all_phrases, 
    48             match => [re_huggy('\*'), qr/(\{\*.*?\*\})/ ], 
     48            match => [re_huggy('\*'), qr/\{\*(.*?)\*\}/ ], 
    4949        }, 
    5050        i => { 
    51             match => [re_huggy('\/'), qr/(\{\/.*?\/\})/ ], 
     51            match => [re_huggy('\/'), qr/\{\/(.*?)\/\}/ ], 
    5252        }, 
    5353        tt => { 
    54             match => [re_huggy('`'), qr/(\{`.*?`\})/ ], 
     54            match => [re_huggy('`'), qr/\{`(.*?)`\}/ ], 
    5555        }, 
    5656        hilite => { 
    57             match => [re_huggy('\|'), qr/(\{\|.*?\|\})/ ], 
     57            match => [re_huggy('\|'), qr/\{\|(.*?)\|\}/ ], 
    5858        }, 
    5959    };