Thread:Kangaroopower/@comment-3508190-20130408183621/@comment-4674838-20130409065802

Sorry, I figured suggesting a different approach to the regexes was related to what you were asking about in the first 3 lines of the  function, like you said at the top.

Kangaroo can probably explain best, but my understanding was that this "scope terminal" is like "scope for the command line". The goal is to get rid of the UI (which would otherwise take up a considerable amount of space in the editor), and let advanced users just type their regexes directly in. Small target audience. Not intended for general use. It's considerably faster to use since you don't have to click a bunch of checkboxes or buttons in a UI. E.g.  versus   &mdash; why have a checkbox for that option when you can just put the   modifier on your regex?

Also, Kangaroo may (hopefully) add an autodetect feature to detect whether the user entered a regex or wants to do a plain text replacement instead. Instead of manually escaping with. Again, one less checkbox in the UI to have to interact with.