Skip to content

regex lastIndex #403

Open
Open
@espretto

Description

the regex lastIndex bug seems to persist although es5shim is included.

var empty = ''
var re = /.*/g
re.exec(empty)
re.lastIndex === 0 // false in IE6

I've seen this is being worked around to patch String#replace but RegExp#exec is none the wiser.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions