File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 24
24
from basilisp .lang .typing import LispForm , IterableLispForm
25
25
from basilisp .util import Maybe
26
26
27
- ns_name_chars = re .compile (r'\w|-|\+|\*|\?|/|\=|\\|!|&|%|>|<' )
27
+ ns_name_chars = re .compile (r'\w|-|\+|\*|\?|/|\=|\\|!|&|%|>|<|\$ ' )
28
28
alphanumeric_chars = re .compile (r'\w' )
29
29
begin_num_chars = re .compile (r'[0-9\-]' )
30
30
num_chars = re .compile ('[0-9]' )
Original file line number Diff line number Diff line change @@ -259,6 +259,7 @@ def test_symbol():
259
259
assert sym .symbol ("<" ) == read_str_first ("<" )
260
260
assert sym .symbol ("<-" ) == read_str_first ("<-" )
261
261
assert sym .symbol ("<--" ) == read_str_first ("<--" )
262
+ assert sym .symbol ("$" ) == read_str_first ("$" )
262
263
assert sym .symbol ("<body>" ) == read_str_first ("<body>" )
263
264
assert sym .symbol ("*muffs*" ) == read_str_first ("*muffs*" )
264
265
assert sym .symbol ("yay!" ) == read_str_first ("yay!" )
You can’t perform that action at this time.
0 commit comments