Given the following files in doc directory:
– Index.htm
– Service.html
– Logo.gif
– Title.jpg
And the code fragment:
What is the result, if doc is present in the current directory?
A.
No output is produced.
B.
index.htm
C.
index.htm
userguide.txt
logo.gif
D.
index.htm
service.html
userguide.txt
logo.gif
Explanation:
The Glob search expression is defined through “glob:*.htm, html, xml” Only the file name index.htm matches this pattern.
I can’t see the image!
Now I can see the image. The correct answer is A
The glob is trying to match all the string. The correct way is
glob:*.{htm,html,xml}
u r right
1+
A
a