|
Problem with "\h"
|
|
Jul. 30, 2004, 10:57 AM
Post: #12
|
|||
|
|||
ProxRocks Wrote:Is that going to be included in the next release?Yep ![]() z12 Wrote:It seems that no matter how you cut it, "\h" can't be used reliably with country codes.\h has two functions: to store the hostname and to serve as a domain test. The first function always works, eg: Match = "*" Replace = "\h" . The second function fails on 2-level TLDs, eg: Match = "://(^\h)" . If you store the hostname like "$SET(host=\h)", you are using the first function. If you are storing the real domain in "dom", the intention is to replace the second \h function with eg: Match = "://(^([^/]++.|)$TST(dom))" So here is a test filter, reference site is http://bbc.co.uk/. Result is displayed upper left: Code: [Patterns]Siamesecat: For most sites outside the US the country code is the top level domain. sidki |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
[] - Siamesecat - Jul. 29, 2004, 07:31 AM
[] - Siamesecat - Jul. 29, 2004, 08:18 PM
[] - Siamesecat - Jul. 30, 2004, 08:23 AM
[] - sidki3003 - Jul. 30, 2004 10:57 AM
[] - Siamesecat - Jul. 30, 2004, 11:56 PM
|

Search
Member List
Calendar
Help






![[-]](images/ONi/collapse.gif)