fix location hash regex
This commit is contained in:
parent
185512ad68
commit
863db506d1
|
@ -29552,7 +29552,7 @@ require.register("app/modules/regex.js", function(exports, require, module){
|
||||||
module.exports = {
|
module.exports = {
|
||||||
'datetime': /^(\d{4}-\d{2}-\d{2})T(.*)/,
|
'datetime': /^(\d{4}-\d{2}-\d{2})T(.*)/,
|
||||||
'size_label': /^size (\d+)$/,
|
'size_label': /^size (\d+)$/,
|
||||||
'location': /^#!\/(.+)\/(.+)$/
|
'location': /^#!\/([^\/]+)\/([^\/]+)$/
|
||||||
};
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,4 +5,4 @@ module.exports =
|
||||||
# How does a size label look like?
|
# How does a size label look like?
|
||||||
'size_label': /^size (\d+)$/
|
'size_label': /^size (\d+)$/
|
||||||
# How do we specify which user/repo we want?
|
# How do we specify which user/repo we want?
|
||||||
'location': /^#!\/(.+)\/(.+)$/
|
'location': /^#!\/([^\/]+)\/([^\/]+)$/
|
Loading…
Reference in New Issue