7 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
10 TITLE="Gnome XML Library Reference Manual"
11 HREF="book1.html"><LINK
13 TITLE="Libxml Library Reference"
14 HREF="libxml-lib.html"><LINK
17 HREF="libxml-xmlmemory.html"><LINK
20 HREF="libxml-xmlautomata.html"></HEAD
43 >Gnome XML Library Reference Manual</FONT
52 HREF="libxml-xmlmemory.html"
57 ><<< Previous Page</B
90 HREF="libxml-lib.html"
106 HREF="libxml-xmlautomata.html"
111 >Next Page >>></B
120 NAME="LIBXML-XMLREGEXP">xmlregexp</H1
128 >xmlregexp -- </DIV
130 CLASS="REFSYNOPSISDIV"
146 HREF="libxml-xmlregexp.html#XMLREGEXP"
150 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
154 HREF="libxml-xmlregexp.html#XMLREGEXECCTXT"
158 HREF="libxml-xmlregexp.html#XMLREGEXECCTXTPTR"
159 >xmlRegExecCtxtPtr</A
162 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
165 HREF="libxml-xmlregexp.html#XMLREGEXPCOMPILE"
168 HREF="libxml-tree.html#XMLCHAR"
172 HREF="libxml-xmlregexp.html#XMLREGFREEREGEXP"
175 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
179 HREF="libxml-xmlregexp.html#XMLREGEXPEXEC"
182 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
186 HREF="libxml-tree.html#XMLCHAR"
190 HREF="libxml-xmlregexp.html#XMLREGEXPPRINT"
197 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
201 HREF="libxml-xmlregexp.html#XMLREGEXPISDETERMINIST"
202 >xmlRegexpIsDeterminist</A
204 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
208 HREF="libxml-xmlregexp.html#XMLREGEXECCALLBACKS"
209 >*xmlRegExecCallbacks</A
211 HREF="libxml-xmlregexp.html#XMLREGEXECCTXTPTR"
212 >xmlRegExecCtxtPtr</A
215 HREF="libxml-tree.html#XMLCHAR"
221 HREF="libxml-xmlregexp.html#XMLREGEXECCTXTPTR"
222 >xmlRegExecCtxtPtr</A
224 HREF="libxml-xmlregexp.html#XMLREGNEWEXECCTXT"
225 >xmlRegNewExecCtxt</A
227 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
231 HREF="libxml-xmlregexp.html#XMLREGEXECCALLBACKS"
232 >xmlRegExecCallbacks</A
236 HREF="libxml-xmlregexp.html#XMLREGFREEEXECCTXT"
237 >xmlRegFreeExecCtxt</A
239 HREF="libxml-xmlregexp.html#XMLREGEXECCTXTPTR"
240 >xmlRegExecCtxtPtr</A
243 HREF="libxml-xmlregexp.html#XMLREGEXECPUSHSTRING"
244 >xmlRegExecPushString</A
246 HREF="libxml-xmlregexp.html#XMLREGEXECCTXTPTR"
247 >xmlRegExecCtxtPtr</A
250 HREF="libxml-tree.html#XMLCHAR"
284 >struct xmlRegexp</H3
293 CLASS="PROGRAMLISTING"
294 >struct xmlRegexp;</PRE
319 CLASS="PROGRAMLISTING"
320 >typedef xmlRegexp *xmlRegexpPtr;</PRE
325 >A libxml regular expression, they can actually be far more complex
326 thank the POSIX regex expressions.</P
337 NAME="XMLREGEXECCTXT"
339 >struct xmlRegExecCtxt</H3
348 CLASS="PROGRAMLISTING"
349 >struct xmlRegExecCtxt;</PRE
363 NAME="XMLREGEXECCTXTPTR"
365 >xmlRegExecCtxtPtr</H3
374 CLASS="PROGRAMLISTING"
375 >typedef xmlRegExecCtxt *xmlRegExecCtxtPtr;</PRE
380 >A libxml progressive regular expression evaluation context</P
391 NAME="XMLREGEXPCOMPILE"
393 >xmlRegexpCompile ()</H3
402 CLASS="PROGRAMLISTING"
404 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
406 > xmlRegexpCompile (const <A
407 HREF="libxml-tree.html#XMLCHAR"
414 >Parses a regular expression conforming to XML Schemas Part 2 Datatype
415 Appendix F and build an automata suitable for testing strings against
416 that regular expression</P
420 CLASS="INFORMALTABLE"
447 > a regular expression string</TD
465 >the compiled expression or NULL in case of error</TD
480 NAME="XMLREGFREEREGEXP"
482 >xmlRegFreeRegexp ()</H3
491 CLASS="PROGRAMLISTING"
492 >void xmlRegFreeRegexp (<A
493 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
504 CLASS="INFORMALTABLE"
548 >xmlRegexpExec ()</H3
557 CLASS="PROGRAMLISTING"
558 >int xmlRegexpExec (<A
559 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
563 HREF="libxml-tree.html#XMLCHAR"
570 >Check if the regular expression generate the value</P
574 CLASS="INFORMALTABLE"
601 > the compiled regular expression</TD
636 >1 if it matches, 0 if not and a negativa value in case of error</TD
651 NAME="XMLREGEXPPRINT"
653 >xmlRegexpPrint ()</H3
662 CLASS="PROGRAMLISTING"
663 >void xmlRegexpPrint (<GTKDOCLINK
668 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
675 >Print the content of the compiled regular expression</P
679 CLASS="INFORMALTABLE"
706 > the file for the output debug</TD
723 > the compiled regexp</TD
738 NAME="XMLREGEXPISDETERMINIST"
740 >xmlRegexpIsDeterminist ()</H3
749 CLASS="PROGRAMLISTING"
750 >int xmlRegexpIsDeterminist (<A
751 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
758 >Check if the regular expression is determinist</P
762 CLASS="INFORMALTABLE"
789 > the compiled regular expression</TD
807 >1 if it yes, 0 if not and a negativa value in case of error</TD
822 NAME="XMLREGEXECCALLBACKS"
824 >xmlRegExecCallbacks ()</H3
833 CLASS="PROGRAMLISTING"
834 >void (*xmlRegExecCallbacks) (<A
835 HREF="libxml-xmlregexp.html#XMLREGEXECCTXTPTR"
836 >xmlRegExecCtxtPtr</A
839 HREF="libxml-tree.html#XMLCHAR"
843 void *inputdata);</PRE
850 CLASS="INFORMALTABLE"
943 NAME="XMLREGNEWEXECCTXT"
945 >xmlRegNewExecCtxt ()</H3
954 CLASS="PROGRAMLISTING"
956 HREF="libxml-xmlregexp.html#XMLREGEXECCTXTPTR"
957 >xmlRegExecCtxtPtr</A
958 > xmlRegNewExecCtxt (<A
959 HREF="libxml-xmlregexp.html#XMLREGEXPPTR"
963 HREF="libxml-xmlregexp.html#XMLREGEXECCALLBACKS"
964 >xmlRegExecCallbacks</A
973 CLASS="INFORMALTABLE"
1067 NAME="XMLREGFREEEXECCTXT"
1069 >xmlRegFreeExecCtxt ()</H3
1078 CLASS="PROGRAMLISTING"
1079 >void xmlRegFreeExecCtxt (<A
1080 HREF="libxml-xmlregexp.html#XMLREGEXECCTXTPTR"
1081 >xmlRegExecCtxtPtr</A
1087 >Free the structures associated to a regular expression evaulation context.</P
1091 CLASS="INFORMALTABLE"
1118 > a regular expression evaulation context</TD
1133 NAME="XMLREGEXECPUSHSTRING"
1135 >xmlRegExecPushString ()</H3
1144 CLASS="PROGRAMLISTING"
1145 >int xmlRegExecPushString (<A
1146 HREF="libxml-xmlregexp.html#XMLREGEXECCTXTPTR"
1147 >xmlRegExecCtxtPtr</A
1150 HREF="libxml-tree.html#XMLCHAR"
1158 >Push one input token in the execution context</P
1162 CLASS="INFORMALTABLE"
1189 > a regexp execution context</TD
1206 > a string token input</TD
1223 > data associated to the token to reuse in callbacks</TD
1241 > 1 if the regexp reached a final state, 0 if non-final, and
1242 a negative value in case of error.</TD
1254 CLEAR="all"><BR><TABLE
1266 HREF="libxml-xmlmemory.html"
1271 ><<< Previous Page</B
1304 HREF="libxml-lib.html"
1320 HREF="libxml-xmlautomata.html"
1325 >Next Page >>></B