home.social

#44ff11 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #44ff11, aggregated by home.social.

fetched live
  1. #monqjfa, my #nfa/#dfa, #regex library for #Java has a grep-like program as an example of the use of the library. This got a new feature resembling grep's --color option to show matches with colors, using ANSI escape sequences

    ooo r='RuleParser->{c:#44ff11}'

    Yes, the program is called "ooo" 🙂 Why? ... Why not?

    There are more things possible within the braces, the simplest one is

    '...->{c}' as a shortcut for '...->{:red}

    to get the match in red.

    harald.codeberg.page/monqjfa/j