[pmwiki-devel] Pattern failing again...

Kathryn Andersen kat_lists at katspace.homelinux.org
Wed May 16 21:37:08 CDT 2007


On Wed, May 16, 2007 at 06:56:40PM -0400, The Editor wrote:
> Any one see why this pattern might be failing?
> 
> '/<\/ol><ol>/' -> ''
> 
> I'm trying to develop a custom ol bullets markup and need this second
> step to clearn out unnecessary tags after the first round of
> processing...

There might be spaces in between...

'/<\/ol>\s*<ol>/' -> ''

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-devel mailing list