original_string: function addPattern($pattern, $label = true) {
              $count = count($this->_patterns);
              $this->_patterns[$count] = $pattern;
              $this->_labels[$count] = $label;
              $this->_regex = null;
          }
code: function addPattern($pattern, $label = true) {
              $count = count($this->_patterns);
              $this->_patterns[$count] = $pattern;
              $this->_labels[$count] = $label;
              $this->_regex = null;
          }
code_tokens: function addPattern ( $ pattern , $ label = true ) { $ count = count ( $ this -> _patterns ) ; $ this -> _patterns [ $ count ] = $ pattern ; $ this -> _labels [ $ count ] = $ label ; $ this -> _regex = null ; }
docstring: Adds a pattern with an optional label.
  @param string $pattern      Perl style regex, but ( and )
  lose the usual meaning.
  @param string $label        Label of regex to be returned
  on a match.
  @access public
docstring_tokens: Adds a pattern with an optional label .