Optimize macro: Extract string literal with pattern matching instead of context.eval()