[ANN] Markdown.pl 1.0.2b4

A. Pagaltzis pagaltzis at gmx.de
Mon Sep 19 12:59:53 EDT 2005


* John Gruber <gruber at fedora.net> [2005-09-19 18:00]:

> I was thinking that, too. I'm thinking:

>

> <\w+://[^>]+>

>

> in regex-speak.


Schemes may have plus signs, used in the wild in examples like
`svn+ssh:` or `rsync+ssh:`. `\w+` will not permit it, but will
allow underscores, which are illegal in schemes. (In fact it will
even allow non-Latin alphanumerics when the locale indicates
them.) I suggest `[A-Za-z0-9+]+` instead.

Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>


More information about the Markdown-Discuss mailing list