var rnothtmlwhite=/[^x20 f]+/g; function createOptions(options){ var option={}; jQuery.each(options.match(rnothtmlwhite)||[],function(_,flag){ option[flag]=true; }); return option; }
/[^x20 f]+/g啥意思呀
看变量名。not html white —— 非空白符
2.1m questions
2.1m answers
63 comments
56.7k users