[pmwiki-users] Help for designing a new ptv pattern <<< my new multiline ptv pattern >>>

ABClf languefrancaise at gmail.com
Sat Jan 17 18:20:54 CST 2015


Indeed yes, obviously, pardon my mistake.
(Well, well, well, I have lost half of my brain in little time).

I need to duplicate the native multiline ptv, to get a new one which would
have a stronger specific pattern (more unlikely to be broken).

Native is :

(:myvar: text
text
and text. :)

Lets say I want something easy to type, readable, and distinctive enough,
for quotations and messy notes purpose in my case (data in ptv, templated
in the printed out page).
Maybe :

<<< (myvar) text
text
and text. >>>

Because I have no proof I got back my lost brain, feel welcome to suggest
some better pattern.

Gilles.







2015-01-17 23:47 GMT+01:00 Hans Bracker <design at softflow.co.uk>:

>
> > I would like to set up a new pattern for multiline ptv ;
> > current (:bla bla this is a hidden ptv:) may me broken by the text.
>
> > Thus, I wish to create a more distinctive <<< new pattern >>> which
> would work in the smiling case below :
>
> > <<< bla bla this is a new (hidden or not) ptv :) >>>
>
> what would be the PTV name in your example?
> A page text variable has a name and a value.
> So  if you have a block of text, and some delimiters, you neeed to hav
> a name as well, best somewhere in or aftter th efirst delimiter.
> Then we could perhaps work out a regex for this new PTV pattern.
>
>
>
> Best regards,
>  Hans
> mailto:design at softflow.co.uk
> www.softflow.co.uk
>
>


-- 

---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net
| C | languefrancaise at gmail.com
---------------------------------------
       @bobmonamour
---------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20150118/aeec580c/attachment.html>


More information about the pmwiki-users mailing list