Simplify regexp syntax