docs: def match(m_templ, *m_args):
      """
      :param m_templ: a meta template string
      :param m_args: all arguments
      :returns: template, args
  
      Here is an example of usage:
  
      >>> match('SELECT * FROM job WHERE id=?x', 1)
      ('SELECT * FROM job WHERE id=?', (1,))
      """
      # strip commented lines
      m_templ = '\n'.join(line for line in m_templ.splitlines()
                          if not line.lstrip().startswith('--'))
      if not m_args:
          return m_templ, ()
      try:
          return _Replacer(m_args).match(m_templ)
      except IndexError:
          raise ValueError('Incorrect number of ?-parameters in %s, expected %s'
                           % (m_templ, len(m_args)))