add matcher to find closing char