better regex handling

- regex returns matches