fix location hash regex

This commit is contained in:
Radek Stepan 2013-10-05 11:19:02 +01:00
parent 185512ad68
commit 863db506d1
2 changed files with 2 additions and 2 deletions

View File

@ -29552,7 +29552,7 @@ require.register("app/modules/regex.js", function(exports, require, module){
module.exports = {
'datetime': /^(\d{4}-\d{2}-\d{2})T(.*)/,
'size_label': /^size (\d+)$/,
'location': /^#!\/(.+)\/(.+)$/
'location': /^#!\/([^\/]+)\/([^\/]+)$/
};
});

View File

@ -5,4 +5,4 @@ module.exports =
# How does a size label look like?
'size_label': /^size (\d+)$/
# How do we specify which user/repo we want?
'location': /^#!\/(.+)\/(.+)$/
'location': /^#!\/([^\/]+)\/([^\/]+)$/