mirror of
https://github.com/Expand-sys/ccashfrontend
synced 2025-12-19 16:12:14 +11:00
12 lines
No EOL
333 B
JavaScript
12 lines
No EOL
333 B
JavaScript
import PhoneNumberMatcher from './PhoneNumberMatcher';
|
|
export default function findNumbers(text, options, metadata) {
|
|
var matcher = new PhoneNumberMatcher(text, options, metadata);
|
|
var results = [];
|
|
|
|
while (matcher.hasNext()) {
|
|
results.push(matcher.next());
|
|
}
|
|
|
|
return results;
|
|
}
|
|
//# sourceMappingURL=findNumbers_.js.map
|