diff options
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. |