I have a query on ?
in RegEx of Javascript.
The explanation for this is given as Matches zero or one occurrences. Can you please see the below screenshot from RegExPal and help me explain the functionality?
In the above picture, even though the upper case characters are mentioned, why they are failed to get selected? Now see the below picture, I just swapped the order and I can see the selection. Can you please explain?