-
-
Notifications
You must be signed in to change notification settings - Fork 815
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
🐛 Bug
Description
I am unable to override a value that contains the '@' character, e.g. in the case of providing email addresses
To reproduce
Borrowed from #962:
** Minimal Code/Config snippet to reproduce **
# test.py
import hydra
@hydra.main()
def foo(*args, **kargs):
pass
foo()
$ python test.py +bar=example@example.com
** Stack trace/error message **
LexerNoViableAltException: +bar=example@example.com
^
See https://hydra.cc/docs/next/advanced/override_grammar/basic for details
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Expected Behavior
No error and bar's value should be set to "example@example.com".
System information
- Hydra Version : 1.0.0
- Python version : 3.7.4
- Virtual environment type and version :
- Operating system :
Additional context
Similar to #962
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working