|
|
@ -88,7 +88,7 @@ function showPosition(position) {
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
let valid = true;
|
|
|
|
let valid = true;
|
|
|
|
// const domainExp = new RegExp("^http(s)*:\\/\\/[a-zA-Z0-9\\-]+(\\.[a-zA-Z0-9\\-]+)+[_#]*$");
|
|
|
|
// const domainExp = new RegExp("^http(s)*:\\/\\/[a-zA-Z0-9\\-]+(\\.[a-zA-Z0-9\\-]+)+[_#]*$");
|
|
|
|
const domainExp = new RegExp("^http(s)*:\\/\\/[a-zA-Z0-9\\-]+(\\.[a-zA-Z0-9\\-]+)+[\\/_#a-zA-Z0-9\\-]*$");
|
|
|
|
const domainExp = new RegExp("^http(s)*:\\/\\/[a-zA-Z0-9\\-]+(\\.[a-zA-Z0-9\\-]+)+[\\/_#a-zA-Z0-9=?\\-]*$");
|
|
|
|
const filepathExp = new RegExp("^[a-zA-Z]+$");
|
|
|
|
const filepathExp = new RegExp("^[a-zA-Z]+$");
|
|
|
|
const glinkExp = new RegExp("^[a-zA-Z]*$");
|
|
|
|
const glinkExp = new RegExp("^[a-zA-Z]*$");
|
|
|
|
let glinkStr = glink.value;
|
|
|
|
let glinkStr = glink.value;
|
|
|
|