[IE8] parse() > optional params > should only pass matched params #60

Closed
millermedeiros opened this Issue Jun 21, 2012 · 0 comments

Comments

Projects
None yet
1 participant

@millermedeiros millermedeiros added a commit that referenced this issue Jul 29, 2012

@millermedeiros millermedeiros Normalizes IE 7-8 RegExp behavior fixing many bugs.
Optional capturing groups are matched as an empty string on IE 7-8
while it is matched as `undefined` on other browsers. The global
flag also causes some undesired side effects on IE 7-8 so make
sure we reset the `RegExp.lastIndex` during `captureVals`.

 - closes #gh-58
 - closes #gh-59
 - closes #gh-60
 - closes #gh-61
 - closes #gh-62
 - closes #gh-63
7fe803e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment