{"action":"created","issue":{"url":"https://api.github.com/repos/ecomfe/fecs/issues/51","labels_url":"https://api.github.com/repos/ecomfe/fecs/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/ecomfe/fecs/issues/51/comments","events_url":"https://api.github.com/repos/ecomfe/fecs/issues/51/events","html_url":"https://github.com/ecomfe/fecs/issues/51","id":54531893,"number":51,"title":"正则中的空格","user":{"login":"otakustay","id":639549,"avatar_url":"https://avatars.githubusercontent.com/u/639549?v=3","gravatar_id":"","url":"https://api.github.com/users/otakustay","html_url":"https://github.com/otakustay","followers_url":"https://api.github.com/users/otakustay/followers","following_url":"https://api.github.com/users/otakustay/following{/other_user}","gists_url":"https://api.github.com/users/otakustay/gists{/gist_id}","starred_url":"https://api.github.com/users/otakustay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otakustay/subscriptions","organizations_url":"https://api.github.com/users/otakustay/orgs","repos_url":"https://api.github.com/users/otakustay/repos","events_url":"https://api.github.com/users/otakustay/events{/privacy}","received_events_url":"https://api.github.com/users/otakustay/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-16T02:08:55Z","updated_at":"2015-01-16T08:05:13Z","closed_at":"2015-01-16T08:05:13Z","body":"如下的正则会被检测为错误：\r\n\r\n```\r\n/^[^@#$%^&*?!+_ =~`:;\"\\'|\\\\<>,./\\{\\}\\[\\]\\(\\)]+$/\r\n```\r\n\r\n错误为：\r\n\r\n```\r\nIrregular whitespace not allowed\r\n```\r\n\r\n在正则中有空格我觉得是比较正常的事情，而且没有兼容性问题吧？"},"comment":{"url":"https://api.github.com/repos/ecomfe/fecs/issues/comments/70220277","html_url":"https://github.com/ecomfe/fecs/issues/51#issuecomment-70220277","issue_url":"https://api.github.com/repos/ecomfe/fecs/issues/51","id":70220277,"user":{"login":"chriswong","id":165639,"avatar_url":"https://avatars.githubusercontent.com/u/165639?v=3","gravatar_id":"","url":"https://api.github.com/users/chriswong","html_url":"https://github.com/chriswong","followers_url":"https://api.github.com/users/chriswong/followers","following_url":"https://api.github.com/users/chriswong/following{/other_user}","gists_url":"https://api.github.com/users/chriswong/gists{/gist_id}","starred_url":"https://api.github.com/users/chriswong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriswong/subscriptions","organizations_url":"https://api.github.com/users/chriswong/orgs","repos_url":"https://api.github.com/users/chriswong/repos","events_url":"https://api.github.com/users/chriswong/events{/privacy}","received_events_url":"https://api.github.com/users/chriswong/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T08:05:13Z","updated_at":"2015-01-16T08:05:13Z","body":"结论是 传说中的 \\xa0 字符，在正则中最好用这种形式的，免得肉眼分辨不出来。"}}