Fix example regex for user agent matching

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2018-02-10 16:39:53 +01:00 committed by Roeland Jago Douma
parent ac8d572102
commit 23f37cd741
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@
var placeholder = 'Mozilla/5.0 User Agent';
if (check['operator'] === 'matches' || check['operator'] === '!matches') {
placeholder = '/^Mozilla\\/5\\.0 (.?)$/i';
placeholder = '/^Mozilla\\/5\\.0 (.*)$/i';
}
$(element).css('width', '250px')