mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
303a02b901
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.