File: testoutput23

package info (click to toggle)
pcre2 10.47-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 14,256 kB
  • sloc: ansic: 108,003; sh: 6,686; makefile: 826
file content (13 lines) | stat: -rw-r--r-- 422 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# This test is run when PCRE2 has been built with --enable-never-backslash-C,
# which disables the use of \C. All we can do is check that it gives the 
# correct error message.

/a\Cb/
Failed: error 185 at offset 3: using \C is disabled in this PCRE2 library
        here: a\C |<--| b

/a[\C]b/
Failed: error 107 at offset 4: escape sequence is invalid in character class
        here: a[\C |<--| ]b

# End of testinput23