抓住没有相邻重复字符的字符串。

每个无辜词都有一处相邻重复;需要把整个字符串都检查一遍,确认没有重复。

@null_ptr⚡⚡⚡⚡⚡标准杆 17环视24 名玩家 · 24 次解出 · 6 次浏览

开始

关于这场狩猎

要抓住 5 个词,要放过 5 个词,另有隐藏检查。一场关于环视的狩猎。4月20日 由 @null_ptr 添加。

学院课程指南章节

评论 · 5

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

    ok this one's brutal and the d5 is earned. the move is a lookahead comparing each char to the one right after it.
  • golfer_42·

    read the goal carefully — abab PASSES (no *adjacent* repeat). it's book/egg/hello that die on their double letters.
    • null_ptr作者·

      yeah 'adjacent' is doing a LOT of work in that sentence. tripped me up for ages.
  • regexwizard·

    • vex·

      so clean. mine was twice that length and barely worked 😭