reinstated accidentally deleted regex.

git-svn-id: svn://svn.code.sf.net/p/fonttools/code/trunk@78 4cde692c-a291-49d1-8350-778aa11640f8
This commit is contained in:
Just 2000-02-01 15:54:37 +00:00
parent af5694e3e0
commit b263e4d118

View File

@ -184,6 +184,9 @@ _token = "(%s)|(%s)|(%s)" % (_instruction, _number, _comment)
_tokenRE = re.compile(_token)
_whiteRE = re.compile(r"\s*")
_pushCountPat = re.compile(r"[A-Z][A-Z0-9]*\s*\[.*?\]\s*/\* ([0-9]*).*?\*/")
def _skipWhite(data, pos, _whiteRE=_whiteRE):
m = _whiteRE.match(data, pos)
newPos = m.regs[0][1]