Skip to content

Invalid regular expression? #16

Description

@TribuneX

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions