📄 regexp.h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title><regexp.h></title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_008_051"> </a>NAME</h4><blockquote>regexp.h - regular-expression declarations(<b>LEGACY</b>)</blockquote><h4><a name = "tag_000_008_052"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <regexp.h></code></pre></blockquote><h4><a name = "tag_000_008_053"> </a>DESCRIPTION</h4><blockquote>In the<i><regexp.h></i>header, each of the following is declared as a function, ordefined as a macro, or both:<pre><code>int <a href="advance.html">advance</a>(const char *<i>string</i>, const char *<i>expbuf</i>);char *<a href="compile.html">compile</a>(char *<i>instring</i>, char *<i>expbuf</i>, const char *<i>endbuf</i>, int <i>eof</i>);int <a href="step.html">step</a>(const char *<i>string</i>, const char *<i>expbuf</i>);</code></pre><p>and the following are declared as external variables:<pre><code>extern char *loc1;extern char *loc2;extern char *locs;</code></pre></blockquote><h4><a name = "tag_000_008_054"> </a>APPLICATION USAGE</h4><blockquote>This header is kept for historical reasons.New applications should use the<i><a href="regcomp.html">regcomp()</a></i>,<i><a href="regexec.html">regexec()</a></i>,<i><a href="regerror.html">regerror()</a></i>and<i><a href="regfree.html">regfree()</a></i>functions, and the<i><a href="regex.h.html"><regex.h></a></i>header, which provide full internationalised regular expressionfunctionality compatible with the ISO POSIX-2 standard and the <b>XBD</b> specification, <a href="../xbd/re.html"><b>Regular Expressions</b> </a>.</blockquote><h4><a name = "tag_000_008_055"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_008_056"> </a>SEE ALSO</h4><blockquote><i><a href="regexp.html">regexp()</a></i>,<i><a href="regex.h.html"><regex.h></a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -