Commits

annevk committed 9d0269d

allow more characters for xref

Comments (0)

Files changed (2)

anolislib/processes/xref.py

 # interactive elements
 instance_not_in_stack_with = frozenset([u"dfn", ])
 
-non_alphanumeric_spaces = re.compile(r"[^a-zA-Z0-9 \-]+")
+non_alphanumeric_spaces = re.compile(r"[^a-zA-Z0-9 \-\_\/]+")
 
 
 class xref(object):

anolislib/processes/xspecxref.py

 # interactive elements
 instance_not_in_stack_with = frozenset([u"dfn", ])
 
-non_alphanumeric_spaces = re.compile(r"[^a-zA-Z0-9 \-]+")
+non_alphanumeric_spaces = re.compile(r"[^a-zA-Z0-9 \-\_\/]+")
 
 
 class xspecxref(object):