What I’m doing
I’m currently parsing Monday board URLs to get their board IDs.
I can see that the board IDs that I happen to be working with are strings of 9 digits, like
When I parse a URL, I’d like to be able to match against the ID spec so I know that what I have is an ID.
Grabbing the ID from its expected position in the URL (
url.split("/")) isn’t enough, since I need to guard against user input errors.
What I’m wondering about
Is string-of-9-digits a convention I can rely on for IDs? Will IDs ever:
- Include alphabet characters?
- Include punctuation or special characters?
- Vary in length?