[pmwiki-users] (:cell:) not at start of line

Patrick R. Michaud pmichaud at pobox.com
Mon Jun 11 14:32:37 CDT 2007


On Tue, Jun 12, 2007 at 07:26:05AM +1200, Simon wrote:
> How can I relax the requirement that the (:cell:) directive be at the
> start of a line.

I have no idea if this will work, but you could try:

  Markup('table', '<block',
    '/\\(:(table|cell|cellnr|tableend|div\\d*(?:end)?)(\\s.*?)?:\\)/ie',
    "Cells('$1',PSS('$2'))");

Pm



More information about the pmwiki-users mailing list