#0129 · 方法
正则附上正反例
写这个正则时,同时给出 5 个应该匹配和 5 个不该匹配的例子,并逐个说明结果。再用一句话拆解正则的每一段在干什么。
When you write this regex, also give 5 strings it should match and 5 it shouldn't, with the result for each. Then explain in one line what each part of the pattern does.
小杜
已贴 1,040 张上墙共收到 0 个章