* (bug 688) MagicWord.php uses incorrect regex and logic for "$1" variable capturing