Dynamixel/dynashell/dynashell_regex.h
bool Match(const char *sPat)
  {
    if( m_bIsValid && (regexec(&m_regex, sPat, 0, NULL, 0) == 0) )
    {
      return true;
    }
    else
    {
      return false;
    }
  }
/*!
   * \brief Match pattern against regular expression.
   *
   * \param sPat    Null-terminated string pattern.
   *
   * \return Returns true if the pattern matches the expression,
   * false otherwise.
   */
\brief Match pattern against regular expression.
\param sPat    Null-terminated string pattern.

\return Returns true if the pattern matches the expression,
false otherwise.
\ brief Match pattern against regular expression . \ param sPat Null - terminated string pattern . \ return Returns true if the pattern matches the expression false otherwise .
bool Match(const char *sPat)
  {
    if( m_bIsValid && (regexec(&m_regex, sPat, 0, NULL, 0) == 0) )
    {
      return true;
    }
    else
    {
      return false;
    }
  }
bool Match ( const char * sPat ) { if ( m_bIsValid && ( regexec ( & m_regex , sPat , 0 , NULL , 0 ) == 0 ) ) { return true ; } else { return false ; } }
\brief Match pattern against regular expression.
\ brief Match pattern against regular expression .