fix
This commit is contained in:
		
							
								
								
									
										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,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user