add new syntax support to patternaction

new syntax | in pattern and action