module Regexp::Expression::Shared

def human_name

default implementation, e.g. "atomic group", "hex escape", "word type", ..
def human_name
  [token, type].compact.join(' ').tr('_', ' ')
end