Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release > by-pkgid > 1629a6f4b25c221fb6dad0dad639b7ea > files > 106

worker-3.8.5-1.mga6.i586.rpm

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <meta name="Author" content="Ralf Hoffmann">
 <title>Edit Filetype</title>
 <link rel="contents" href="sidemap.html" title="Content">
 <link rel="start" href="index.html" title="Index">
 <link rel="index" href="index.html" title="Index">
 <link rel="prev" href="config6-1-1-1.html" title="">
 <link rel="next" href="config6-4.html" title="">
 <link rel="chapter" href="introduction.html" title="Introduction">
 <link rel="chapter" href="installation.html" title="Installation">
 <link rel="chapter" href="config.html" title="Configuration">
 <link rel="chapter" href="usage.html" title="Usage">
 <link rel="chapter" href="function.html" title="Function overview">
 <link rel="chapter" href="todo.html" title="TODO">
 <link rel="chapter" href="changelog.html" title="ChangeLog">


<link rel=stylesheet type="text/css" href="style.css">
</head>
<BODY ALINK="darkblue" BACKGROUND="../pics/winback.png" BGCOLOR="#8E8E8E" LINK="darkblue" TEXT="#000000" VLINK="darkblue">
<center>
<h1>
 <b>
  <i>Edit Fileytype - Extented Test</i>
 </b>
</h1><br><br>
<IMG SRC="../pics/wcft-04-en.png" ALT="Edit Fileytype" WIDTH="423" HEIGHT="477"></center>
<p>The extented test allows for a much more detailed filetype description than the pattern or filecontent alone. In the text area enter a conditional expression similar to the &quot;if&quot; used in several programming languages. Using this expression different conditions can be checked and logically connected with each other.
</p>
<p>Conditions can be put in parentheses and logically connected using &amp;&amp; or || (&amp;&amp; means AND-connection, i.e., both expressions need to be true; || means OR-connection, i.e., at least one of both expressions need to be true).
</p>
<p>The conditions can be compared using &lt;, &lt;=, ==, &gt;=, &gt;, != (lower, lower equal, equal, greater equal, greater, not equal). Additional it is possible to use ~= to compare strings using regular expressions.
</p>
<p>The available functions to describe the conditions can also be added to the text area when clicking on button <b>1</b> and select them from the requester which also describes the functions.
</p>
<p>Using using &quot;${}&quot; bzw. &quot;?{}&quot; it is even possible to use the output of external programs to describe the filetype. If the internal functions are not enough to describe the filetype, any external program can be used to extent the test.
</p>
<p>
 <ol start=2>
  <li>If set the extented test will be used for recognition</li>
  <li>This buttons shows a short help about using the tests</li>
 </ol>
</p>
<p>
The other tabs are described here: <a href="config6-1.html">Pattern</a>, <a href="config6-2.html">Filecontent</a> and <a href="config6-4.html">Colors</a>. &quot;Flags&quot; are currently not used.
</p>
<center><HR>
<a href="config6.html"><b>Goto filetypes</b></a><br>
<a href="config.html"><b>Goto Configuration</b></a><br>
<a href="index.html"><b>Home</b></a></center>
</body>
</html>