[pmwiki-users] PTVs on multiple lines

Hans Bracker design at softflow.co.uk
Sun Oct 18 07:18:01 CDT 2015

to resolve my particular programming issue (picking up the last
part of a hidden PTV as a text PTV), I needed to modify the pattern
still further, to disallow a ')' after the colon, i.e. to:

  'var:' => '/^(:*\\s*(\\w[-\\w]*)[ \\t]*:[^\\)][ \\t]?)(.*)($)/m',

If for good reasons such PTVs of the none-hidden type be allowed to
have the colon on the second or later line, perhaps at least it should
not be allowed to have a ')' following the ':' immediately, so
confusion with the hidden type PTV cannot happen.

Best regards,

More information about the pmwiki-users mailing list