Browse Source

* horizontal line regex

master
Alex 'AdUser' Z 9 years ago
parent
commit
2126271e1b
  1. 8
      lib/Text/Dokuwiki/Regexps.pm

8
lib/Text/Dokuwiki/Regexps.pm

@ -117,4 +117,12 @@ $regexps->{emptyline} = qr{
)*
}mx;
$regexps->{hrule} = qr/
(?:
^ # line start
(?: -{4,} ) # four or more dashes
(?: $EOL | $ ) # newline or file end
)
/mx;
1;

Loading…
Cancel
Save