Menu

#2 RegEx for Firefox misses multiple digits.

open
nobody
None
5
2007-12-14
2007-12-14
Anonymous
No

Regular expression for the Firefox version number is missing * for multiple digits.

Could also effect other browsers.

RegEx changed to :
b[1]=brs.match(/firefox[\/\s](\d+([\.-]\d*)*)/)[1];
^
added asterix |

Great coding, Thanks.
Shaun.powell@nexustelecom.com

Discussion


Log in to post a comment.