Update reg.js

Fixed typo: changed "use string" to "use strict".