| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: regex.3,v 1.30 2021/03/11 16:36:41 christos Exp $ | | 1 | .\" $NetBSD: regex.3,v 1.31 2021/03/11 17:13:29 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 1992, 1993, 1994 Henry Spencer. | | 3 | .\" Copyright (c) 1992, 1993, 1994 Henry Spencer. |
4 | .\" Copyright (c) 1992, 1993, 1994 | | 4 | .\" Copyright (c) 1992, 1993, 1994 |
5 | .\" The Regents of the University of California. All rights reserved. | | 5 | .\" The Regents of the University of California. All rights reserved. |
6 | .\" | | 6 | .\" |
7 | .\" This code is derived from software contributed to Berkeley by | | 7 | .\" This code is derived from software contributed to Berkeley by |
8 | .\" Henry Spencer. | | 8 | .\" Henry Spencer. |
9 | .\" | | 9 | .\" |
10 | .\" Redistribution and use in source and binary forms, with or without | | 10 | .\" Redistribution and use in source and binary forms, with or without |
11 | .\" modification, are permitted provided that the following conditions | | 11 | .\" modification, are permitted provided that the following conditions |
12 | .\" are met: | | 12 | .\" are met: |
13 | .\" 1. Redistributions of source code must retain the above copyright | | 13 | .\" 1. Redistributions of source code must retain the above copyright |
14 | .\" notice, this list of conditions and the following disclaimer. | | 14 | .\" notice, this list of conditions and the following disclaimer. |
| @@ -184,35 +184,35 @@ The | | | @@ -184,35 +184,35 @@ The |
184 | .Va re_endp | | 184 | .Va re_endp |
185 | member is of type | | 185 | member is of type |
186 | .Ft "const char *" . | | 186 | .Ft "const char *" . |
187 | This flag permits inclusion of NULs in the RE; | | 187 | This flag permits inclusion of NULs in the RE; |
188 | they are considered ordinary characters. | | 188 | they are considered ordinary characters. |
189 | This is an extension, | | 189 | This is an extension, |
190 | compatible with but not specified by | | 190 | compatible with but not specified by |
191 | .St -p1003.2 , | | 191 | .St -p1003.2 , |
192 | and should be used with | | 192 | and should be used with |
193 | caution in software intended to be portable to other systems. | | 193 | caution in software intended to be portable to other systems. |
194 | .It Dv REG_GNU | | 194 | .It Dv REG_GNU |
195 | Include GNU-inspired extensions: | | 195 | Include GNU-inspired extensions: |
196 | .Pp | | 196 | .Pp |
197 | .Bl -tag -offset indent -width XX -compact | | 197 | .Bl -tag -offset indent -width XX -compact |
198 | .It \eN | | 198 | .It \eN |
199 | Use backreference | | 199 | Use backreference |
200 | .Dv N | | 200 | .Dv N |
201 | where | | 201 | where |
202 | .Dv N | | 202 | .Dv N |
203 | is a single digit number between | | 203 | is a single digit number between |
204 | .Dv 1 | | 204 | .Dv 1 |
205 | and | | 205 | and |
206 | .Dv 9 . | | 206 | .Dv 9 . |
207 | .It \ea | | 207 | .It \ea |
208 | Visual Bell | | 208 | Visual Bell |
209 | .It \eb | | 209 | .It \eb |
210 | Match a position that is a word boundary. | | 210 | Match a position that is a word boundary. |
211 | .It \eB | | 211 | .It \eB |
212 | Match a position that is a not word boundary. | | 212 | Match a position that is a not word boundary. |
213 | .It \ef | | 213 | .It \ef |
214 | Form Feed | | 214 | Form Feed |
215 | .It \en | | 215 | .It \en |
216 | Line Feed | | 216 | Line Feed |
217 | .It \er | | 217 | .It \er |
218 | Carriage return | | 218 | Carriage return |