Methods
-
regexLoop(regexp, text, cb)
-
It executes the sepecified regexp for the given text and executes the callback with the match. If a global regexp is used, it creates a loop.
Parameters:
Name Type Description regexp
RegExp Regular expression text
string Text cb
function Callback function