Correctly handle escaped * chars at end of texture name patterns.