[doconce] push by h...@simula.no - Added mailto: feature in URLs. on 2013-07-13 08:25 GMT

1 view
Skip to first unread message

doc...@googlecode.com

unread,
Jul 13, 2013, 4:25:24 AM7/13/13
to docon...@googlegroups.com
Revision: e780e6b0dc24
Branch: default
Author: "Hans Petter Langtangen <h...@simula.no>"
Date: Sat Jul 13 01:26:33 2013
Log: Added mailto: feature in URLs.
http://code.google.com/p/doconce/source/detail?r=e780e6b0dc24

Modified:
/lib/doconce/common.py

=======================================
--- /lib/doconce/common.py Fri Jun 28 09:22:02 2013
+++ /lib/doconce/common.py Sat Jul 13 01:26:33 2013
@@ -687,11 +687,11 @@
(inline_tag_begin, inline_tag_end),

'linkURL2': # "some link": "https://bla-bla"
- r'''"(?P<link>[^"]+?)" ?:\s*"(?P<url>(file:/|https?:)//.+?)"''',
+ r'''"(?P<link>[^"]+?)" ?:\s*"(?P<url>(file:/|https?:|ftp:/|
mailto:)//.+?)"''',
#r'"(?P<link>[^>]+)" ?: ?"(?P<url>https?://[^<]+?)"'

'linkURL2v': # verbatim link "`filelink`": "https://bla-bla"
- r'''"`(?P<link>[^"]+?)`" ?:\s*"(?P<url>(file:/|https?:|ftp:)//.+?)"''',
+ r'''"`(?P<link>[^"]+?)`" ?:\s*"(?P<url>(file:/|https?:|ftp:/|
mailto:)//.+?)"''',

'linkURL3': # "some link": "some/local/file/name.html"
or .txt/.pdf/.py/.c/.cpp/.cxx/.f/.java/.pl files
#r'''"(?P<link>[^"]+?)" ?:\s*"(?P<url>([^"]+?\.html?|[^"]+?\.txt|
[^"]+?.pdf))"''',
Reply all
Reply to author
Forward
0 new messages