http://www.perlmonks.org?node_id=23976


in reply to RE: The Great Escape
in thread The Great Escape

It sure is! :)

One thing though:
s/(.)?\[([^]]*?)\]]/linkNodeTitle($2, $NODE)/egs unless $1 eq '+';
(just the (.)? has changed), so it'll allow node-links at the beginning of the node (i.e. without a character in front of it). Or am I wrong in assuming '.' won't match a null-character? Anyways, I can't remember why I did (.)*?, but in retrospect it's wrong. Thanks.

-- ar0n | home | mail