Bugs item #1771483, was opened at 2007-08-10 08:56
Message generated for change (Settings changed) made by viciousdog
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1771483&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Regular Expressions
Group: Python 2.5
>Status: Deleted
Resolution: None
Priority: 5
Private: No
Submitted By: viciousdog (viciousdog)
Assigned to: Gustavo Niemeyer (niemeyer)
Summary: another 'nothing to repeat'

Initial Comment:
Hi,

rxSlice = re.compile('\[([^:\]]*):([^:\[]?){1}(:[^:\[]+)?\]')

compiles, but

rxSlice = re.compile('\[([^:\]]*):([^:\[]*){1}(:[^:\[]+)?\]')

produces: >>> error: nothing to repeat
(Python 2.5.1 in idle on Windows XPpro)

Perhaps that 'nothing to repeat' is intended for {x} (i wouldn't like that at 
all), but then it must not differenciate between * and ?.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1771483&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to