convert sigil to macro, for pattern matching