[Web Page] Simplify RegEx

https://github.com/nasa/openmct/pull/1508#issuecomment-291271270
This commit is contained in:
Victor Woeltjen 2017-04-03 14:23:21 -07:00
parent f666a7ca09
commit c07a372c6e

View File

@ -47,7 +47,7 @@ define([
"key": "url", "key": "url",
"name": "URL", "name": "URL",
"control": "textfield", "control": "textfield",
"pattern": "^(ftp|https?)\\:\\/\\/[-\\w]+(\\.[-\\w]+)*(\\:\\d+)?(\\/\\S*)*$", "pattern": "^(ftp|https?)\\:\\/\\/",
"required": true, "required": true,
"cssClass": "l-input-lg" "cssClass": "l-input-lg"
} }