@ -1,3 +1,5 @@
import regex from './regex';
// Factory function to return parser instance
export default class Urls {
@ -5,4 +7,8 @@ export default class Urls {
this.text = text;
}
get() {
return this.text.match(regex);