sabrogden / Ditto

Ditto is an extension to the Windows Clipboard. You copy something to the Clipboard and Ditto takes what you copied and stores it in a database to retrieve at a later time.
https://ditto-cp.sourceforge.io/
3.94k stars 208 forks source link

[Feature request] Add a toggle on settings for case sensitivity, including RegEx searches #625

Open fabiorzfreitas opened 9 months ago

fabiorzfreitas commented 9 months ago

RegEx searches currently enforce case sensitivity by default, with no setting to adjust this behavior.

I think Ditto could use a "Case sensitivity" checkbox in Settings or a boolean in Advanced settings (in case of the latter, perhaps one toggle per search mode).

Currently, there's a possible workaround: (?i:pattern) or (?i)pattern) allows case-insensitive searches, but highlighting won't apply.

The issue has also been described at #318, as well as a partial workaround at https://github.com/sabrogden/Ditto/issues/318#issuecomment-1204919930, but since that issue was not a Feature request, I'm submitting it as such.

sabrogden commented 9 months ago

I've made the regex search default to case insensitive in the latest, https://ditto-cp.sourceforge.io/beta/

this can be changed

image