module Regexp::Syntax

def self.new(name)

instance of Syntax::Any. See below for more details.
the given syntax flavor name. The special names 'any' and '*' returns a
Loads, and instantiates an instance of the syntax specification class for
def self.new(name)
  return Regexp::Syntax::Any.new if
    ['*', 'any'].include?( name.to_s )
  self.load(name)
  self.instantiate(name)
end