RT
<script> let reg = "abca"; console.log(reg.match(/(a)/)); console.log(reg.match(/(?:a)/)); console.log(reg.match(/(?=a)/)); console.log(reg.match(/(?!a)/)); </script>
分享“案例”中大奖