Skip to content

Commit c07a372

Browse files
committed
[Web Page] Simplify RegEx
nasa#1508 (comment)
1 parent f666a7c commit c07a372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/features/pages/bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ define([
4747
"key": "url",
4848
"name": "URL",
4949
"control": "textfield",
50-
"pattern": "^(ftp|https?)\\:\\/\\/[-\\w]+(\\.[-\\w]+)*(\\:\\d+)?(\\/\\S*)*$",
50+
"pattern": "^(ftp|https?)\\:\\/\\/",
5151
"required": true,
5252
"cssClass": "l-input-lg"
5353
}

0 commit comments

Comments
 (0)