diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-06-27 17:20:58 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-06-27 17:20:58 +0000 |
commit | 7ece579ef421b3ae1e6625ffd22a36a01584209a (patch) | |
tree | bc2be94424788f94d52f30fac1a24361543d77a7 /doc/pcre2test.txt | |
parent | fe69ea53d04bc133dd90a3a9e28c3fdccbc3daa5 (diff) | |
download | pcre2-7ece579ef421b3ae1e6625ffd22a36a01584209a.tar.gz |
Documentation update to clarify what PCRE2 serialization is.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@950 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc/pcre2test.txt')
-rw-r--r-- | doc/pcre2test.txt | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/doc/pcre2test.txt b/doc/pcre2test.txt index d831deb..f3d8e16 100644 --- a/doc/pcre2test.txt +++ b/doc/pcre2test.txt @@ -1747,16 +1747,20 @@ SAVING AND RESTORING COMPILED PATTERNS ize documentation. In this section we describe the features of pcre2test that can be used to test these functions. - When a pattern with push modifier is successfully compiled, it is - pushed onto a stack of compiled patterns, and pcre2test expects the - next line to contain a new pattern (or command) instead of a subject - line. By contrast, the pushcopy modifier causes a copy of the compiled - pattern to be stacked, leaving the original available for immediate - matching. By using push and/or pushcopy, a number of patterns can be - compiled and retained. These modifiers are incompatible with posix, and - control modifiers that act at match time are ignored (with a message) - for the stacked patterns. The jitverify modifier applies only at com- - pile time. + Note that "serialization" in PCRE2 does not convert compiled patterns + to an abstract format like Java or .NET. It just makes a reloadable + byte code stream. Hence the restrictions on reloading mentioned above. + + In pcre2test, when a pattern with push modifier is successfully com- + piled, it is pushed onto a stack of compiled patterns, and pcre2test + expects the next line to contain a new pattern (or command) instead of + a subject line. By contrast, the pushcopy modifier causes a copy of the + compiled pattern to be stacked, leaving the original available for + immediate matching. By using push and/or pushcopy, a number of patterns + can be compiled and retained. These modifiers are incompatible with + posix, and control modifiers that act at match time are ignored (with a + message) for the stacked patterns. The jitverify modifier applies only + at compile time. The command @@ -1813,5 +1817,5 @@ AUTHOR REVISION - Last updated: 25 April 2018 + Last updated: 27 June 2018 Copyright (c) 1997-2018 University of Cambridge. |