reference/expect/functions/expect-expectl.xml
aa1da6d204935d3288d1ab49b83401d63b13ed62
...
...
@@ -78,13 +78,13 @@
78
78
<entry>integer</entry>
79
79
<entry>
80
80
pattern type, one of:
81
-
<link linkend="constants.expect.exp-glob"><constant>EXP_GLOB</constant></link>,
82
-
<link linkend="constants.expect.exp-exact"><constant>EXP_EXACT</constant></link>
81
+
<link linkend="constant.exp-glob"><constant>EXP_GLOB</constant></link>,
82
+
<link linkend="constant.exp-exact"><constant>EXP_EXACT</constant></link>
83
83
or
84
-
<link linkend="constants.expect.exp-regexp"><constant>EXP_REGEXP</constant></link>
84
+
<link linkend="constant.exp-regexp"><constant>EXP_REGEXP</constant></link>
85
85
</entry>
86
86
<entry>no</entry>
87
-
<entry><link linkend="constants.expect.exp-glob"><constant>EXP_GLOB</constant></link></entry>
87
+
<entry><link linkend="constant.exp-glob"><constant>EXP_GLOB</constant></link></entry>
88
88
</row>
89
89
</tbody>
90
90
</tgroup>
...
...
@@ -102,10 +102,10 @@
102
102
</para>
103
103
<para>
104
104
On failure this function returns:
105
-
<link linkend="constants.expect.exp-eof"><constant>EXP_EOF</constant></link>,
106
-
<link linkend="constants.expect.exp-timeout"><constant>EXP_TIMEOUT</constant></link>
105
+
<link linkend="constant.exp-eof"><constant>EXP_EOF</constant></link>,
106
+
<link linkend="constant.exp-timeout"><constant>EXP_TIMEOUT</constant></link>
107
107
or
108
-
<link linkend="constants.expect.exp-fullbuffer"><constant>EXP_FULLBUFFER</constant></link>
108
+
<link linkend="constant.exp-fullbuffer"><constant>EXP_FULLBUFFER</constant></link>
109
109
</para>
110
110
</refsect1>
111
111
<refsect1 role="changelog">
...
...
@@ -121,7 +121,7 @@
121
121
</thead>
122
122
<tbody>
123
123
<row>
124
-
<entry>0.2.1</entry>
124
+
<entry>PECL expect 0.2.1</entry>
125
125
<entry>
126
126
Prior to version 0.2.1, in <parameter>match</parameter> parameter a match string was returned,
127
127
not an array of match substrings.
...
...
@@ -163,7 +163,7 @@ while (true) {
163
163
case EXP_EOF:
164
164
break 2; // break both the switch statement and the while loop
165
165
default:
166
-
die "Error has occurred!";
166
+
die("Error has occurred!");
167
167
}
168
168
}
169
169

170
170