please refer oracle tutorials given at
http://docs.oracle.com/javase/tutorial/essential/regex/test_harness.html. when i ran the program and entered the given regex and input
string i get the given below result :
Enter your regex: a??
Enter input string to search: aba
I found the text "" starting at index 0 and ending at index 0.
I found the text "" starting at index 1 and ending at index 1.
I found the text "" starting at index 2 and ending at index 2.
I found the text "" starting at index 3 and ending at index 3.
please explain how i'm getting zero-length matches ? i know i'm using reluctant quantifier.