Firefox version numbers can have letters in them, for example 3.0b5. I don't know if we need to document these things, but better safe than sorry. Changing the regex to be "everything except /" would work.
Need this for bug 423486 to land for b5, so ASAP (tonight, if possible) would be great here. Was originally going to hack around this on the client side, but backing away from that.
Created attachment 311311 [details] [diff] [review] Quick fix - v1 This is a very quick fix to get this working, but I think there's a lot of clean-up needed here. I'll file a follow-up on the other issues.
Checked in, r11468.
Some Firefox versions also have "rc" in them for e.g. 3.0rc2 This fix only accounts for alphabet 'a' and/or 'b'. It does not account for 'r' and 'c'. Do we care for rc?
(In reply to comment #4) > Some Firefox versions also have "rc" in them for e.g. 3.0rc2 > This fix only accounts for alphabet 'a' and/or 'b'. It does not account for 'r' > and 'c'. > Do we care for rc? No Firefox releases in the last several years have actually had "rc" in their version number. That's just marketing nomenclature.