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.