It's surely a simple question for somebody.
I found this pattern for jquery:
/^([0-9]{0,12})$/,/^[0-9]{1,12}[\,]{1}(|[0-9]{0,4})$/
The
/^([0-9]{0,12})$/
and
/^[0-9]{1,12}[\,]{1}(|[0-9]{0,4})$/
I don't understand the pattern.
My only question is and I find nothing via google: What does the comma make?
Is he checking two patterns or does this comma do something special?
Here is the link http://freedns.remdex.info/JQuery-simple-input-validation-plugin-74a.html
So when he accepts arrays it means that he checks whether if one it is true?