A stricter regexp to avoid picking up error page title
Fixes #4