original_string: function addPattern($pattern, $mode = "accept") {
              if (!isset($this->_regexes[$mode])) {
                  $this->_regexes[$mode] = new ParallelRegex($this->_case);
              }
              $this->_regexes[$mode]->addPattern($pattern);
          }
code: function addPattern($pattern, $mode = "accept") {
              if (!isset($this->_regexes[$mode])) {
                  $this->_regexes[$mode] = new ParallelRegex($this->_case);
              }
              $this->_regexes[$mode]->addPattern($pattern);
          }
code_tokens: function addPattern ( $ pattern , $ mode = "accept" ) { if ( ! isset ( $ this -> _regexes [ $ mode ] ) ) { $ this -> _regexes [ $ mode ] = new ParallelRegex ( $ this -> _case ) ; } $ this -> _regexes [ $ mode ] -> addPattern ( $ pattern ) ; }
docstring: Adds a token search pattern for a particular
  parsing mode. The pattern does not change the
  current mode.
  @param string $pattern      Perl style regex, but ( and )
  lose the usual meaning.
  @param string $mode         Should only apply this
  pattern when dealing with
  this type of input.
  @access public
docstring_tokens: Adds a token search pattern for a particular parsing mode . The pattern does not change the current mode .