OSDN Git Service

(split) Fixed #25191 (typo in fenv.3).
[linuxjm/LDP_man-pages.git] / release / man3 / regex.3
1 .\" Copyright (C), 1995, Graeme W. Wilford. (Wilf.)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" Wed Jun 14 16:10:28 BST 1995 Wilf. (G.Wilford@ee.surrey.ac.uk)
24 .\" Tiny change in formatting - aeb, 950812
25 .\" Modified 8 May 1998 by Joseph S. Myers (jsm28@cam.ac.uk)
26 .\"
27 .\" Japanese Version Copyright (c) 1998 Takatsugu Nokubi
28 .\"     all rights reserved.
29 .\" Translated 1998-06-30, Takatsugu Nokubi
30 .\" Updated & Modified 2001-11-05, Yuichi SATO <ysato@h4.dion.ne.jp>
31 .\" Updated & Modified 2005-02-24, Yuichi SATO <ysato444@yahoo.co.jp>
32 .\" Updated 2008-08-02, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.05
33 .\"
34 .\"WORD:        bitwise-or              ¥Ó¥Ã¥È¤´¤È¤ÎOR
35 .\"WORD:        element                 (¹½Â¤ÂÎ)Í×ÁÇ
36 .\"WORD:        collating element       ¾È¹ç½ç½ø¤ÎÍ×ÁÇ
37 .\"
38 .\" show the synopsis section nicely
39 .de xx
40 .in \\n(INu+\\$1
41 .ti -\\$1
42 ..
43 .TH REGEX 3 2008-05-29 "GNU" "Linux Programmer's Manual"
44 .SH Ì¾Á°
45 regcomp, regexec, regerror, regfree \- POSIX regex ´Ø¿ô
46 .SH ½ñ¼°
47 .nf
48 .B #include <sys/types.h>
49 .B #include <regex.h>
50
51 .BI "int regcomp(regex_t *" preg ", const char *" regex ", int " cflags );
52
53 .BI "int regexec(const regex_t *" preg ", const char *" string \
54 ", size_t " nmatch ,
55 .BI "            regmatch_t " pmatch[] ", int " eflags );
56
57 .BI "size_t regerror(int " errcode ", const regex_t *" preg ", char *" errbuf ,
58 .BI "                size_t " errbuf_size );
59
60 .BI "void regfree(regex_t *" preg );
61 .fi
62 .SH ÀâÌÀ
63 .SS "POSIX regex ¥³¥ó¥Ñ¥¤¥ë"
64 .BR regcomp ()
65 ¤Ï¡¢Àµµ¬É½¸½¤ò¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¡¢
66 .BR regexec ()
67 ¤Ç¤Î¸¡º÷½èÍý¤ËŬ¹ç¤¹¤ë·ÁÂ֤ˤ¹¤ë¡£
68
69 .BR regcomp ()
70 ¤Ï¥Ñ¥¿¡¼¥ó¤òµ­²±¤¹¤ë¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥Ý¥¤¥ó¥¿
71 .IR preg ¡¢
72 ¥Ì¥ëʸ»ú¤Ç½ªÃ¼¤µ¤ì¤¿Ê¸»úÎó
73 .IR regex ¡¢
74 ¤½¤·¤Æ¥³¥ó¥Ñ¥¤¥ë¤Î·Á¼°¤ò·è¤á¤ë¤¿¤á¤Î¥Õ¥é¥°
75 .I cflag
76 ¤ò°ú¿ô¤Ëȼ¤¦¡£
77
78 Á´¤Æ¤ÎÀµµ¬É½¸½¸¡º÷¤Ï¡¢¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥Ñ¥¿¡¼¥ó¤Ë¤è¤Ã¤Æ¹Ô¤ï¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
79 ¤è¤Ã¤Æ¡¢
80 .BR regexec ()
81 ¤Ë»ØÄꤹ¤ë¤Î¤Ï¡¢É¬¤º
82 .RB ( regcomp ()
83 ¤Ë¤è¤Ã¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿) ¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥¢¥É¥ì¥¹¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
84
85 .I cflags
86 ¤Ë¤Ï°Ê²¼¤Ë¼¨¤¹Äê¿ô°ì¤Ä°Ê¾å¤Î¥Ó¥Ã¥È¤´¤È¤Î OR (bitwise-or) ¤ò»ØÄꤹ¤ë¡£
87 .TP
88 .B REG_EXTENDED
89 .I regex
90 ¤Ë
91 .B POSIX
92 ³ÈÄ¥Àµµ¬É½¸½¤ò»ÈÍѤ¹¤ë¡£¤â¤·¤³¤Î¥Õ¥é¥°¤¬ÀßÄꤵ¤ì¤Ê¤¤¾ì¹ç¡¢
93 .B POSIX
94 ɸ½àÀµµ¬É½¸½¤¬»È¤ï¤ì¤ë¡£
95 .TP
96 .B REG_ICASE
97 Âçʸ»ú¾®Ê¸»ú¤Î°ã¤¤¤ò̵»ë¤¹¤ë¡£¤³¤Î¥Õ¥é¥°¤ò»ØÄꤷ¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿
98 ¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡¤òÍѤ¤¤Æ
99 .BR regexec ()
100 ´Ø¿ô¤ò¸Æ¤Ó½Ð¤¹¤È¡¢Âçʸ»ú¾®Ê¸»ú¤Î¶èÊ̤òÉÕ¤±¤º¤Ë¸¡º÷¤¬¹Ô¤ï¤ì¤ë¡£
101 .TP
102 .B REG_NOSUB
103 ¤³¤Î¥Õ¥é¥°¤òÀßÄꤷ¤Æ¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡¤¬
104 .BR regexec ()
105 ¤Î°ú¿ô¤Ë»ØÄꤵ¤ì¤ë¤È¡¢°ú¤­¿ô
106 .IR nmatch ,
107 .I pmatch
108 ¤¬Ìµ»ë¤µ¤ì¤ë¡£
109 .TP
110 .B REG_NEWLINE
111 Á´¤Æ¤Îʸ»ú¤Ë¥Þ¥Ã¥Á¤¹¤ë¥ª¥Ú¥ì¡¼¥¿¤Ë²þ¹Ô¤ò¥Þ¥Ã¥Á¤µ¤»¤Ê¤¤¡£
112
113 ²þ¹Ô¤ò´Þ¤Þ¤Ê¤¤Èó¥Þ¥Ã¥Á¥ó¥°Ê¸»ú¥ê¥¹¥È
114 .RB ( [^...] )
115 ¤Ë²þ¹Ô¤ò¥Þ¥Ã¥Á¤µ¤»¤Ê¤¤¡£
116
117 .BR regexec ()
118 ¤Î¼Â¹Ô»þ¤Ë»ØÄꤹ¤ë¥Õ¥é¥°
119 .I eflags
120 ¤Ë
121 .B REG_NOTBOL
122 ¤ò´Þ¤à¤«¤É¤¦¤«¤Ë¤«¤«¤ï¤é¤º¡¢¹ÔƬ¤Ë¥Þ¥Ã¥Á¤¹¤ë¥ª¥Ú¥ì¡¼¥¿
123 .RB ( ^ )
124 ¤ò²þ¹Ôľ¸å¤Î¶õʸ»úÎó¤Ë¥Þ¥Ã¥Á¤µ¤»¤ë¡£
125
126 .I eflags
127 ¤Ë
128 .B REG_NOTEOL
129 ¤ò´Þ¤à¤«¤É¤¦¤«¤Ë¤«¤«¤ï¤é¤º¡¢¹ÔËö¤Ë¥Þ¥Ã¥Á¤¹¤ë¥ª¥Ú¥ì¡¼¥¿
130 .RB ( $ )
131 ¤ò²þ¹ÔľÁ°¤Î¶õʸ»úÎó¤Ë¥Þ¥Ã¥Á¤µ¤»¤ë¡£
132 .SS "POSIX regex ¥Þ¥Ã¥Á¥ó¥°"
133 .BR regexec ()
134 ¤Ï¡¢
135 ¥×¥ê¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡
136 .I preg
137 ¤ò¥Ì¥ëʸ»ú¤Ç½ªÃ¼¤µ¤ì¤¿Ê¸»úÎó¤Ë¥Þ¥Ã¥Á¤µ¤»¤ë¡£
138 .I nmatch
139 ¤È
140 .I pmatch
141 ¤Ï¥Þ¥Ã¥Á¥ó¥°¤Î°ÌÃ֤˴ؤ¹¤ë¾ðÊó¤ò¼èÆÀ¤¹¤ë¤Î¤ËÍѤ¤¤é¤ì¤ë¡£
142 .I eflags
143 ¤Ë¤Ï
144 .B REG_NOTBOL
145 ¤È
146 .B REG_NOTEOL
147 ¤Î¤É¤Á¤é¤«¡¢¤â¤·¤¯¤ÏξÊý¤Î¥Ó¥Ã¥È¤´¤È¤Î
148 .BR OR " (bitwise-" or )
149 ¤ò»ØÄꤷ¡¢°Ê²¼¤ÇÀâÌÀ¤¹¤ë¤è¤¦¤Ë¥Þ¥Ã¥Á¥ó¥°Æ°ºî¤òÊѲ½¤µ¤»¤ë¡£
150 .TP
151 .B REG_NOTBOL
152 ¹ÔƬ¤Ë¥Þ¥Ã¥Á¤¹¤ë¥ª¥Ú¥ì¡¼¥¿¤Ï¡¢É¬¤º¥Þ¥Ã¥Á¤Ë¼ºÇÔ¤¹¤ë (¥³¥ó¥Ñ¥¤¥ë»þ¤Î¥Õ¥é¥°
153 .B REG_NEWLINE
154 ¤Î¹àÌܤ⻲¾È)¡£
155 ¤³¤Î¥Õ¥é¥°¤Ï¡¢Ê£¿ô¹Ô¤Ë¤Þ¤¿¤¬¤ëʸ»úÎó¤ò
156 .BR regexec ()
157 ¤Ç¸¡º÷¤¹¤ëºÝ¤Ë¡¢Ê¸»úÎó¤ÎÀèƬ¤ò¹Ô¤ÎÀèƬ¤È¤·¤Æ²ò¼á¤µ¤»¤Ê¤¤¾ì¹ç¤ËÍѤ¤¤ë¡£
158 .TP
159 .B REG_NOTEOL
160 ¹ÔËö¤Ë¥Þ¥Ã¥Á¤¹¤ë¥ª¥Ú¥ì¡¼¥¿¤Ï¡¢É¬¤º¥Þ¥Ã¥Á¤Ë¼ºÇÔ¤¹¤ë (¥³¥ó¥Ñ¥¤¥ë»þ¤Î¥Õ¥é¥°
161 .B REG_NEWLINE
162 ¤Î¹àÌܤ⻲¾È)¡£
163 .SS ¥Ð¥¤¥È¥ª¥Õ¥»¥Ã¥È
164 ¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡¤Î¥³¥ó¥Ñ¥¤¥ë»þ¤Ë
165 .B REG_NOSUB
166 ¤¬ÀßÄꤵ¤ì¤Ê¤¤¾ì¹ç¤Ï¡¢Éôʬʸ»úÎó¤Î¥Þ¥Ã¥Á¥ó¥°°ÌÃÖ¾ðÊó¤òÆÀ¤ë¤³¤È¤¬¤Ç¤­¤ë¡£
167 .I pmatch
168 ¤Ï¡¢¾¯¤Ê¤¯¤È¤â
169 .I nmatch
170 ¤ÎÂ礭¤µ¤ò»ý¤Ä¤è¤¦¤Ë»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
171 .BR regexec ()
172 ¤Î¼Â¹Ô¤Ë¤è¤Ã¤Æ¡¢¤½¤ì¤é¤ËÉôʬʸ»úÎó¥Þ¥Ã¥Á¥ó¥°°ÌÃÖ¾ðÊó¤¬ÂåÆþ¤µ¤ì¤ë¡£
173 ̤»ÈÍѤι½Â¤ÂÎÍ×ÁǤˤϠ\-1 ¤¬ÃͤȤ·¤ÆÂåÆþ¤µ¤ì¤ë¡£
174
175 .I pmatch
176 ¤Î·¿¤Ç¤¢¤ë
177 .I regmatch_t
178 ¹½Â¤ÂΤϡ¢
179 .I <regex.h>
180 Æâ¤ÇÄêµÁ¤µ¤ì¤ë¡£
181
182 .in +4n
183 .nf
184 typedef struct {
185     regoff_t rm_so;
186     regoff_t rm_eo;
187 } regmatch_t;
188 .fi
189 .in
190
191 ¹½Â¤ÂÎÍ×ÁÇ
192 .I rm_so
193 ¤ÎÃͤ¬ \-1 ¤Ç¤Ê¤¤¾ì¹ç¡¢¤½¤ì¤Ïʸ»úÎóÆâ¤Ç¤Î¼¡¤ÎºÇÂç¤Î¥Þ¥Ã¥Á¥ó¥°Éôʬ¤Î³«»Ï
194 ¥ª¥Õ¥»¥Ã¥È°ÌÃÖ¤ò¼¨¤¹¡£¤½¤ì¤ËÂФ·¡¢¹½Â¤ÂÎÍ×ÁÇ
195 .I rm_eo
196 ¤Ï¥Þ¥Ã¥Á¥ó¥°Éôʬ¤Î½ªÎ»¥ª¥Õ¥»¥Ã¥È°ÌÃÖ¤ò¼¨¤·¡¢
197 ¥Þ¥Ã¥Á¥ó¥°Éôʬ¤Îľ¸å¤Îʸ»ú¤Î¥ª¥Õ¥»¥Ã¥È°ÌÃÖ¤¬»ÈÍѤµ¤ì¤ë¡£
198 .SS "POSIX ¥¨¥é¡¼¥ì¥Ý¡¼¥È"
199 .BR regerror ()
200 ¤Ï¡¢
201 .BR regcomp ()
202 ¤È
203 .BR regexec ()
204 ¤Î¼Â¹Ô¤Ë¤è¤Ã¤ÆÆÀ¤é¤ì¤ë¥¨¥é¡¼¥³¡¼¥É¤«¤é¡¢¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸Ê¸»úÎó¤ò
205 ÆÀ¤ë¤Î¤ËÍѤ¤¤é¤ì¤ë¡£
206
207 .BR regerror ()
208 ¤Ï¥¨¥é¡¼¥³¡¼¥É
209 .IR errcode ¡¢
210 ¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡
211 .IR preg ¡¢
212 ʸ»úÎó¥Ð¥Ã¥Õ¥¡¤Ø¤Î¥Ý¥¤¥ó¥¿
213 .IR errbuf ¡¢
214 ʸ»úÎó¥Ð¥Ã¥Õ¥¡¤Î¥µ¥¤¥º
215 .I errbuf_size
216 ¤ò°ú¿ô¤Ë¤È¤ë¡£
217 ¤³¤Î´Ø¿ô¤Ï¡¢¥Ì¥ëʸ»ú¤Ç½ªÃ¼¤µ¤ì¤¿¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸Ê¸»úÎó¤ò³ÊǼ¤¹¤ë¤Î¤ËɬÍפÊ
218 .I errbuf
219 ¤Î¥µ¥¤¥º¤òÊÖ¤¹¡£¤â¤·
220 .I errbuf
221 ¤È
222 .I errbuf_size
223 ¤ÎξÊý¤¬Èó 0 ÃͤǤ¢¤ì¤Ð¡¢
224 .I errbuf
225 ¤Ë¤ÏºÇ½é¤Î
226 .I "errbuf_size \- 1"
227 ʸ»úʬ¤Ë¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤È½ªÃ¼¤Î¥Ì¥ëʸ»ú¤¬¼ý¤Þ¤ë¤è¤¦¤ËÂåÆþ¤µ¤ì¤ë¡£
228 .SS "POSIX ¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡²òÊü"
229 °ú¿ô¤Ë¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤¿¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡
230 .I preg
231 ¤òÍ¿¤¨¤Æ
232 .BR regfree ()
233 ¤ò¸Æ¤Ó½Ð¤¹¤È¡¢
234 .BR regcomp ()
235 ¤Ë¤è¤ë¥³¥ó¥Ñ¥¤¥ë»þ¤Ë¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿¥á¥â¥ê¤¬²òÊü¤µ¤ì¤ë¡£
236 .SH ÊÖ¤êÃÍ
237 .BR regcomp ()
238 ¤Ï¡¢¥³¥ó¥Ñ¥¤¥ë¤ÎÀ®¸ù»þ¤Ë¤Ï 0 ¤òÊÖ¤·¡¢¼ºÇÔ»þ¤Ë¤Ï¥¨¥é¡¼¥³¡¼¥É¤òÊÖ¤¹¡£
239
240 .BR regexec ()
241 ¤Ï¡¢¥Þ¥Ã¥Á¥ó¥°¤ÎÀ®¸ù»þ¤Ë¤Ï 0 ¤òÊÖ¤·¡¢¼ºÇÔ»þ¤Ë¤Ï
242 .B REG_NOMATCH
243 ¤òÊÖ¤¹¡£
244 .SH ¥¨¥é¡¼
245 .BR regcomp ()
246 ¤Ï°Ê²¼¤Î¥¨¥é¡¼¤òÊÖ¤¹¡£
247 .TP
248 .B REG_BADBR
249 ̵¸ú¤Ê¸åÊý»²¾È¥ª¥Ú¥ì¡¼¥¿¤Î»ÈÍÑ¡£
250 .TP
251 .B REG_BADPAT
252 ¥°¥ë¡¼¥×¤ä¥ê¥¹¥È¤Ê¤É¤Î¡¢¥Ñ¥¿¡¼¥ó¥ª¥Ú¥ì¡¼¥¿¤Î̵¸ú¤Ê»ÈÍÑ¡£
253 .TP
254 .B REG_BADRPT
255 \(aq*\(aq ¤¬ºÇ½é¤Îʸ»ú¤È¤·¤Æ¤¯¤ë¤è¤¦¤Ê¡¢Ìµ¸ú¤Ê·«¤êÊÖ¤·¥ª¥Ú¥ì¡¼¥¿¤Î»ÈÍÑ¡£
256 .TP
257 .B REG_EBRACE
258 ¥¤¥ó¥¿¡¼¥Ð¥ë¥ª¥Ú¥ì¡¼¥¿
259 .B {}
260 (brace interval operators) ¤¬ÊĤ¸¤Æ¤¤¤Ê¤¤¡£
261 .TP
262 .B REG_EBRACK
263 ¥ê¥¹¥È¥ª¥Ú¥ì¡¼¥¿
264 .B []
265 (bracket list operators) ¤¬ÊĤ¸¤Æ¤¤¤Ê¤¤¡£
266 .TP
267 .B REG_ECOLLATE
268 ¾È¹ç½ç½ø¤ÎÍ×ÁÇ (collating element) ¤È¤·¤ÆÍ­¸ú¤Ç¤Ï¤Ê¤¤¡£
269
270 (ÌõÃí) ¾È¹ç½ç½ø¤ÎÍ×ÁÇ (collating element) ¤Ë¤Ä¤¤¤Æ¤Ï¡¢
271 .BR regex (7)
272 ¤ò»²¾È¡£
273 .TP
274 .B REG_ECTYPE
275 ̤ÃΤΥ­¥ã¥é¥¯¥¿¥¯¥é¥¹Ì¾¡£
276 .TP
277 .B REG_EEND
278 ̤ÄêµÁ¥¨¥é¡¼¡£¤³¤ì¤Ï POSIX.2 ¤Ë¤ÏÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
279 .TP
280 .B REG_EESCAPE
281 Àµµ¬É½¸½¤¬¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤Ç½ª¤Ã¤Æ¤¤¤ë¡£
282
283 (ÌõÃí) ÆüËܸì´Ä¶­¤Î¾ì¹ç¡¢¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤È¤Ê¤ë¤Ù¤­½ê¤¬±ßµ­¹æ¤Ç
284 ɽ¼¨¤µ¤ì¤ë¤³¤È¤¬¤¢¤ë¤¬¡¢¤³¤ì¤Ïñ¤Ëɽ¼¨¥Õ¥©¥ó¥È¤ÎÌäÂê¤Ç¡¢
285 ÆâÉôŪ¤Ë¤ÏƱ¤¸°ÕÌ£¤Ç¤¢¤ë¡£
286 .TP
287 .B REG_EPAREN
288 ¥°¥ë¡¼¥×¥ª¥Ú¥ì¡¼¥¿
289 .B ()
290 (parenthesis group operators) ¤¬ÊĤ¸¤Æ¤¤¤Ê¤¤¡£
291 .TP
292 .B REG_ERANGE
293 ̵¸ú¤ÊÈÏ°Ï¥ª¥Ú¥ì¡¼¥¿¤Î»ÈÍÑ¡£
294 Î㤨¤Ð¡¢ÈϰϤνªÎ»°ÌÃÖ¤¬³«»Ï°ÌÃÖ¤è¤ê¤âÁ°¤Ë¤¢¤ë¤è¤¦¤Ê¾ì¹ç¡£
295 .TP
296 .B REG_ESIZE
297 Àµµ¬É½¸½¤Î¥³¥ó¥Ñ¥¤¥ë¤Ë¡¢64Kb °Ê¾å¤Î¥Ñ¥¿¡¼¥ó¥Ð¥Ã¥Õ¥¡¤¬É¬Íס£
298 ¤³¤ì¤Ï POSIX.2 ¤Ë¤ÏÄêµÁ¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
299 .TP
300 .B REG_ESPACE
301 regex ¥ë¡¼¥Á¥ó¤¬¥á¥â¥ê¤ò»È¤¤¤Ï¤¿¤·¤Æ¤¤¤ë¡£
302 .TP
303 .B REG_ESUBREG
304 ¥µ¥Ö¥¨¥¯¥¹¥×¥ì¥Ã¥·¥ç¥ó
305 .RB \e (...\e )
306 (subexpression) ¤Ø¤Î̵¸ú¤Ê¸åÊý»²¾È¡£
307 .SH ½àµò
308 POSIX.1-2001.
309 .SH ´ØÏ¢¹àÌÜ
310 .BR grep (1),
311 .BR regex (7),
312 GNU regex ¥Þ¥Ë¥å¥¢¥ë