luci-base: Code quality fixes
authorPaul Donald <newtwen@gmail.com>
Wed, 31 Jan 2024 01:04:27 +0000 (02:04 +0100)
committerPaul Donald <newtwen@gmail.com>
Sat, 3 Feb 2024 15:14:44 +0000 (16:14 +0100)
commit56e64863bce2252370946e4bca8b1c241cc5c6b9
tree4c38f707031e56c9051d6ffea5b588fb71036703
parent21210dc2fb001f0a2a0c7195230d03147cd89e69
luci-base: Code quality fixes

reduce backtracking in regex

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 2dc1fccbd1f46d3fa2689cc1eae3899e5a807a4f)
modules/luci-base/htdocs/luci-static/resources/validation.js