您的位置:首页 > 其它

OCP-047 expression:'[^Ale|ax.r$]'

2012-08-20 16:56 274 查看
92. Evaluate the following expression using meta character for regular

expression:'[^Ale|ax.r$]'

Which two matches would be returned by this expression? (Choose two.)

A. Alex

B. Alax

C. Alxer

D. Alaxendar

E. Alexender

Answer: DE

解题:

'[^Ale|ax.r$]': [^.....]不匹配字符list |: or .:任意一个字符

字符串: [Ale|ax.r$] 匹配Alex,Alax ,Alxer ,A,l,e,a.............

在取反:所以DE正确
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐