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