[pmwiki-users] $FmtP and global variable substitutions nit

Patrick R. Michaud pmichaud at pobox.com
Sat Jun 18 01:02:03 CDT 2005


On Fri, Jun 10, 2005 at 11:20:51AM -0700, dan mcmullen wrote:
> in FmtPageName(), it seems that the way '$Var' => 'Value' substitutions 
> are recorded in $FmtP also matches any instances '$VarSuffix', turning 
> them into 'ValueSuffix'.  this effectively disables substitution of any 
> global variables which happen to have a prefix in $FmtP (eg '$TitleX'). 
>  would it make sense to add '\b' at the end of the $FmtP patterns?

Probably.  I've now made that change for beta39.

Pm



More information about the pmwiki-users mailing list