[pmwiki-devel] Quick preg_replace question...
The Editor
editor at fast.st
Fri Apr 27 05:47:02 CDT 2007
I've just been developing an advanced tables markup system similar to
the one developed by JB, only with a syntax that makes a bit more
sense to me.
Anyway I have it working beautifully, but need to know how to catch 0,
1, or 2 spaces in a pattern? I tried...
'/\\n([ ]{0-2})\[([trc]{1})(.*?)\]/e'
But the above is not working as expected. If I can set up proper
security for the atttributes, I may release it as another cookbook
recipe...
Cheers,
Dan
More information about the pmwiki-devel
mailing list