Elliott Hughes | 9bc971b | 2018-07-27 13:23:14 -0700 | [diff] [blame] | 1 | .TH PCRE2_CONVERT_CONTEXT_COPY 3 "10 July 2017" "PCRE2 10.30" |
| 2 | .SH NAME |
| 3 | PCRE2 - Perl-compatible regular expressions (revised API) |
| 4 | .SH SYNOPSIS |
| 5 | .rs |
| 6 | .sp |
| 7 | .B #include <pcre2.h> |
| 8 | .PP |
| 9 | .nf |
| 10 | .B pcre2_convert_context *pcre2_convert_context_copy( |
| 11 | .B " pcre2_convert_context *\fIcvcontext\fP);" |
| 12 | .fi |
| 13 | . |
| 14 | .SH DESCRIPTION |
| 15 | .rs |
| 16 | .sp |
| 17 | This function is part of an experimental set of pattern conversion functions. |
| 18 | It makes a new copy of a convert context, using the memory allocation function |
| 19 | that was used for the original context. The result is NULL if the memory cannot |
| 20 | be obtained. |
| 21 | .P |
| 22 | The pattern conversion functions are described in the |
| 23 | .\" HREF |
| 24 | \fBpcre2convert\fP |
| 25 | .\" |
| 26 | documentation. |