<!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]#': Regex Test< / title >
#%env/templates/metas.template%#
< / head >
< body id = "IndexCreate" >
#%env/templates/header.template%#
#%env/templates/submenuTargetAnalysis.template%#
< h2 > Regex Test< / 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 > < br / >
This is a < a href = "https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html" target = "_blank" > Java Pattern< / a >
< / 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" class = "btn btn-primary" / >
< / dd >
< / dl >
< / form >
< / fieldset >
#%env/templates/footer.template%#
< / body >
< / html >