move last RegExp into constant