mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Add refresh and improve performance
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
function regexIndexOf(string, regex, startpos) {
|
||||
var indexOf = string.substring(startpos || 0).search(regex);
|
||||
return (indexOf >= 0) ? (indexOf + (startpos || 0)) : indexOf;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
regexIndexOf: regexIndexOf
|
||||
}
|
||||
Reference in New Issue
Block a user