Commit 3e1ebd8
sdf: Fix a bug where we were not correctly handling path patterns with
"bare predicates" following stretch, like `//{pred}...`.
For example, the pattern `/foo//{pred}/bar` should match the path
`/foo/bar` if `/foo` passes {pred}. The way that matching proceeds is
to split patterns into components by //, and match the components. The
previous code assumed that components could not overlap, which is true
*except* in just this one case. So now for segments that start with
bare predicates (i.e. //{pred}/...) we look for matches that overlap by
one with the prior component.
(Internal change: 2358827)1 parent 7e66c10 commit 3e1ebd8
File tree
4 files changed
+391
-213
lines changed- pxr/usd/sdf
- testenv
4 files changed
+391
-213
lines changed
0 commit comments