Indeed the file contents must be a byte sequence for this to work, UTF-16 and a number of other encodings won't work because the byte pattern simply doesn't exist in the file. What was the encoding that didn't work? Also an encoding written in the file may be overridden by a BOM, the encodings code is pretty "messy" (technical term ;-) and "somebody" would have to check.
`RAW` is not a [PCRE2](https://www.pcre.org/current/doc/html/pcre2_compile.html) option, I wonder what Glib translates it into? And how it interacts with `CASELESS` which is fairly important. -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3777#issuecomment-1974925432 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/3777/[email protected]>
