--- parser3/www/htdocs/Attic/_bug.html 2004/03/10 10:42:12 1.31 +++ parser3/www/htdocs/Attic/_bug.html 2004/05/12 10:16:50 1.44 @@ -1,10 +1,9 @@ -@main[] -$request:charset[windows-1251] -$response:charset[windows-1251] -$response:content-type[text/html] +$str[Mozilla/4.0 (compatible^; MSIE 5.5^; Windows NT 5.0^; .NET CLR 1.1.4322^; .NET CLR 1.0.3705)] -$xdoc[^xdoc::load[_bug.xml]] -#^xdoc.string[] -$xdoc.search-namespaces.x[http://pif.design.ru/] -$nodes[^xdoc.select[//x:second]] -^nodes._count[] +$t[^str.match[yandex][i]] + +^if(def $t){ + found +}{ + not found +} \ No newline at end of file