Tests paths against pattern, ignoring capitalization: ? and * stay within one path segment, ** spans them. A pattern anchored with a leading / has to match from the start, any other matches at any depth (global.R matches pkg/R/global.R).
pattern
?
*
**
/
global.R
pkg/R/global.R
Tests paths against
pattern, ignoring capitalization:?and*stay within one path segment,**spans them. A pattern anchored with a leading/has to match from the start, any other matches at any depth (global.Rmatchespkg/R/global.R).