Forbid regular expression characters in macro text