luci-base: validation.js: fix xgettext quirk
The xgettext utility does not properly discard `/` inside regex character
classes, causing a false positive unterminated string error.
Avoid the issue by explicitly escaping the embedded slash.
Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
parent
dd111140
Please register or sign in to comment