summaryrefslogtreecommitdiff
path: root/htroot/RegexTest.html
blob: 76a2ca81232b28b5f2151dbfb7ba5893c7a7f9f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!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>