use regex instead of startsWith, refs #688