File Transformation only runs the callbacks whose pattern string equals the requested path, so the anchored pattern was skipped whenever another plugin had registered the plain one. Script chunks that match the pattern as a regex are returned unchanged.