jrburke/requirejs — pull request #1174 by hefangshi (2014-07-28 06:14:00+00:00)
Title: use a more precise way to check moduleName

We want use moduleName with colon in it to specify the namespace of the module, for example

```javscript
require(['common:jquery', 'home:index' ,function($, index){

});
```

and we want to use paths to locate the module

```javascipt
require.config({
paths: {
"common:jquery" : path/to/jquery,
"home:index" : path/to/index
}
});
```

but the `common:jquery` was recognized as a url path, so I think we need a more precise way to check the url pattern.