JavaScript tutorial:
Regular expression object properties

ContentsJavaScript Language Reference

 

lastIndex Property
source Property