Question about url convert

2003-10-14 Thread Sergey Vasilevsky
Have wget any rules to convert retrive url to store url?
Or may be in future?

For example:
Get - site.com/index.php?PHPSESSID=123124324 
Filter - /PHPSESSID=[a-z0-9]+//i
Save as - site.com/index.php


Re: Question about url convert

2003-10-14 Thread Hrvoje Niksic
Sergey Vasilevsky [EMAIL PROTECTED] writes:

 Have wget any rules to convert retrive url to store url?  Or may be
 in future?

 For example:
 Get - site.com/index.php?PHPSESSID=123124324 
 Filter - /PHPSESSID=[a-z0-9]+//i
 Save as - site.com/index.php

The problem with this is that it would require the use of a regexp
library, which I'm trying to avoid for Wget.  There are many different
regexp libraries, many with incompatible syntaxes and interfaces, and
a full-blown regexp library is just too large to carry around with a
program like Wget.

If you can think of a way to get that kind of functionality with
something that is not based on regexps, it will have a much better
chance of getting in.