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" |
120 |
The layout of the control block that is at the start of the data that makes up |
The layout of the control block that is at the start of the data that makes up |
121 |
a compiled pattern was changed for release 5.0. If you have any saved patterns |
a compiled pattern was changed for release 5.0. If you have any saved patterns |
122 |
that were compiled with previous releases (not a facility that was previously |
that were compiled with previous releases (not a facility that was previously |
123 |
advertised), you will have to recompile them for release 5.0. However, from now |
advertised), you will have to recompile them for release 5.0 and above. |
|
on, it should be possible to make changes in a compatible manner. |
|
124 |
.P |
.P |
125 |
.in 0 |
If you have any saved patterns in UTF-8 mode that use \ep or \eP that were |
126 |
Last updated: 28 February 2005 |
compiled with any release up to and including 6.4, you will have to recompile |
127 |
.br |
them for release 6.5 and above. |
128 |
Copyright (c) 1997-2005 University of Cambridge. |
.P |
129 |
|
All saved patterns from earlier releases must be recompiled for release 7.0 or |
130 |
|
higher, because there was an internal reorganization at that release. |
131 |
|
. |
132 |
|
. |
133 |
|
. |
134 |
|
.SH AUTHOR |
135 |
|
.rs |
136 |
|
.sp |
137 |
|
.nf |
138 |
|
Philip Hazel |
139 |
|
University Computing Service |
140 |
|
Cambridge CB2 3QH, England. |
141 |
|
.fi |
142 |
|
. |
143 |
|
. |
144 |
|
.SH REVISION |
145 |
|
.rs |
146 |
|
.sp |
147 |
|
.nf |
148 |
|
Last updated: 24 April 2007 |
149 |
|
Copyright (c) 1997-2007 University of Cambridge. |
150 |
|
.fi |