fix
This commit is contained in:
parent
d849b45223
commit
f921ff783e
7
index.js
7
index.js
@ -48,9 +48,9 @@ function copy_object (obj) {
|
||||
/**
|
||||
* run a regular expression and callback for every result
|
||||
*
|
||||
* @param regex regular expression
|
||||
* @param data data to run on
|
||||
* @param func function to execute
|
||||
* @param {any} regex regular expression
|
||||
* @param {any} data data to run on
|
||||
* @param {any} func function to execute
|
||||
*/
|
||||
function run_regex (regex, data, func) {
|
||||
let res = regex.exec (data);
|
||||
@ -61,7 +61,6 @@ function run_regex (regex, data, func) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
module.exports = {
|
||||
truncate_decimal,
|
||||
try_parse_json,
|
||||
|
Loading…
x
Reference in New Issue
Block a user