Hi, is there any pattern matching function in macro.