Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matching doesn't work properly with "." #96

Open
rrthomas opened this issue Mar 7, 2020 · 3 comments
Open

Matching doesn't work properly with "." #96

rrthomas opened this issue Mar 7, 2020 · 3 comments

Comments

@rrthomas
Copy link

rrthomas commented Mar 7, 2020

Thanks very much for this extension, which comes into its own as my windows multiply!

Suppose I am editing a file called "foo.h", and that name is in the editor's title bar. If I open Switcher and type ".", then the window is offered. If I type ".h" then it is still offered. If I type "foo" it is offered, but if I then add a ".", so it says "foo." then it does not, and neither does "foo.h" match the window.

I am using version 26 of the extension with GNOME 3.28 with Ubuntu 18.04.

I notice that you just dropped support for 3.28; I can report that the extension works fine apart from this problem.

@hgomersall
Copy link

It's possible to escape the '.' as a potential workaround.

@rrthomas
Copy link
Author

rrthomas commented Dec 9, 2020

Thanks, @hgomersall! (To be precise, you escape it with a backslash.) That's an unintuitive workaround though, as normally when . has to be escaped, it's because otherwise it would match every character in a regex, not because it would match nothing!

Also, when you use this workaround, the matches are no longer underlined.

@hgomersall
Copy link

Whoops, yes, I probably should have been more specific!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants