Tom Plagge on Fri, 3 Dec 2004 12:49:51 -0600 (CST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [nimh-dev] More stuff


> I don't understand nimh_sequence.parse_sequence(). Why are you splitting on 
> commas? There shouldn't be any commas in a sequence.

You can't do "show 5,6,8-25" ?  It seems like you should be able to.
 
> Also, your test for ranges won't work if the range contains a non-numeric 
> message name. Were you intending that ranges be completely validated in 
> parse_sequence?

Yeah, I've basically set that up to add by putting in a folder.get_last_message
and folder.get_cur_message and so on, but I didn't add the functionality 
because it seemed like you had a better feel for sequence parsing than I did.
-t

________________________________________________________________________

Tom Plagge                              UC Berkeley Physics Dept.
351 LeConte Hall                        Voice: (510) 643-1650
Berkeley, CA  94720                     Email: tplagge@xxxxxxxxxxxxxxxxx
________________________________________________________________________

_______________________________________________
nimh-dev mailing list
nimh-dev@xxxxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/nimh-dev