RE: Re: svn commit: rev 163 - trunk/subversion/tests/clients/cmdline/svntest
From: Bill Tutt <rassilon_at_lyra.org>
Date: 2001-09-28 18:43:21 CEST
Yep, definitely.
Bill
"Though we are not now that strength that in old days moved Earth and
-----Original Message-----
Bill Tutt wrote:
>A faster regular expression would be: "^(..)(.)([^\d]+)(\d+)\s+(.+)"
>and no more. Anything else can get you into trouble.
^(..)(.)\s+(\*\s+)?(\d+)\s+(.+)$
You /know/ that the third column is an optional asterisk, so you might
undef", or whatever the Python equivalent is. And it make sense to
tells the reader that you really do want to match the whole line. That's
useful documentation, IMHO.
-- Brane Čibej <brane_at_xbc.nu> http://www.xbc.nu/brane/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Sat Oct 21 14:36:42 2006 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.