On 02/02/2011 12:18 PM, Lex Trotman wrote:
> On 2 February 2011 21:36, Michael Wild <[email protected]> wrote:
>> Hi all
>>
>> I just stumbled across this problem (probably because the regex for
>> `monospaced` quotes is greedy?). I don't think that it can be fixed
>> though...
>>
>> ---------<8----------
>> == Quoting Problem
>>
>> The `single quoted text' is fine.
>>
>> This `single quoted text', however, is borked by the `monospaced quote`.
>>
>> This `single quoted text' is fine, because using + instead of ` fixes
>> the issue: +monospaced quote+.
>> ---------<8----------
>>
>> Michael
>>
> 
> Could you describe the output please, 'borked' is imprecisely defined :-)
> 
> Cheers
> Lex

Why not just run it through asciidoc and see for yourself ;-). Problem
is that due to the greedy regex the first backtick isn't matched with
the following apostrophe (to produce a single-quoted span), but extends
to the last backtick in the paragraph, producing a zombie monospaced span.


Michael

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to