Skip to content

clean_string re.sub() misses removing hyphen from strings #601

@TfedUD

Description

@TfedUD

image
in honeybee.typing clean_string
the hyphen is not being removed when running clean_string
changing re.sub(r'[^.A-Za-z0-9_-]', '', value) to re.sub(r'[^.A-Za-z0-9_(-)]', '', value) removes the hyphen from the string.
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions