In some nodes you’ll need multiple backslashes in order to escape special characters. See here for more. In your example to match asteriks this is expression: $name$ MATCHES /\\*.*/ => TRUE
Besides standard nodes, for dealing with regex you might find Regex Extractor useful: