Can extended regex implementations parse HTML?

后端 未结 2 2134
北恋
北恋 2020-11-29 10:01

I know what you\'re thinking - \"oh my god, seriously, not again\" - but please bear with me, my question is more than the title. Before we begin, I promise I will never try

2条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-29 10:21

    Yes, the extensions in questions are backreferences, and they technically make "regexps" NP-complete, see the Wikipedia paragraph.

提交回复
热议问题