regexp on string+

This commit is contained in:
eleith 2012-09-24 06:13:46 -07:00
parent e84e99d516
commit cac6b7edc2
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ var is =
{
'string+': function(value)
{
return typeof(value) == 'string' && value.length && !(/\s+/.test(value));
return typeof(value) == 'string' && value.length && !(/^\s+$/.test(value));
},
'string': function(value)