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

Invalid regular expression? #16

Open
TribuneX opened this issue Nov 9, 2020 · 1 comment
Open

Invalid regular expression? #16

TribuneX opened this issue Nov 9, 2020 · 1 comment

Comments

@TribuneX
Copy link

TribuneX commented Nov 9, 2020

I am trying to use the provided models for 19.2R1 with libyang. However, some regular expressions cannot be processed by libyang. They just seem to be invalid:

description "DSCP-IPV6 code point";
              type union {
                type string {
                  pattern "\*";
                }
                type string;
              }

Shouldn't be "\*" just ".*"? This pattern is used at multiple places in junos-conf-class-of-service and junos-conf-dynamic-profiles.

@rampolisetty
Copy link

We will check this.

-Rama

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

2 participants