[pmwiki-users] Another regex question...

The Editor editor at fast.st
Sun Apr 29 18:07:24 CDT 2007


I'm trying to work with the zap forms markup so that it if there's a
newline just before the markup, it will eat the unnecessary newline.
I'm using something like the LiteralWhiteSpace recipe and can't seem
to get rid of the extra vertical space when I have a form on the page.

/\n?\(\:zapform(.*?)\:\)/e

I thought this would delete the \n if it existed, but not require it.
However, it seems to have no effect...

Cheers,
Dan



More information about the pmwiki-users mailing list