unnecessary checking of `size` with `second regex` if matched with former regex