Fix for bug #911, escapes regex for ignored words