mirror of
https://github.com/gSpotx2f/ruantiblock_openwrt.git
synced 2026-05-14 14:40:58 +00:00
luci-app: log.js - fixed regexp
This commit is contained in:
@@ -8,7 +8,7 @@ return abc.view.extend({
|
|||||||
|
|
||||||
title : _('Ruantiblock') + ' - ' + _('Log'),
|
title : _('Ruantiblock') + ' - ' + _('Log'),
|
||||||
|
|
||||||
appRegexp : new RegExp(`^.*${tools.appName}.*$`, 'gm'),
|
appRegexp : new RegExp(`^.*user\.(err|warning|notice|info|debug)\\s${tools.appName}.*$`, 'gm'),
|
||||||
|
|
||||||
testRegexp : new RegExp(/([0-9]{2}:){2}[0-9]{2}/),
|
testRegexp : new RegExp(/([0-9]{2}:){2}[0-9]{2}/),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user