[dokuwiki] Re: [Patch] Rowspan cont.

Hakan.Sandell@xxxxxxxxx wrote on 04/11/2009 21:38:
Well, besides me liking the ":::" ;-) I am not sure if syntax built into
the core should be configurable. Maybe this option would be better in a
table syntax plugin?

Hi Hakan!

Well, what I meant is if you use ":::" substring in two or more regular expressions (I haven't checked your patch), please, make some common variable with this string setup and re-use it in regex(-es), like (I am very bad at PHP):

var $col_span_marker = ":::";

$this->Lexer->addEntryPattern(" ... {$col_span_marker} ... ", $mode ..);

That is it :)

--
With best regards,
Dmitry
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: