Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_identifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def test_resource_name():
assert rn._quoted

rn = ResourceName("[email protected]")
assert str(rn) == '"[email protected]"'
assert rn._quoted
assert str(rn) == "[email protected]"
assert not rn._quoted


def test_resource_name_equality():
Expand Down
2 changes: 1 addition & 1 deletion titan/parse_primitives.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pyparsing as pp

Identifier = pp.Word(pp.alphanums + "_", pp.alphanums + "_$") | pp.dbl_quoted_string
Identifier = pp.Word(pp.alphanums + "_@", pp.alphanums + "_@$") | pp.dbl_quoted_string
FullyQualifiedIdentifier = (
pp.delimited_list(Identifier, delim=".", min=4, max=4)
^ pp.delimited_list(Identifier, delim=".", min=3, max=3)
Expand Down