【判断题】【消耗次数: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
随机题目
【单选题】 If you don’t think it necessary to make ____ any missed lessons, speak up now.
①  up for
②  up with
③  up to
④  away for
【单选题】 No sooner had he sat down to lunch ____ there was a knock at the door.
①  when
②  that
③  as
④  than
【单选题】 When the teacher had ____through with the class, they felt very ashamed.
①  gone
②  got
③  done
④  taken
【单选题】 “Which of these two ties will you take?” “I’ll take ____to give me a change sometimes.”?
①  either ?
②  both ?
③  neither ?
④  all?
【单选题】 No one, except his two best friends ____his joy or sorrow in his life.
①  shares
②  share
③  sharing
④  to share
【单选题】 He would like to view difficulties ____ a kind of challenge.
①  with
②  on
③  of
④  as
【单选题】 As a result of the unfavorable working conditions, the project has to be put off____.
①  temporarily
②  tremendously
③  traditionally
④  typically
【单选题】 1.—Did you accept his invitation? — ____bet I did.
①  I
②  You
③  People
④  They
【单选题】 Thisbookisdesignedforlearners ____ nativelanguagesarenotChinese.
①  what
②  who
③  that
④  whose
【单选题】 I took someone elses book ____ mistake.
①  in
②  for
③  with
④  by