extract regexp flag check into a separate module

https://github.com/sindresorhus/is-supported-regexp-flag
0.1.4