> The general syntax is: define_client_redirect(name, from, to); > > The argument 'from' may be either a regexp or a function. If it is a > regexp, a 'to' procedure must be given to transform the result of the > match into a new url. If it is a function, the function should return the > new url itself.
I presume that if the function returns null then no transform takes place (i,e, the next redirect function is tried or the original url is used). It seems a little confusing that the transform can go in either argument, depending on usage. How about: define_client_redirect(name, transform, predicate) where the transform is a function and the predicate is an optional regexp. Regards, David _______________________________________________ Conkeror mailing list [email protected] https://www.mozdev.org/mailman/listinfo/conkeror
