[pmwiki-users] Re: regular expressions?

chr at home.se chr at home.se
Thu Apr 21 08:04:27 CDT 2005


On Thu, 21 Apr 2005, Patrick R. Michaud wrote:

> On Thu, Apr 21, 2005 at 07:01:53AM -0500, Monty wrote:
> > One of the downs of WikiPages not being text/plain is that we can't use 
> > the unix toolchain to do transformations or analysis on them.  Is there 
> > any tool to permit a WikiAdmin to use a match or replace RegEx across an 
> > entire Group (or Farm) of pages?
> 
> There's a code excerpt at 
> http://www.pmwiki.org/wiki/Cookbook/GlobalOperations that shows one
> way to do it.  I'm planning to write a recipe that provides a checkbox-form 
> so that the admin can easily perform operations on subsets of pages.

You don't happen to have a simple shell script that extracts just the raw 
source of a wiki page (i.e. from it's file in wiki.d/)? That could be 
useful sometimes.

/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr





More information about the pmwiki-users mailing list