-
Notifications
You must be signed in to change notification settings - Fork 57
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
Search terms are not adequately escaped #156
Comments
Looks like we need the following patch:
|
That looks like it'll work. Thanks for the lightning quick response! |
Thanks. |
Hmm, something I actually forgot to consider was my secondary issue with |
Do you have a proposal how to fix the second issue? I experimented with it and found that it seemed to treat any string with some chars (e.g. *) in it as regexp. |
There is a I would be happy with an option to turn |
I did note |
I tried it before writing my comment and it produced the expected result, namely Did you see different behaviour? |
I did see a different result. Will look into it in more details tomorrow. Thanks. |
global: regular expression is not allowed with the --from-here option. |
Reading the source code for GNU Global, this looks like a bug to me. However it's worth noting that adding I'll send a mail to the GNU Global bug report list. |
@leoliu I reported the bug to the GNU Global mailing list with a patch, which was accepted: http://lists.gnu.org/archive/html/global-commit/2017-09/msg00003.html I don't think this has made it into a stable release yet though. |
M-x ggtags-find-tag-dwim ->Decimal
produces the following error:M-x ggtags-find-tag-dwim *assert*
produces a slightly different error, although still a result of inadequate escaping:It's fairly common in Clojure (and maybe other lisps?) to name functions
->foo
(with the convention implying "convert anything tofoo
") or-bar
(usually implying private) or*baz*
(usually implying dynamic.)The text was updated successfully, but these errors were encountered: