Commits

clach04 committed 5f053f3 Draft

Final ur (unicode regex) literal replacement to normal unicode escaped string.

Comments (0)

Files changed (1)

python/pottymouth.py

     TokenMatcher('DASH'       , '(' + white + '*-' + white + '+)(?=\S+)'             ),
     TokenMatcher('NUMBERED'   , '(' + white + r'*\d+(\.\)?|\))' + white + '+)(?=\S+)'),
     TokenMatcher('ITEMSTAR'   , '(' + white + r'*\*' + white + '+)(?=\S+)'           ),
-    TokenMatcher('BULLET'     , '(' + white + ur'*\u2022' + white + '+)(?=\S+)'      ),
+    TokenMatcher('BULLET'     , '(' + white + u'*\u2022' + white + '+)(?=\S+)'      ),
 
     TokenMatcher('UNDERSCORE' , r'(_)' ),
     TokenMatcher('STAR'       , r'(\*)'),