Perl-совместимые регулярные выражения (Perl-compatible regular expressions)
SAVING PRECOMPILED PATTERNS FOR LATER USE
The compiled form of a regular expression can be saved and re-
used at a later time, possibly by a different program, and even
on a host other than the one on which it was compiled. Details
are given in the pcreprecompile
documentation, which includes a
description of the pcre_pattern_to_host_byte_order()
function.
However, compiling a regular expression with one version of PCRE
for use with a different version is not guaranteed to work and
may cause crashes.