parameters: (self, testString, parseAll=True)
docstring: Method for quick testing of a parser against a test string. Good for simple 
          inline microtests of sub expressions while building up larger parser.
             
          Parameters:
           - testString - to test against this expression for a match
           - parseAll - (default=C{True}) - flag to pass to C{L{parseString}} when running tests
              
          Example::
              expr = Word(nums)
              assert expr.matches("100")
docstring_summary: Method for quick testing of a parser against a test string. Good for simple 
          inline microtests of sub expressions while building up larger parser.
             
          Parameters:
           - testString - to test against this expression for a match
           - parseAll - (default=C{True}) - flag to pass to C{L{parseString}} when running tests
              
          Example::
              expr = Word(nums)
              assert expr.matches("100")
docstring_tokens: Method for quick testing of a parser against a test string . Good for simple inline microtests of sub expressions while building up larger parser . Parameters : - testString - to test against this expression for a match - parseAll - ( default = C { True } ) - flag to pass to C { L { parseString }} when running tests Example :: expr = Word ( nums ) assert expr . matches ( 100 )
function: def matches(self, testString, parseAll=True):
          """
          Method for quick testing of a parser against a test string. Good for simple 
          inline microtests of sub expressions while building up larger parser.
             
          Parameters:
           - testString - to test against this expression for a match
           - parseAll - (default=C{True}) - flag to pass to C{L{parseString}} when running tests
              
          Example::
              expr = Word(nums)
              assert expr.matches("100")
          """
          try:
              self.parseString(_ustr(testString), parseAll=parseAll)
              return True
          except ParseBaseException:
              return False
function_tokens: def matches ( self , testString , parseAll = True ) : try : self . parseString ( _ustr ( testString ) , parseAll = parseAll ) return True except ParseBaseException : return False