【判断题】【消耗次数:1】
在正则表达式中,一个方括号“[]”可以匹配一个单词。
正确
错误
参考答案:
复制
纠错
相关题目
【判断题】 在正则表达式中,“\B”用于匹配单词边界,“\b”用于匹配非单词边界。
①  正确
②  错误
【单选题】 在正则表达式中,下列选项哪些是括号字符“()”的作用( )。
①  定义限定符
②  分组
③  固定限定符的作用范围
④  表示字符范围
【单选题】 在正则表达式中,下列选项哪些是括号字符“()”的作用( )。
①  定义限定符
②  分组
③  固定限定符的作用范围
④  表示字符范围
【判断题】 在正则表达式中,定位符“^”和“$”用于描述单词的边界。
①  正确
②  错误
【单选题】 下列正则表达式选项中,可以匹配字符串“itcast”的选项有( )。
①  \w
②  -\W+
③  \s+
④  \S+
【单选题】 下列正则表达式选项中,可以匹配字符串“itcast”的选项有( )。
①  \w
②  - \W+
③  \s+
④  \S+
【单选题】 下列选项中,可以被正则表达式“(go)+gle”匹配的字符串有( )。
①  google
②  gogle
③  goglogle
④  gle
【单选题】 下列正则表达式选项中,可以匹配字符串“it\c\ast”的选项是( )。
①  it\c\ast
②  it\\c\\ast
③  it?c?ast
④  it*c*ast
【单选题】 下列选项中,可以被正则表达式“(go)+gle”匹配的字符串有( )。
①  google
②  gogle
③  goglogle
④  gle
【单选题】 下列正则表达式选项中,可以匹配字符串“it\c\ast”的选项是( )。
①  it\c\ast
②  it\\c\\ast
③  it?c?ast
④  it*c*ast
随机题目
【判断题】 A: Ok, next question. Can you follow me? B: Yes, perfectly.
①  正确
②  错误
【判断题】 A: Could I ask you a favor? B: Good idea.
①  正确
②  错误
【判断题】 A: Good evening, Valley Hotel. B: Good evening, who is that speaking, please?
①  正确
②  错误
【判断题】 A: Sir, no smoking here. B: Sure, I don’t smoke.
①  正确
②  错误
【判断题】 A: Do you have the time? B: Of course, I have.
①  正确
②  错误
【判断题】 A: What time is it? B: Sorry, I dont have a watch with me.
①  正确
②  错误
【判断题】 A: Why didnt you buy that pair of trousers? B: I disliked its pattern.
①  正确
②  错误
【判断题】 A: I like your shirt. You look very nice today. B: No, it’s quite ordinary.
①  正确
②  错误
【判断题】 A: How have you been these years? B: Not too bad.
①  正确
②  错误
【判断题】 A: I wish you success in the final exam. B: The same to you.
①  正确
②  错误