bug-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: global: regular expression is not allowed with the --from-here optio


From: Shigio YAMAGUCHI
Subject: Re: global: regular expression is not allowed with the --from-here option.
Date: Mon, 24 Mar 2014 14:57:39 +0900

Hi,
You are right. A certain measure is needed.

As the first step, how about making effective the --literal
option to the default command and the -c command?

$ global --from-here=40:guix.scm %gcc-bootstrap-tarball?
(error message)

$ global --from-here=40:guix.scm --literal %gcc-bootstrap-tarball?
(no error message)

Now, the --literal option is effective only to the -g command.



2014-03-23 10:12 GMT+09:00 Leo Liu <address@hidden>:
In a scheme (language) project where there are many tags with ?, I am
constantly getting:

        $ global --from-here=40:guix.scm %gcc-bootstrap-tarball?
        global: regular _expression_ is not allowed with the --from-here option.

Isn't it better to treat the pattern as literal instead of an error. One
can get the same error from `completion' (i.e. -c) by using any regexp
metachar(?$+. etc). Could this error be removed and replaced with
something that does the right thing?

Thanks,
Leo


_______________________________________________
Bug-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global



--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]