module Regexp::Syntax

def for(name)

version name. The special names 'any' and '*' return Syntax::Any.
Returns the syntax specification class for the given syntax
def for(name)
  (@alias_map ||= {})[name] ||= version_class(name)
end