Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: list-tags don't always work

by Skeeve (Parson)
on Jun 27, 2003 at 05:22 UTC ( #269464=note: print w/replies, xml ) Need Help??


in reply to Re: list-tags don't always work
in thread list-tags don't always work

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

Replies are listed 'Best First'.
Re: Re: Re: list-tags don't always work
by krisahoch (Deacon) on Jun 27, 2003 at 10:21 UTC
    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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://269464]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2022-07-03 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (103 votes). Check out past polls.

    Notices?