[pmwiki-users] Re: Page name pattern
Patrick R. Michaud
pmichaud at pobox.com
Fri Jan 28 09:02:34 CST 2005
On Fri, Jan 28, 2005 at 10:00:57AM +0100, chr at home.se wrote:
> > The pagename pattern is held in $NamePattern, the default value is
> > $NamePattern = '[[:upper:]\\d][\\w]*(?:-\\w+)*';
> > which basically says that a page name begins with a digit or
> > uppercase letter, followed by any sequence of letters, numbers,
> > underscores, and non-consecutive hyphens.
>
> Hmm.. I wanted to add the actual regexp to some wiki page, but I didn't
> want to add it to
> http://www.pmwiki.org/wiki/PmWiki/BasicVariables
> what do you think of creating a page for a more advanced discussion of
> variables? Would a name like 'BasicVariablesAdvanced' be stupid? Or
> perhaps 'BasicVariablesInDepth'?
It should probably go in the cookbook; that's one of the things the
cookbook is designed for (i.e., discussions/guides of how to change PmWiki's
configuration or use PmWiki to achieve various effects). A link
can then be made from the BasicVariables page to the appropriate
Cookbook page.
Pm
More information about the pmwiki-users
mailing list