The last fully unique phase is phase 1, which basically undoes the work of phase 7. However, phases 2-5 will also need to turn the phase number into a index ranging from 0-3, so instead of comparing the value against 1 we decrement it and check if that made it zero:
Даниил Иринин (Редактор отдела «Наука и техника»)
,详情可参考heLLoword翻译官方下载
尊重各地实际,保持历史耐心和战略定力,“一步一步坚定走,一个阶段一个阶段向前推进”。,更多细节参见搜狗输入法
Фото: Bumble Dee / Shutterstock / Fotodom,更多细节参见WPS下载最新地址
i haven’t found an implementation of the first one. the second targets javascript and should be available in node/chromium at some point. running /(a+)*b$/.test("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaba") in my browser console still makes the fans spin for 10 seconds, so i’m fairly sure it hasn’t shipped yet. without implementations and benchmarks to compare against, i can only comment on the theoretical differences.