What is the correct regular expression to match a URI request equal to /test.exe?
A.
/test.exe
B.
Vtest\\.exe
C.
/test\\.exe
D.
*/test\\.exe
E.
\\*/test\\.exe
F.
*/test.exe
Explanation:
It has a special meaning = match any character which would have the result testaexe, test$exe etc- would me matched as well as test.exe
The \\ removes the special meaning from the
So it is now just matching the .exe — so = test.exe exactly has to be matched.