Add regex tests for openconfig-yang-types.yang #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tests for both posix-pattern and XSD patterns all pass on https://github.com/openconfig/models/pull/920.
NOTE: Failures are expected in the demo runs on openconfig/public since the patterns themselves are being changed/fixed.
Demo openconfig/public output on
posix-pattern(this table will be automatically posted for both posix-pattern and pattern once #11 is merged:date-and-timedate-and-time0000-01-01T00:00:00Zdid not matchdate-and-timedate-and-time9999-12-31T23:59:59Zdid not matchdate-and-timedate-and-time1985-04-12T23:20:50.52Zdid not matchdate-and-timedate-and-time2001-04-12T23:20:50.42424242Zdid not matchdate-and-timedate-and-time1996-12-19T16:39:57-08:00did not matchdate-and-timedate-and-time2006-12-20T00:39:57Zdid not matchdate-and-timedate-and-time1937-01-01T12:00:27.87+00:20did not matchdate-and-timedate-and-time0000-01-01T00:00:00+00:00did not matchdate-and-timedate-and-time0000-01-01T00:00:00-00:00did not matchdate-and-timedate-and-time1990-12-31T23:59:60Zdid not matchdate-and-timedate-and-time1990-12-31T15:59:60-08:00did not matchdatedate0000-00-01matched but shouldn'tdatedate0000-01-00matched but shouldn'tdatedate0000-13-01matched but shouldn'tdatedate0000-20-01matched but shouldn'tdatedate0000-33-01matched but shouldn'tdatedate0000-01-32matched but shouldn'tdatedate0000-01-40matched but shouldn'tAll XSD tests fail since the tests currently have anchors.