I am trying to understand the regular expression given below:
"/login?(\\?.+)?"
I have gone through the Java docs, but I am not able to clearly understand the purpose of this expression.
I understand that it looks for a string that starts with /login
, then after that what does the characters ?(\\?.+)?
represent?
Please help me in understanding this.