How to write this regular expression?
Fredrik Lundh
fredrik at pythonware.com
Thu May 5 16:16:10 EDT 2005
"D H" <a at b.c> wrote:
> > Why do you think you need a regular expression?
> >
> > If another approach that involved no regular expressions worked much
> > better, would you reject it for some reason?
>
> A regular expression will work fine for his problem.
> Just match the digits separated by underscores using a regular
> expression, then afterward check if the values are valid.
you forgot to mention Boo here, Doug. nice IronPython announcement,
btw. the Boo developers must be so proud of you.
</F>
More information about the Python-list
mailing list