null-dev / DynamicHistory

Automagically delete browsing history based on the content of the page!
MIT License
20 stars 3 forks source link

Use of flags for regex #5

Closed grenzor closed 6 years ago

grenzor commented 6 years ago

Please add support for flags in regex. I think the /g flag for regex will allow users to then use other flags in brackets e.g. (?i) for case insensitivity.

null-dev commented 6 years ago

Flags should work now, if they don't please re-open this issue. Example: /something/i

grenzor commented 6 years ago

Thanks, will test it out. Am I right in assuming this will support all flags e.g. /g /i /m and also that they can be used together like /something/im

null-dev commented 6 years ago

Yep, it support g, i, m, u and y. Multiple flags are supported in the way you described.