mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
2a257190e7
This adds a --regex option to discourse remap to use the regexp_replace feature in PostgreSQL. Example usage: discourse remap --regex "\[\/?color(=[^\]]*)*]" "" removes all the "color" bbcodes. Also, this commit fixes the --global option, which did not work because of how Thor processes the options.