millermedeiros/requirejs-plugins — Issue #4: Goog regexp fail
Author: outaTiME
Created: 2011-12-06 00:03:00+00:00
State: open

Hi,

im working with your plugins and i found a little mistake in your regexp in goog plugin,

it fails in google modules like "chrome-frame" ...

tryit :

```javascript
define(["goog!chrome-frame,1.0.2"], function () {
// pass
});
```

the current regexp:

```javascript
var rParts = /^(^\w+)(?:,([^,]+))?(?:,\[([^\]]+)\])?/
```

returns only the firs part of module name "chrome" ...

thks !