[YANGTOOLS-1005] Add support for oc:regexp-posix extension Created: 13/Jun/19  Updated: 28/Oct/21

Status: Confirmed
Project: yangtools
Component/s: parser
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: High
Reporter: Robert Varga Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 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).


Generated at Wed Feb 07 20:54:55 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.