Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: gnus-article-unsplit-urls
Date: Fri, 04 Jan 2002 18:33:21 +0100	[thread overview]
Message-ID: <ilun0zuqavy.fsf@extundo.com> (raw)
In-Reply-To: <m3wuyy5aw4.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Fri, 04 Jan 2002 17:38:51 +0100")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Simon Josefsson <jas@extundo.com> writes:
>
>> Hm, that regexp wasn't very good, maybe this one is better:
>
> But won't that match stuff like
>
> http://google.com/thing
> and then there's something else on the next line?

Yes.  Hm.  A good heuristic might be to match

http://foo
bar

but not

http://foo
bar baz

That is, do not assume the URL is continued if there is more than one
word on the second line.  Perhaps?

Updating the regexp to match this is left as an exercise for the
wickedly perverted...




  parent reply	other threads:[~2002-01-04 17:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-04 14:58 gnus-article-unsplit-urls Michael Cook
2002-01-04 15:31 ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 15:38   ` gnus-article-unsplit-urls Michael Cook
2002-01-04 15:48     ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 16:37       ` gnus-article-unsplit-urls Lars Magne Ingebrigtsen
2002-01-04 17:27         ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 17:42           ` gnus-article-unsplit-urls Lars Magne Ingebrigtsen
2002-01-04 18:06             ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 15:44   ` gnus-article-unsplit-urls Simon Josefsson
2002-01-04 16:38     ` gnus-article-unsplit-urls Lars Magne Ingebrigtsen
2002-01-04 17:08       ` gnus-article-unsplit-urls Michael Cook
2002-01-04 17:12         ` gnus-article-unsplit-urls Lars Magne Ingebrigtsen
2002-01-04 17:33       ` Simon Josefsson [this message]
2002-01-04 17:42         ` gnus-article-unsplit-urls Michael Cook
2002-02-08 14:19 ` gnus-article-unsplit-urls Michael Cook
2002-02-08 14:33   ` gnus-article-unsplit-urls ShengHuo ZHU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilun0zuqavy.fsf@extundo.com \
    --to=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).