Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1005

Add support for oc:regexp-posix extension

    XMLWordPrintable

Details

    • New Feature
    • Status: Confirmed
    • High
    • Resolution: Unresolved
    • None
    • None
    • parser
    • None

    Description

      As noted in the long discussion in https://github.com/openconfig/public/issues/44 , OpenConfig now tags its modules with a specific extension:

      https://github.com/openconfig/public/blob/master/release/models/openconfig-extensions.yang#L106

      like this:

      https://github.com/openconfig/public/blob/master/release/models/stp/openconfig-spanning-tree-types.yang#L72

      This allows us to modify our parser logic to interpret pattern statement arguments as POSIX patterns rather than XSD patterns, thus fixing the $/^ issue (and others).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: