mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
a30653a864
parser/crawler error page whenever a problem with regular expression occurs. This makes it easy to correct and enhance the must-match and must-not-match patterns just by trying out which pattern could be correct.
40 lines
1.4 KiB
HTML
40 lines
1.4 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Crawl Start</title>
|
|
#%env/templates/metas.template%#
|
|
</head>
|
|
<body id="IndexCreate">
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuIndexCreate.template%#
|
|
<h2>RegexTest</h2>
|
|
<fieldset>
|
|
<form method="get" action="RegexTest.html" accept-charset="UTF-8">
|
|
<dl>
|
|
<dt>
|
|
<label>Test String</label>
|
|
</dt>
|
|
<dd>
|
|
<input name="text" id="text" type="text" size="80" maxlength="256" value="#[text]#" style="font-size:16px"/>
|
|
</dd>
|
|
<dt>
|
|
<label>Regular Expression</label>
|
|
</dt>
|
|
<dd>
|
|
<textarea name="regex" id="regex" cols="80" rows="5" style="font-size:16px">#[regex]#</textarea>
|
|
</dd>
|
|
<dt>
|
|
<label>Result</label>
|
|
</dt>
|
|
#(match)#<dd><img src="/env/grafics/nok.png"> no match</dd>::<dd><img src="/env/grafics/ok.png"> match</dd>::<dd><img src="/env/grafics/bad.png"> error in expression: #[error]#</dd>#(/match)#
|
|
<dt></dt>
|
|
<dd>
|
|
<input name="submit" id="submit" type="submit" />
|
|
</dd>
|
|
</dl>
|
|
</form>
|
|
</fieldset>
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|