autodoc.git/
autodoc.xml
Branch:
Tag:
Non-build tags
All tags
No tags
1996-03-24
1996-03-24 14:17:31 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
2a82fd431964a16091689b7fd8279d5b3c8bc531 (
15
lines) (+
9
/-
6
)
[
Show
|
Annotate
]
Branch:
2a82fd431964a16091689b7fd8279d5b3c8bc531
can not handle examples
Rev: bin/htmlify_docs.lpc:1.3
985:
types</text> <group><seealso/><text>
-
<p><ref resolved='predef::mapping' to='mapping'>mapping</ref>, <ref resolved='predef::list' to='list'>list</ref>, <ref resolved='predef::allocate' to='predef::allocate'>builtin/allocate</ref>
,
<ref resolved='predef::sizeof' to='predef::sizeof'>builtin/sizeof</ref>
and
<
ref resolved='predef::values' to='predef::values'>builtin
/
values</ref></
p>
+
<p><ref resolved='predef::mapping' to='mapping'>mapping</ref>, <ref resolved='predef::list' to='list'>list</ref>, <ref resolved='predef::allocate' to='predef::allocate'>builtin/allocate</ref>
and
<ref resolved='predef::sizeof' to='predef::sizeof'>builtin/sizeof</ref></p>
</text></group> </doc>
2935:
In this list a and b is used to represent a mapping expression: </p> <p><matrix>
-
<r><c> a + b </c><c> summation ( ([1:1]) + ([2:2,2:2]) returns ([1:1,2:2]) ) </c></r>
+
<r><c> a + b </c><c> summation ( ([1:1]) + ([2:2,2:2]) returns ([1:1,2:2
,2:2
]) ) </c></r>
<r><c> a - b </c><c> subtraction, returns a copy of a with all pairs whos index is present in b removed. </c></r> <r><c> a & b </c><c> intersection, return a mapping with all indices that are resent in both a and b, if an index is present in both a & b the data for that index will be taken from b. </c></r> <r><c> a | b </c><c> union, return a mapping with all values that are present in a or b, differs from summation in that values that are present in both a and b are only returned once, as with intersection, data will be taken from b when possible. </c></r>
5486:
<r><c> [abc] </c><c> Matches a, b or c </c></r> <r><c> [a-z] </c><c> Matches any character a to z inclusive </c></r> <r><c> [^ac] </c><c> Matches any character except a and c </c></r>
-
<r><c> (x) </c><c> Matches x (x might be any regexp) </c></r>
-
<r><c> x* </c><c> Matches zero or more occurances of 'x' (x may be
anything
) </c></r>
+
<r><c> (x) </c><c> Matches x (x might be any regexp)
If used with split, this also puts the string matching x into the result array.
</c></r>
+
<r><c> x* </c><c> Matches zero or more occurances of 'x' (x may be
any regexp
) </c></r>
+
<r><c> x+ </c><c> Matches one or more occurances of 'x' (x may be any regexp) </c></r>
<r><c> x|y </c><c> Matches x or y. (x or y may be any regexp) </c></r> <r><c> xy </c><c> Matches xy (x and y may be any regexp) </c></r> <r><c> ^ </c><c> Matches beginning of string (but no characters) </c></r> <r><c> $ </c><c> Matches end of string (but no characters) </c></r>
-
<r><c> <
x>
</c><c>
Used
with
split
()
to
put
the
string
matching
x
into
the
result
array.
</c></r>
+
<r><c>
\
< </c><c>
matches
the
beginning of a word
(
but no characters
)
</c></r>
+
<r><c>
\>
</c><c> matches
the
end
of
a
word
(but
no
characters)
</c></r>
</matrix> </p>
5571:
</p> </tt> <p>Works as regexp->match, but returns an array of the strings that
-
matched the subregexps. Subregexps are those contained in
<
>
in
+
matched the subregexps. Subregexps are those contained in
(
)
in
the regexp. Subregexps that were not matched will contain zero. If the total regexp didn't match, zero is returned.</p> </text>