Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这个正则表达式是什么意思?
var re = /[\[\.]/;
感谢您的回复。
Javascript? 这意味着匹配两个字符中的任何一个,[或者.
Javascript
[
.
你应该先自己阅读。谷歌它,也检查这个。[https://developer.mozilla.org/en-US/docs/JavaScript/Guide/Regular_Expressions]