kotlin-stdlib / kotlin.js / RegExp / lastIndex lastIndex JS 1.1 var lastIndex : Int (source) The lastIndex is a read/write integer property of regular expressions that specifies the index at which to start the next match.