add regex pattern (HTML5 only) who check if syntax of line number is OK ...

add regex pattern (HTML5 only) who check if syntax of line number is OK for the folowing regex :
^(?:(?:(?:[0-9]+(?:-[0-9]+)?),)*(?:[0-9]+(?:-[0-9]+)?))?$
most readable regex to the following link:
http://www.regexper.com/#^%28%3F%3A%28%3F%3A%28%3F%3A[0-9]%2B%28%3F%3A-[0-9]%2B%29%3F%29%2C%29*%28%3F%3A[0-9]%2B%28%3F%3A-[0-9]%2B%29%3F%29%29%3F%24