Sajjad Ishaq wrote:Hi,
I am trying to get to grips with with Regex. Like the following example
The ? quantifier means 0 or 1 times. The output that i get is
Why is it getting 4 then a 3 then 0 from the end and not the first portion ?
When I ran it, I got this...
0 1 1
1 2 0
2 3 1
3 4 2
4 4
5 6 0
6 7 2
7 8 0
8 9 8
9 9
10 11 4
11 12 3
12 13 0
13 13
Looks correct to me.
Henry