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

Is it valid for a serial number to have a colon? #7

Open
RossSmyth opened this issue Apr 26, 2022 · 0 comments
Open

Is it valid for a serial number to have a colon? #7

RossSmyth opened this issue Apr 26, 2022 · 0 comments
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@RossSmyth
Copy link
Owner

Currently the USB parser considers a serial number to be done when either:

  1. The str ends
  2. A single colon is met

If a serial number can have a single colon then this is invalid.

Other thoughts:

  • Theoretically the serial number could have two colons as long as the immediate characters after the colons are not numbers. But this sounds too complex for me to think about.
@RossSmyth RossSmyth added bug Something isn't working question Further information is requested labels Apr 26, 2022
@RossSmyth RossSmyth self-assigned this Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant