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. |
||
|---|---|---|
| .. | ||
| import_scripts | ||
| alice.txt | ||
| bench.rb | ||
| diff_heaps.rb | ||
| discourse | ||
| docker_test.rb | ||
| measure.rb | ||
| memstats.rb | ||
| micro_bench.rb | ||
| osx_dev | ||
| profile_db_generator.rb | ||
| pull_translations.rb | ||
| rails | ||
| redis_memory.rb | ||
| require_profiler.rb | ||
| test_email_settings.rb | ||
| test_mem.rb | ||
| user_simulator.rb | ||
| version_bump.rb | ||