You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					12 lines
				
				548 B
			
		
		
			
		
	
	
					12 lines
				
				548 B
			| 
											3 years ago
										 | // Importing from a ".js" file is a workaround for Node.js "ES Modules"
 | ||
|  | // importing system which is even uncapable of importing "*.json" files.
 | ||
|  | import metadata from '../../metadata.min.json.js' | ||
|  | 
 | ||
|  | import { PhoneNumberMatcher as _PhoneNumberMatcher } from '../../core/index.js' | ||
|  | 
 | ||
|  | export function PhoneNumberMatcher(text, options) { | ||
|  | 	return _PhoneNumberMatcher.call(this, text, options, metadata) | ||
|  | } | ||
|  | PhoneNumberMatcher.prototype = Object.create(_PhoneNumberMatcher.prototype, {}) | ||
|  | PhoneNumberMatcher.prototype.constructor = PhoneNumberMatcher |