Something like this:

(:if name [0-9][0-9][0-9][0-9]:)
%green% Name is a 4-digit number.
%red% Name is NOT a 4-digit number.

You can have other characters like [a-z] for a range or [abc123] for specific characters. This defines a single character in the page name that is among those inside the brackets (case insentitive, but probably for a-z letters only, not for international letters).


PmWeekly Blog  :
If you upgrade :

On 2017-08-08 10:25, ABClf wrote:

I can't find what conditional markup is needed for testing if page
name is like 1970 (made of 4 decimals).
(:if name ????:) works, yet it's not restrictive enough for my need.
Does anyone know the trick ?

pmwiki-users mailing list

Reply via email to