As of #28620, `ResourcePatternHint` exposes its `toRegex` method. The predicates should use it directly and mirror the exact matching behavior. See gh-28555
As of #28620, `ResourcePatternHint` exposes its `toRegex` method. The predicates should use it directly and mirror the exact matching behavior. See gh-28555