|
From: Jessica B. <jes...@ya...> - 2002-03-14 15:42:07
|
Is there a way to match spaces in a regex inside a url_rewrite_rules parameter, so that you could just do: url_rewrite_rules: (.*)[:space:](.*) \1%20\2 (of course, you'd have to repeat this same rule multiple times to handle multiple spaces) I tried the above rule and it didn't seem to work. Characters inside the [brackets] were taken literally, and thus, the first s, p, a, c, or e were replaced with %20. This may seem like a wimpy work-around, but it could be done without the need to modify any code internally, keeping htdig RFC2396 compliant at the same time. So if you could help me with the regex I would appreciate it. __________________________________________________ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ |