raise icon indicating copy to clipboard operation
raise copied to clipboard

Support ability to match by regex

Open svelterust opened this issue 4 months ago • 2 comments

Hey @neg-serg, saw you made some cool changes to this repository. Are the regex changes backwards-compatible with the current code? If so, I don't mind merging it so we can support more stuff.

svelterust avatar Oct 08 '25 08:10 svelterust

Hi! Yes, the regex changes are mostly backwards-compatible with the current code. The only thing that isn’t working yet is tag support — I was planning to fix that a bit later.

Let me know if you want me to prioritize that.

The reason for this change is that it allows you to write expressions like this:

class:^(firefox|org\.mozilla\.firefox|librewolf|io\.gitlab\.librewolf-community|floorp|one\.ablaze\.floorp|floorpdeveloperedition|yandex-browser|Yandex-browser|chromium|org\.chromium\.Chromium|thorium-browser|com\.thorium\.Thorium|palemoon|net\.palemoon\.PaleMoon)$

As a result, this makes it possible to cycle through all applications that meet the condition

neg-serg avatar Nov 25 '25 23:11 neg-serg

Yes, when you consider it ready I'll take a look then we can get it merged. As long as the current code and the examples in this repository works as is, it'd be great to get this merged too.

svelterust avatar Nov 26 '25 09:11 svelterust