Skip to content

Instantly share code, notes, and snippets.

@masak
Created November 28, 2008 21:54
Show Gist options
  • Save masak/30106 to your computer and use it in GitHub Desktop.
Save masak/30106 to your computer and use it in GitHub Desktop.
if defined $link_maker {
my $link_regex = / '[[' (<-[\]]>+) ']]' /; # /
while $result ~~ $link_regex {
$result .= subst( $link_regex, { $link_maker($0) } );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment