You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by ravi_network <ra...@gmail.com> on 2007/04/04 13:04:48 UTC
Query on regular expression
Hi Nutch Users,
I have a task to crawl a specific URLS in a web site, the examples of urls
are
http://www.example.com/A123456
http://www.example.com/B213456
http://www.example.com/C666666
http://www.example.com/D124555
http://www.example.com/E123124
the regular expression what I have written is
+^http://www.example.com/[A-Z][0-9]*$
is there any problem with the expression, I am not able to crawl the pages.
Please help me on this
ThankYou,
Ravi
--
View this message in context: http://www.nabble.com/Query-on-regular-expression-tf3525170.html#a9834900
Sent from the Nutch - User mailing list archive at Nabble.com.
Re: Query on regular expression
Posted by ravi_network <ra...@gmail.com>.
Hi Ravi,
Thanks for your reply,
I removed $ and checked I am able to crawl whole site. I think there is some
problem with my configuration, I will check it again.
ravi_network wrote:
>
> Hi Nutch Users,
> I have a task to crawl a specific URLS in a web site, the examples of urls
> are
>
> http://www.example.com/A123456
> http://www.example.com/B213456
> http://www.example.com/C666666
> http://www.example.com/D124555
> http://www.example.com/E123124
>
> the regular expression what I have written is
> +^http://www.example.com/[A-Z][0-9]*$
>
> is there any problem with the expression, I am not able to crawl the
> pages. Please help me on this
>
> ThankYou,
> Ravi
>
--
View this message in context: http://www.nabble.com/Query-on-regular-expression-tf3525170.html#a9841988
Sent from the Nutch - User mailing list archive at Nabble.com.
Re: Query on regular expression
Posted by Ravi Chintakunta <ra...@gmail.com>.
Try removing the $ at the end of the regex.
- Ravi Chintakunta
On 4/4/07, ravi_network <ra...@gmail.com> wrote:
>
> Hi Nutch Users,
> I have a task to crawl a specific URLS in a web site, the examples of urls
> are
>
> http://www.example.com/A123456
> http://www.example.com/B213456
> http://www.example.com/C666666
> http://www.example.com/D124555
> http://www.example.com/E123124
>
> the regular expression what I have written is
> +^http://www.example.com/[A-Z][0-9]*$
>
> is there any problem with the expression, I am not able to crawl the pages.
> Please help me on this
>
> ThankYou,
> Ravi
> --
> View this message in context: http://www.nabble.com/Query-on-regular-expression-tf3525170.html#a9834900
> Sent from the Nutch - User mailing list archive at Nabble.com.
>
>