_num2link
Replaces #[number] with a link to entry with id=[number]
Site Infrastructure / _num2link

[
	$orig = "/#([0-9]+)/i";
	$new = "<a href=\"?id=$1\">#$1</a>";
	//$orig = "/(a+)/i";
	// $new = "b\1";
	regreplace($_args[0], $orig, $new);
]