refactor: simplify regexp