RE: [Orgmode] link export confused when URL parameter is another URL

2010-10-21 Thread Cook, Malcolm
a thought perhaps expressible as a context-free-grammar. Cheers back, Malcolm -Original Message- From: David Maus [mailto:dm...@ictsoc.de] Sent: Wednesday, October 20, 2010 11:36 PM To: Cook, Malcolm Cc: 'emacs-orgmode@gnu.org' Subject: Re: [Orgmode] link export confused when URL parameter

Re: [Orgmode] link export confused when URL parameter is another URL

2010-10-21 Thread Carsten Dominik
On Oct 21, 2010, at 6:35 AM, David Maus wrote: At Thu, 30 Sep 2010 15:17:00 -0500, Cook, Malcolm wrote: If find that this orgtext [[http://www.foo.com/foo?URL=http://www.bar.com][test]] exports to html incorrectly as

Re: [Orgmode] link export confused when URL parameter is another URL

2010-10-21 Thread David Maus
At Thu, 21 Oct 2010 19:38:17 +0200, Carsten Dominik wrote: This is a bit hard without lookbehind assertions as they are available in perl. For something like this it is somtimes easier to just to the normal match you wanted to use anyway and then confirm by taking a separate look at the text

Re: [Orgmode] link export confused when URL parameter is another URL

2010-10-20 Thread David Maus
At Thu, 30 Sep 2010 15:17:00 -0500, Cook, Malcolm wrote: If find that this orgtext [[http://www.foo.com/foo?URL=http://www.bar.com][test]] exports to html incorrectly as [[http://www.foo.com/foo?URL=[[http://www.bar.com][test][http://www.bar.com][test]]] using today's