http://qs321.pair.com?node_id=269177


in reply to list-tags don't always work

Skeeve,

Poorly displayed definition lists suspect
The end tag may be missing
<dl> <dt>Poorly displayed definition lists suspect</dt> <dd>The end tag may be missing</dd> </dl>
Update: Added html tags to illustrate

Kristofer Hoch

Si vos can lego is, vos es super erudio

Replies are listed 'Best First'.
Re: Re: list-tags don't always work
by Skeeve (Parson) on Jun 27, 2003 at 05:22 UTC
    That would have been easy.

    But see for yourself. Here is the code, directly pasted from my post

    /^"((?:[^"\\]|\\.)*)"$/$1/

    ^"
    matches your field's quotechar at the start of the field
    (...)
    will "remember" what was matched inside the quotes
    (?:...)*
    This will match anything in place of the ... and tells the parser that it may apear as often as possible. Even zero times
    [^"\\]
    will match any character but " and \
    |
    is an alternative. Either the left or the right part has to match
    \\.
    Will match any "escaped" character
    "$
    again your quotechar but now at the end
      Skeeve,
      That is a good catch. When I posted the comment it was to test your question. This behaviour is surprising. While replying to you, I can see that the definition list is displayed fine. This is really strange.
      Strange
      Definition list behaviour when viewed within replies.

      Kristofer Hoch

      Si vos can lego is, vos es super erudio