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:18:56 +0000 (16:18 +0100)
commit8c924fc35ea61e6f157da2627e5f5258d4fd1cee
treec2dd1e62b4c0dfe6a4f4af72200dec852a69e005
parentb50146c954472629f91c57f8d63ef240bd10fe5c
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