|
From: | Peter Davis |
Subject: | Re: [O] Importing from Oddmuse? |
Date: | Mon, 28 Oct 2013 15:35:24 -0400 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 |
On 10/28/13, 3:18 PM, Achim Gratz wrote:
Peter Davis writes:Excellent! I modified it slightly to keep the spaces in the display string:This is better, I'd think: # hyperlinks s/\[\[([^]]*)\]\]/ my $l = $1; $l =~ s: :_:g; "[[file:$l.org][$1]]"/gex;
That was the first thing I tried, and Perl complained about an undefined variable. I may have made a typo though.
Thanks! Cheers, -pd -- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com
[Prev in Thread] | Current Thread | [Next in Thread] |