• conditional_soup@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 months ago

    Regex

    Edit: to everyone who responded, I use regex infrequently enough that the knowledge never really crystalizes. By the time I need it for this one thing again, I haven’t touched it in like a year.

    • 9point6@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      You get used to it, I don’t even see the code—I just see: group… pattern… read-ahead…

    • Kissaki@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      You always forget regex syntax?

      I’ve always found it simple to understand and remember. Even over many years and decades, I’ve never had issues reading or writing simple regex syntax (excluding the flags and shorthands) even after long regex breaks.

    • kameecoding@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      Most of regex is pretty basic and easy to learn, it’s the look ahead and look behind that are the killers imo

  • perishthethought@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 months ago

    I don’t normally say this, but the AI tools I’ve used to help me write bash were pretty much spot on.