variables can not be used to define nodes, but variables can be embedded in Ruby-like regex using the #{variable} syntax. Use ^ and $ anchors to help prevent partial matches.