mirror of
https://gitlab.com/buildfeed/BuildFeed.git
synced 2024-03-22 21:10:34 +08:00
Fixed #1 for Nick.
This commit is contained in:
parent
79c96c933e
commit
01a8d0e15a
|
@ -245,7 +245,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#quickpaste").change(function () {
|
$("#quickpaste").change(function () {
|
||||||
var regex = /([\d]{1,2})\.([\d]{1,2})\.([\d]{4,5})\.([\d]{1,5})\.([a-zA-Z0-9_]+?)\.(\d\d\d\d\d\d-\d\d\d\d)/;
|
var regex = /([\d]{1,2})\.([\d]{1,2})\.([\d]{4,5})\.([\d]{1,5})\.([a-zA-Z0-9_\(\)]+?)\.(\d\d\d\d\d\d-\d\d\d\d)/;
|
||||||
var result = regex.exec($("#quickpaste").val());
|
var result = regex.exec($("#quickpaste").val());
|
||||||
|
|
||||||
$("#MajorVersion").val(result[1]);
|
$("#MajorVersion").val(result[1]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user