in lib/is.js [207:225]
(function () {
var handle = '[\\w.]{1,30}';
def({
fn: 'medium.handle',
re: new RegExp('^@?' + handle + '$'),
after: function (data, options) {
if (options.at == null) {
return true;
}
return options.at === (data[0] === '@');
}
});
def({
fn: 'medium.profile',
re: url('medium\\.com\\/@' + handle)
});
})();