Update URLs
Allow passing flags to `toRegExp` method

Closes #24.