Hi,
I found by testing with pcre2test v 10.39 and v 10.45 that the option (*UTF8) is allowed. I can't find any mentioning of it in the man pages.
How is the situation with those?
(*UTF8)
(*UTF16)
(*UTF32)
Does it depend on compile options (8,16, or 32 bit)?
I have only 8 bit in my test environment so far.
```
PCRE2 version 10.45-DEV 2024-06-09 (8-bit)
/(*UTF8)a/debug
------------------------------------------------------------------
0 5 Bra
3 a
5 5 Ket
8 End
------------------------------------------------------------------
Capture group count = 0
Compile options: <none>
Overall options: utf
First code unit = 'a'
Subject length lower bound = 1
a
0: a
```
Best regards,
David