Package pyparsing :: Module pyparsing :: Class WordStart
[frames | no frames]

Type WordStart

   object --+            
            |            
ParserElement --+        
                |        
            Token --+    
                    |    
       _PositionToken --+
                        |
                       WordStart


Matches if the current position is at the beginning of a Word, and is not preceded by any character in a given set of wordChars (default=printables). To emulate the  behavior of regular expressions, use WordStart(alphanums). WordStart will also match at the beginning of the string being parsed, or at the beginning of a line.
Method Summary
  __init__(self, wordChars)
  parseImpl(self, instring, loc, doActions)
Inherited from Token: setName
Inherited from ParserElement: __add__, __and__, __call__, __eq__, __getattr__, __invert__, __mul__, __or__, __radd__, __rand__, __repr__, __req__, __rmul__, __ror__, __rxor__, __str__, __xor__, addParseAction, checkRecursion, copy, enablePackrat, getException, ignore, leaveWhitespace, parseFile, parseString, parseWithTabs, postParse, preParse, resetCache, scanString, searchString, setBreak, setDebug, setDebugActions, setDefaultWhitespaceChars, setFailAction, setParseAction, setResultsName, setWhitespaceChars, streamline, suppress, transformString, tryParse, validate
Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variable Summary
Inherited from ParserElement: DEFAULT_WHITE_CHARS

Generated by Epydoc 2.1 on Sun Feb 10 18:01:07 2008 http://epydoc.sf.net