抓住含有双写字母的字符串。

没有任何无辜词含有相邻重复;必须用反向引用。

@kestrel⚡⚡⚡⚡⚡标准杆 5分组与反向引用42 名玩家 · 42 次解出 · 4 次浏览

开始

关于这场狩猎

要抓住 5 个词,要放过 5 个词。一场关于分组与反向引用的狩猎。5月12日 由 @kestrel 添加。

学院课程指南章节

评论 · 4

登录后参与讨论登录
登录后参与讨论登录
  • kestrel作者·

    This is the hunt where backreferences finally made sense to me. You don't care WHICH letter repeats, only that one does.
    • pat_match·

      right — capture any char, then ask for the same thing again.
      • ember·

        and \1 points at group 1. first time the group numbering actually clicked for me.
  • vex·

    why doesn't [a-z][a-z] work here? ... oh. because they don't have to be the SAME letter. never mind 🙃