• Adda@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    3 years ago

    It is always fun to find some unexplained regex in the code and spend a good part of an hour trying to decipher it to make sure everything is all right and it works as intended.

  • pinknoise@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 years ago

    Pro-tip: Use a genetic algorithm to derive the regex and earn enough hype-points to let marketing call your project “AI-enhanced”. If your solution is bad just don’t bother with making it better and call it “fuzzy”.

    • nourOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 years ago

      BRB, going to market my cat as a “fuzzy” regex solution… It’s certainly a very fuzzy cat.