Menu
In code that I am reading I have the following regular expression:
[CODE]‘([0-9]*)x([0-9]*)’
and for the code:
[CODE]“400×300”
It give me the following array:
[CODE][400×300,400,300]
I understand why the first element in the array, 400×300, but how come the last two match the regular expression?
They don’t have the x.
Can someone please explain to me why the last 2 element match the regular expression.