[pmwiki-users] Release: GoogleMapsInterface

Hans design5 at softflow.co.uk
Wed Dec 6 08:01:03 CST 2006


Tuesday, December 5, 2006, 10:07:22 PM, Craige wrote:
Re: map markup

to avoid the necessary space at (:map-end :)
you could try this regex instead:

'/\(:map(-location|-end)\\s*(.*?):\)/ie'

Note the double backslash \\s*
special regex characters like \s have to be escaped again.
The \\s* asks for none, one, or more spaces before the next parameter string.


Hans





More information about the pmwiki-users mailing list