On 12/29/06, Alan Tanaman <[EMAIL PROTECTED]> wrote: > Hope that does the trick (haven't actually tested it though...)
Thanks Alan. I will implement it tomorrow and test it out to see if all is ok. I'll let you know how it all went. Regards Justin > Justin, > > Normally, you can include the hyphen at the start (or end) of the [], so it > is considered a hyphen and not a range marker. However, I have rewritten > the regex a little so that it conforms to a few rules: > > There should be at least one subdomain level: Each subdomain level should > be at least one character or digit, followed by zero or more of (hyphen > followed by at least one character or digit), followed by period/full stop. > > Therefore, the hyphen is now outside the [] anyway (it must be surrounded by > digit(s) or character(s), so cannot be within the []: > +^http://([a-z0-9]+(-[a-z0-9]+)*\.)+co.uk/ > > > Best regards, > Alan > _________________________ > Alan Tanaman > iDNA Solutions > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nutch-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nutch-general
