Skip to content
Permalink
Browse files

fix

  • Loading branch information
alex committed Jul 7, 2013
1 parent 61ba7f8 commit 0861fc0c927e521526496e98e4868648556d425f
Showing with 2 additions and 3 deletions.
  1. +2 −3 topaz/utils/regexp.py
@@ -1258,14 +1258,13 @@ def _parse_property(source, info, positive, in_set):

def _parse_property_name(source):
b = StringBuilder(5)
here = source.pos
while True:
pos2 = source.pos
here = source.pos
ch = source.get()
if ch.isalnum():
b.append(ch)
else:
source.pos = pos2
source.pos = here
break
name = b.build()
return name, name

0 comments on commit 0861fc0

Please sign in to comment.