A better RE?
Jim
jhefferon at smcvt.edu
Fri Mar 10 07:38:56 EST 2006
Eddie Corns wrote:
> Just a small point - what does "in order" mean here? if it means that eg 1362
> is not valid then you're stuck because it's context sensitive and hence not
> regular.
I'm not seeing that. Any finite language is regular -- as a last
resort you could list all ascending sequences of 7 or fewer digits (but
perhaps I misunderstood the original poster's requirements).
Jim
More information about the Python-list
mailing list