Login
You're viewing the ruby.social public feed.
  • Nov 22, 2026, 11:05 PM
    retooted Dave Anderson

    "I'll just write a little Elixir for fun, I'm sure nothing cursed will happen"

    *two hours later*

    Sending a patch to date_time_parser to have it treat Narrow Non-Breaking Spaces (U+202F) as a whitespace character, because for some awful reason Konversation puts some of those in its IRC log timestamps, and the NNBSP codepoint is not part of the set of _posix_ space characters that PCRE's "space" character class matches on (which, as a further cursed aside, I cannot write into this post because colon-"space"-colon renders an emoji of some stars and there's no verbatim formatting). So if you also want to be tolerant of spaces according to Unicode, you have to also look at codepoints in the Zs ("space separators") category.

    Just once I'd like computers to be having a normal one

    💬 1🔄 2⭐ 0