duydao / Text-Pastry

Extend the power of multiple selections in Sublime Text. Modify selections, insert numeric sequences, incremental numbers, generate uuids, date ranges, insert continuously from a word list and more.
MIT License
830 stars 46 forks source link

add/reduce/filter by regex does not use regex #56

Closed timLinscott closed 7 years ago

timLinscott commented 7 years ago

The "Add selection by regex...", "Reduce selection by regex...", and "Filter selection by regex..." commands don't actually use regex searches, just plaintext searches.

duydao commented 7 years ago

Thanks for using Text Pastry!

Could you provide an example, I will look into it asap

Am 18.05.2017 um 15:07 schrieb timLinscott notifications@github.com:

The "Add selection by regex...", "Reduce selection by regex...", and "Filter selection by regex..." commands don't actually use regex searches, just plaintext searches.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

timLinscott commented 7 years ago

I tried using "Reduce selection by regex" on (this, is, a, list) using the search term \(|\)|, and nothing changed. Is there a parameter that toggles regex that I'm missing?

duydao commented 7 years ago

I've just created a fix for this issue, it should be available in a few hours by package control. Thanks for using Text Pastry!