Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

warn users on edit-config if name has strange characters. #4

Closed
ddkohler opened this issue Jun 8, 2022 · 1 comment · Fixed by #26
Closed

warn users on edit-config if name has strange characters. #4

ddkohler opened this issue Jun 8, 2022 · 1 comment · Fixed by #26

Comments

@ddkohler
Copy link
Contributor

ddkohler commented Jun 8, 2022

Give users a notice if e.g. dash/space is in the device name

@ksunden
Copy link
Member

ksunden commented Jun 8, 2022

yaq itself is actually mostly fine with any string, but we may wish to specify a lowest common denominator so we work well with things like happi which expect names to be valid (python or otherwise) identifiers following some regex e.g. [a-zA-z_][a-zA-z0-9_]* (python is a bit broader, allowing "letterlike" unicode characters, but such a regex may guarantee interoperability with a wider array of other tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants