Named capture groups with NSRegularExpression

后端 未结 4 2048
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-29 00:05

Does NSRegularExpression support named capture groups? It doesn\'t look like it from the documentation, but I wanted to check before I explore alternative solut

4条回答
  •  梦谈多话
    2020-12-29 00:47

    Since iOS 11 named capture groups are supported. See my answer here https://stackoverflow.com/a/47794474/1696733

提交回复
热议问题