mirror of
https://github.com/PCRE2Project/pcre2.git
synced 2025-10-18 08:44:04 +08:00

The pcre2test utility needs quite a few changes to accommodate this. It is simpler to add a new mode to it, than to make it fully EBCDIC-native. On an ASCII system, pcre2test performs ASCII I/O, but tranlates the input when passing it to the fully-EBCDIC-supporting library.
10 lines
133 B
Plaintext
10 lines
133 B
Plaintext
# This tests the EBCDIC support in PCRE2, specifically when NL has been
|
|
# configured to be 0x25.
|
|
|
|
/^\x25$/
|
|
\n
|
|
|
|
/\cU/
|
|
\x0a
|
|
\x85
|