[pmwiki-users] Regex help (excluding spaces)

Eric Forgeot eforgeot at gmail.com
Sat Mar 9 17:59:41 CST 2013


On 09/03/2013 22:40, Petko Yotov wrote:
>
> You need to place the parentheses around everything that is meant to 
> be bold, for example '/\*\*([^\s].*?[^\s])\*\*/' .
>
> However, this will not allow you a single bold character. This one will:
>
>   '/\\*\\*(\\S(.*?\\S)?)\\*\\*/'
>

Thank you very much for the explanations and the fix!

I'll update the cookbook soon.





More information about the pmwiki-users mailing list