Friday, April 27, 2007, 11:47:02 AM, The wrote:
> '/\\n([ ]{0-2})\[([trc]{1})(.*?)\]/e'
instead of ([ ]{0-2}) try (|\s|\s\s)
(=none or one or two spaces)
There is probably a more elegant way, but I am no regex wizard.
also ([trc]{1}) should be probably just ([trc])
=group with either t or r or c (it is one character anyway unless
followed by + (one or more) or * (none, one or more)
Hans
_______________________________________________
pmwiki-devel mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel