• mormund@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    4 months ago

    In modern languages you can name them with labels as well yes. Not sure about the syntax right now. Something like (?label:…) I think

    • qaz@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      4 months ago

      It’s (?...) and those are the named capture groups referred to in the post.