匹配零次或更多次出现的字符
let sWord = "Star Wars: Attack of the Clones";
let starWarsRegex = /Star Wars.*/; //搜索以s开头的单词
sWord.match(starWarsRegex); //返回true
let sWord = "Star Wars: Attack of the Clones";
let starWarsRegex = /Star Wars.*/; //搜索以s开头的单词
sWord.match(starWarsRegex); //返回true