I mean can I just replace PHPSESSID with  
(PHPSESSID|SESSIONID|JSESSIONID|SID)?

Dima Mazmanov wrote:
> Hi have one question.
>
> <regex>
>  <pattern>(\?|\&amp;|\&amp;amp;)PHPSESSID=[a-zA-Z0-9]{32}$</pattern>
>  <substitution></substitution>
> </regex>
> <regex>
>  
> <pattern>(\?|\&amp;|\&amp;amp;)PHPSESSID=[a-zA-Z0-9]{32}(\&amp;|\&amp;amp;)(.*)</pattern>
>  
>
>  <substitution>$1$3</substitution>
> </regex>
> <regex>
>
> this pattern is set by default
> Can I extend it  like this
>
> <regex>
>  
> <pattern>(\?|\&amp;|\&amp;amp;)*(PHPSESSID|SESSIONID|JSESSIONID|SID)*=[a-zA-Z0-9]{32}$</pattern>
>  
>
>  <substitution></substitution>
> </regex>
> <regex>
>  
> <pattern>(\?|\&amp;|\&amp;amp;)*(PHPSESSID|SESSIONID|JSESSIONID|SID)*=[a-zA-Z0-9]{32}(\&amp;|\&amp;amp;)(.*)</pattern>
>  
>
>  <substitution>$1$3</substitution>
> </regex>
> <regex>
>
>
> __________ NOD32 1.1787 (20061002) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>

-------------------------------------------------------------------------
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

Reply via email to