Resolved lib.js regex error.