Re: [Bulk] Re: [Bulk] Re: [Bulk] Re: Scheduled build always say build not required

gnugy <[email protected]> Tue, 04 Apr 2006 11:19:04 -0400
Newsgroups gmane.comp.java.anthill
Message-ID <[email protected]>
Jim Hague wrote:

>On Tuesday 4 April 2006 05:32, gnugy wrote:
>  
>
>>My Regular Expressions are a little rusty my interpretation of
>>the pattern is that it will match any line that starts with
>>an r, followed by 1 or more digits.  Then a space followed by a pipe(|).
>>This is followed by another space then any number of non-whitespace
>>characters.  Followed again by space, pipe, space.  Followed by
>>1 or more characters that aren't ('s.
>>    
>>
>
>That's correct. You're obviously not *that* rusty :-)
>
>  
>
>>If this is the case then I thought the problem was with the
>>fact that my author, I have "(no author)", contains a space.
>>    
>>
>
>Ahhhhh! Or, indeed, aaarrgggghhhhh! Yes, that would indeed cause the problem. 
>I didn't realise this was possible. Having checked the Subversions FAQ, do I 
>assume someone is accessing the repository via anonymous write acces to 
>Apache?
>
>  
>
>>So the space would break the (\\S+) part of the expression but this
>>isn't followed by a ' | '.  So I tried replacing the  expression with:
>>
>>"^r(\\d+) \\| ([^\\|]+)\\| ([^\\(]+)"
>>
>>Running with this expression worked, awesome, thanks for your help.
>>    
>>
>
>Good news, and thank you for your persistence and getting to the bottom of 
>this.
>
>I'll redo the regular expression along the lines you outlined and send a patch 
>to Urbancode.
>
>(I know that in one sense I should be using the 'svn log' XML output here. But 
>frankly, I don't want to haul in an XML parser when parsing the regular 
>output via REs is so quick and easy).
>  
>
Well, it was rusty until I opened the RE's API and sifted through the 
expression with a fine toothed comb.  I was
accessing Subversion using Subclipse, the Eclipse plugin and I am only 
running the lowly svnserve utility for my access.

Anyway, thanks alot for you help, I wouldn't have figured it out were it 
not for you pointing me in the right direction.
Take care, Philip.

_______________________________________________
Anthill mailing list
Anthill-IWHQxnLZ/[email protected]
http://lists.urbancode.com/mailman/listinfo/anthill