* fix: fix regex to match codecov's flags
Flags Must consist only of alphanumeric characters, '_', '-', or '.' and not exceed 45 characters.
Flag names will be validated against the following regex. ^[\w\.\-]{1,45}$
* refactor: remove unnecessary escape char in regex
* refactor: fix prettier warnings