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

.regexp control statements raise false error #220

Open
sherifhanna-google opened this issue Feb 23, 2024 · 1 comment
Open

.regexp control statements raise false error #220

sherifhanna-google opened this issue Feb 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working vscode extension
Milestone

Comments

@sherifhanna-google
Copy link

For this example statement from the CBOR RFC 8610 in section 3.8.3:

nai = tstr .regexp "[A-Za-z0-9]+@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)+"

The following error is raised:

image

Expected rule identifier followed by an assignment token `=`, `=/`, or `=//` cddl 
Target text string must match XSD regex value in the control type
@anweiss anweiss added bug Something isn't working vscode extension labels Mar 14, 2024
@anweiss anweiss self-assigned this Mar 14, 2024
@anweiss anweiss added this to the Backlog milestone Mar 14, 2024
@anweiss
Copy link
Owner

anweiss commented Mar 14, 2024

Thanks for reporting this. Looks to be confined to just the Visual Studio Code extension. Otherwise, doesn't seem to be related to the main library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vscode extension
Projects
None yet
Development

No branches or pull requests

2 participants