So this should work: 
"^r(ev )?(\\d+):\\s+" +             // revision number


?--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/



Mikael Lundgren <[EMAIL PROTECTED]> wrote on 21/11/2003 02:25:49 
AM:

> J�rg Schaible wrote:
> >>Now I officially give up :-( This is starting to take way too
> >>much time
> >>for something that someone with better knowledge about regexp probably
> >>can fix in minutes.
> > 
> > 
> > Should work: 
> >          "^r(ev)? (\\d+):\\s+" +             // revision number
> > 
> > Regards,
> > J�rg
> > 
> 
> Thanks!
> 
> It almost does the trick...
> 
> However a log line may look like this (only the relevant portion is 
shown):
> 
> r15 |  kaz | 2002-08-26 14:33:26 -0400
> 
> OR like this:
> 
> rev 15:  kaz | 2002-08-26 14:33:26 -0400
> 
> Note the spaces around the version number.
> 
> Regards
> /Mikael Lundgren
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to