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

resource validation logic regarding slash '/' #99

Open
wzy816 opened this issue Sep 9, 2021 · 0 comments
Open

resource validation logic regarding slash '/' #99

wzy816 opened this issue Sep 9, 2021 · 0 comments

Comments

@wzy816
Copy link

wzy816 commented Sep 9, 2021

In http://wiki.ros.org/Names 1.2.1 it says that "There is at most one forward slash ('/')". It is not double-slash, right?

genmsg/src/genmsg/names.py

Lines 131 to 132 in 7d8b6ce

# '//' check makes sure there isn't double-slashes
return m is not None and m.group(0) == name and not '//' in name

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

No branches or pull requests

1 participant