Browse Source

* fix header regex

master
Alex 'AdUser' Z 10 years ago
parent
commit
fb4f6d5468
  1. 2
      lib/Text/Dokuwiki/Regexps.pm

2
lib/Text/Dokuwiki/Regexps.pm

@ -16,7 +16,7 @@ $regexps->{header} = qr/
\s* # leading spaces
(?<header> .+? ) # header text
$SP* # trailing spaces
(?: \g{line}? ) # header mark (exactly same as above)
(?: \g{line} ) # header mark (exactly same as above)
(?: $EOL | $) # newline or file end
)
/mx;

Loading…
Cancel
Save