@[deleted] currently i've done a custom regexp field
as u can see in the example anyone can write your own regexp without including the initial /
and flags (that actually match every words in both upper and lowercase
in the example above the output is:
/(marco|flarum|extension)/gi
(that match these 3 words).
so u can replace that part with your own regexp (marco|flarum|extension)
Do you think this can be an acceptable solution?
regexp is replaced with [Purified]
that is completely customizable with translations (like ******, [hidden])
0.1.5
#Changes
- Admin can now setup a custom regular expression
Updating
composer update justoverclock/flarum-ext-purify:"*"
php flarum cache:clear