• towerful@programming.dev
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    5 months ago

    Interesting to see a lot of these responses (so far) are workflow related instead of being used in production.

    • lad@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      Probably, because in production there are really few things that are best done with regex. Most use I had for regex in production is filling in data from user-provided files with specifically crafted names, and even there there was some guesswork because of errors in naming, and the same thing may have been achieved without regex by splitting and/or iterating