Thanks, Tiffany. Great improvement!!!

I'll put this in the next release...

Cheers,
Dan


On Sun, Oct 26, 2014 at 3:41 AM, Tiffany Grenier <[email protected]>
wrote:

> It is also worth noticing that **//first something//** second something
> /*hidden something*/ may not procude the intended output without my fix.
> Cheers,
> Tiffany
>
> Le dimanche 26 octobre 2014 09:38:05 UTC+1, Tiffany Grenier a écrit :
>
>> Hi,
>>
>> In my website, it is quite common that people surround parts of text by
>> slashes. And it happens that they want the inner text to be bold, but the
>> result always turns out to become a comment, since the used syntax is
>> /**something**/. Therefore, I played a bit with the comment regex, non
>> capturing groups, look ahead and look behing assertions, and I finally
>> found something that only works for proper comments:
>> MarkUp('pre', 'comments', 
>> '/(?<=[^\/]|^)\/\*[^\*](.*?)[^\*]\*\/(?=[^\/]|$)/se',
>> '');  // /*comments*/ but neither //*comments*// nor /**comments**/
>>
>> I just wanted to share this in case you thought it would do no harm in
>> the future revision of Boltwire. I am integrating it in my config.php file
>> anyway.
>>
>> Cheers,
>> Tiffany
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "BoltWire" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/boltwire.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/d/optout.

Reply via email to