'lazy cat'.match(/[cat]/g)与'lazy cat'.match(/(cat)/g)的匹配结果是一样的
举一反三
- lazy My cat . is
- cat testfile的输出与下面哪个命令相同?() A: cat>testfile B: cat<testfile C: cat>>testfile D: cat<<testfile
- 若Animal是Cat,Dog的父类,则下列选项中,正确的是() A: Animal animal = new Cat(); B: Animal a = new Cat(); Cat cat = (Cat) a; C: Animal animal = new Dog(); D: Cat cat = (Cat)new Dog();
- 若Animal是Cat,Dog的父类,则下列选项中,正确的是() A: Animal animal = new Cat(); B: Cat cat = (Cat)new Animal(); C: Animal animal = new Dog(); D: Cat cat = (Cat)new Dog();
- 5 Didn't you see that'blue cat/blue'cat? A: 'blue cat B: blue'cat