Consider the following scenario (Javascript code):
regex = new RegExp((/([\d,.]+)[ $]/));
value = "2.879"
The regexp doesn't match value, but it matches (value+" ") therefore i think that the $ is not matched? Why is that?
Shouldn't the $ validate the end of string?