Skip to content

regex lastIndex #403

Open
Open
@espretto

Description

@espretto

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions