case-insensitive path matching