IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
</pre><p>Check if the regular expression generate the value</p>
<divclass="variablelist"><tableborder="0"><colalign="left"/><tbody><tr><td><spanclass="term"><i><tt>comp</tt></i>:</span></td><td>the compiled regular expression</td></tr><tr><td><spanclass="term"><i><tt>content</tt></i>:</span></td><td>the value to check against the regular expression</td></tr><tr><td><spanclass="term"><i><tt>Returns</tt></i>:</span></td><td>1 if it matches, 0 if not and a negativa value in case of error</td></tr></tbody></table></div>
</pre><p>Push one input token in the execution context</p>
<divclass="variablelist"><tableborder="0"><colalign="left"/><tbody><tr><td><spanclass="term"><i><tt>exec</tt></i>:</span></td><td>a regexp execution context or NULL to indicate the end</td></tr><tr><td><spanclass="term"><i><tt>value</tt></i>:</span></td><td>the first string token input</td></tr><tr><td><spanclass="term"><i><tt>value2</tt></i>:</span></td><td>the second string token input</td></tr><tr><td><spanclass="term"><i><tt>data</tt></i>:</span></td><td>data associated to the token to reuse in callbacks</td></tr><tr><td><spanclass="term"><i><tt>Returns</tt></i>:</span></td><td>1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error.</td></tr></tbody></table></div><h3><aname="xmlRegFreeRegexp"id="xmlRegFreeRegexp"></a>Function: xmlRegFreeRegexp</h3><preclass="programlisting">void xmlRegFreeRegexp (<ahref="libxml-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> regexp)<br/>
</pre><p>Push one input token in the execution context</p>
<divclass="variablelist"><tableborder="0"><colalign="left"/><tbody><tr><td><spanclass="term"><i><tt>exec</tt></i>:</span></td><td>a regexp execution context or NULL to indicate the end</td></tr><tr><td><spanclass="term"><i><tt>value</tt></i>:</span></td><td>a string token input</td></tr><tr><td><spanclass="term"><i><tt>data</tt></i>:</span></td><td>data associated to the token to reuse in callbacks</td></tr><tr><td><spanclass="term"><i><tt>Returns</tt></i>:</span></td><td>1 if the regexp reached a final state, 0 if non-final, and a negative value in case of error.</td></tr></tbody></table></div><h3><aname="xmlRegexpIsDeterminist"id="xmlRegexpIsDeterminist"></a>Function: xmlRegexpIsDeterminist</h3><preclass="programlisting">int xmlRegexpIsDeterminist (<ahref="libxml-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> comp)<br/>
</pre><p>Check if the regular expression is determinist</p>
<divclass="variablelist"><tableborder="0"><colalign="left"/><tbody><tr><td><spanclass="term"><i><tt>comp</tt></i>:</span></td><td>the compiled regular expression</td></tr><tr><td><spanclass="term"><i><tt>Returns</tt></i>:</span></td><td>1 if it yes, 0 if not and a negativa value in case of error</td></tr></tbody></table></div><h3><aname="xmlRegNewExecCtxt"id="xmlRegNewExecCtxt"></a>Function: xmlRegNewExecCtxt</h3><preclass="programlisting"><ahref="libxml-xmlregexp.html#xmlRegExecCtxtPtr">xmlRegExecCtxtPtr</a> xmlRegNewExecCtxt (<ahref="libxml-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> comp, <br/><ahref="libxml-xmlregexp.html#xmlRegExecCallbacks">xmlRegExecCallbacks</a> callback, <br/> void * data)<br/>
</pre><p>Build a context used for progressive evaluation of a regexp.</p>
<divclass="variablelist"><tableborder="0"><colalign="left"/><tbody><tr><td><spanclass="term"><i><tt>comp</tt></i>:</span></td><td>a precompiled regular expression</td></tr><tr><td><spanclass="term"><i><tt>callback</tt></i>:</span></td><td>a callback function used for handling progresses in the automata matching phase</td></tr><tr><td><spanclass="term"><i><tt>data</tt></i>:</span></td><td>the context data associated to the callback in this context</td></tr><tr><td><spanclass="term"><i><tt>Returns</tt></i>:</span></td><td>the new context</td></tr></tbody></table></div><h3><aname="xmlRegexpCompile"id="xmlRegexpCompile"></a>Function: xmlRegexpCompile</h3><preclass="programlisting"><ahref="libxml-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> xmlRegexpCompile (const <ahref="libxml-tree.html#xmlChar">xmlChar</a> * regexp)<br/>
</pre><p>Parses a regular expression conforming to XML Schemas Part 2 Datatype Appendix F and build an automata suitable for testing strings against that regular expression</p>
<divclass="variablelist"><tableborder="0"><colalign="left"/><tbody><tr><td><spanclass="term"><i><tt>regexp</tt></i>:</span></td><td>a regular expression string</td></tr><tr><td><spanclass="term"><i><tt>Returns</tt></i>:</span></td><td>the compiled expression or NULL in case of error</td></tr></tbody></table></div><h3><aname="xmlRegexpPrint"id="xmlRegexpPrint"></a>Function: xmlRegexpPrint</h3><preclass="programlisting">void xmlRegexpPrint (FILE * output, <br/><ahref="libxml-xmlregexp.html#xmlRegexpPtr">xmlRegexpPtr</a> regexp)<br/>
</pre><p>Print the content of the compiled regular expression</p>
<divclass="variablelist"><tableborder="0"><colalign="left"/><tbody><tr><td><spanclass="term"><i><tt>output</tt></i>:</span></td><td>the file for the output debug</td></tr><tr><td><spanclass="term"><i><tt>regexp</tt></i>:</span></td><td>the compiled regexp</td></tr></tbody></table></div><p><ahref="bugs.html">Daniel Veillard</a></p></td></tr></table></td></tr></table></td></tr></table></td></tr></table></td></tr></table></body></html>