Fix example regex for user agent matching
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
655e39ffcd
commit
02af9b2f6f
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue