[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: a few problems with vss2svn

From: Olaf Dietsche <olaf+list.subversion-users_at_olafdietsche.de>
Date: 2004-06-05 11:03:16 CEST

Ulrich Eckhardt <eckhardt@satorlaser.com> writes:

> time, the output then is:
> User: Eckhardt Date: 3.06.04 Time: 10:40
> Note: the date is today, i.e. 2004-06-03 in ISO, at 10:40 in the morning.
> I already found what seems to look like the regex that extracts the date, but
> I fail to make any sense of perl. Is there a guru that could create a regex
> from above info?

This will extract the info into the corresponding variables:
my($user, $date, $time) = m/user:\s*(\S+)\s+date:\s*(\S+)\s+time:\s*(\S+)/i;

Then, you need to parse the date and time and convert it to an
appropriate format.

Regards, Olaf.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jun 5 11:04:32 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.