nostalgy-xpi
nostalgy-xpi copied to clipboard
A space character is now considered a wildcard
I am not sure with which version of Nostalgy++ this started happening but it is in the past couple of weeks. I am currently on 2.3.1.
When I want to move an email to a folder called "SH Meetings", I press "s" and start typing "sh m". That used to be sufficient to disambiguate all my folders and there would be only one choice.
However, as of late, the space in "sh m" is now considered a wildcard and folder names containing "Memberships", "Gmail Trash", and many others now show up because the names contain "sh" and "m", and not necessarily in that order.
I have gone into the option and have not found a way to turn off that "feature", which I think is a bug as regexp need to be enclosed in "/" to work so "sh m" should not be treated as a regexp.
I see that version 2.3 brought in the ability to "allow multiple substrings for search". I think that is the root of the problem. We need an option to turn off that feature, or not make it the default behavior.
Thanks for your great add-on and thanks for listening.
yes, I will make it an option. As a workaround until then, there is a regex for 'space' (maybe \c, I forgot). Maybe you can google for regex space and use that until we have the option to switch off the new behaviour. Or go back to the old version.
Thanks Opto for responding so quickly. I look forward to seeing the new option. \s is the space in a regexp. But . works for me for now in THIS context as it's viewed as any single character. Thanks for being a good listener.