17 |
If you save compiled patterns to a file, you can copy them to a different host |
If you save compiled patterns to a file, you can copy them to a different host |
18 |
and run them there. This works even if the new host has the opposite endianness |
and run them there. This works even if the new host has the opposite endianness |
19 |
to the one on which the patterns were compiled. There may be a small |
to the one on which the patterns were compiled. There may be a small |
20 |
performance penalty, but it should be insignificant. |
performance penalty, but it should be insignificant. However, compiling regular |
21 |
|
expressions with one version of PCRE for use with a different version is not |
22 |
|
guaranteed to work and may cause crashes. |
23 |
. |
. |
24 |
. |
. |
25 |
.SH "SAVING A COMPILED PATTERN" |
.SH "SAVING A COMPILED PATTERN" |
117 |
.SH "COMPATIBILITY WITH DIFFERENT PCRE RELEASES" |
.SH "COMPATIBILITY WITH DIFFERENT PCRE RELEASES" |
118 |
.rs |
.rs |
119 |
.sp |
.sp |
120 |
The layout of the control block that is at the start of the data that makes up |
In general, it is safest to recompile all saved patterns when you update to a |
121 |
a compiled pattern was changed for release 5.0. If you have any saved patterns |
new PCRE release, though not all updates actually require this. Recompiling is |
122 |
that were compiled with previous releases (not a facility that was previously |
definitely needed for release 7.2. |
|
advertised), you will have to recompile them for release 5.0 and above. |
|
|
.P |
|
|
If you have any saved patterns in UTF-8 mode that use \ep or \eP that were |
|
|
compiled with any release up to and including 6.4, you will have to recompile |
|
|
them for release 6.5 and above. |
|
|
.P |
|
|
All saved patterns from earlier releases must be recompiled for release 7.0 or |
|
|
higher, because there was an internal reorganization at that release. |
|
123 |
. |
. |
124 |
. |
. |
125 |
. |
. |
137 |
.rs |
.rs |
138 |
.sp |
.sp |
139 |
.nf |
.nf |
140 |
Last updated: 06 March 2007 |
Last updated: 13 June 2007 |
141 |
Copyright (c) 1997-2007 University of Cambridge. |
Copyright (c) 1997-2007 University of Cambridge. |
142 |
.fi |
.fi |