Corrected regex-tutorial...

Wenn noch was falsch ist, einfach korrigieren.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@528 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
rramthun 2005-08-13 10:21:22 +00:00
parent 98b028038c
commit da81dcd66a
2 changed files with 3 additions and 1 deletions

View File

@ -78,12 +78,13 @@ Here ist a short overview about the functions, which should fir for most cases:<
<table>
<tr><td>.</td><td>: arbitrary character</td></tr>
<tr><td>x</td><td>: character x</td></tr>
<tr><td>^x</td><td>: not x</td></tr>
<tr><td>[^x]</td><td>: not x</td></tr>
<tr><td>x*</td><td>: 0 or more times x</td></tr>
<tr><td>x?</td><td>: 0 or 1 time x</td></tr>
<tr><td>x+</td><td>: 1 or more times x</td></tr>
<tr><td>xy</td><td>: concatenation of x and y</td></tr>
<tr><td>x|y</td><td>: x or y</td></tr>
<tr><td>(foo|bar)</td><td>: String "foo" or string "bar"</td></tr>
<tr><td>[abc]</td><td>: a or b or c (same as a|b|c)</td></tr>
<tr><td>[a-c]</td><td>: a or b or c (same as above)</td></tr>
<tr><td>x{n}</td><td>: exactly n appearances of x</td></tr>

View File

@ -168,6 +168,7 @@ not x==nicht x
1 or more times x==1 oder mehr Vorkommen von x
concatenation of x and y==Verkettung von x und y
x or y==x oder y
String "foo" or string "bar"==String "foo" oder String "bar"
a or b or c (same as a\|b\|c)==a oder b oder c (dasselbe wie a|b|c)
a or b or c (same as above)==a oder b oder c (dasselbe wie oben)
exactly n appearances of x==genau n Vorkommen von x