Next / Previous / Contents / Shipman's homepage

36. Scan.deblankLine(): Skip whitespace on the current line

logscan.py
# - - -   S c a n . d e b l a n k L i n e

    def deblankLine(self):
        '''Skip blanks on the current line
        '''

See Section 9.4, “WHITE_PATTERN for the regular expression that matches zero or more whitespace characters.

logscan.py
        self.tabReMatch(WHITE_PATTERN)