pinafore/src/routes/_utils/handleRegex.js
Nolan Lawson 58844052c9
fix: update url regex to match latest mastodon (#1026)
also make all the regexes use the thunk pattern consistently
2019-02-19 23:34:06 -08:00

6 lines
168 B
JavaScript

/* eslint-disable */
import { thunk } from './thunk'
export const handleRegex = thunk(() => /(^|[^\/\w])@(([a-z0-9_]+)@[a-z0-9\.\-]+[a-z0-9]+)/ig)
/* eslint-enable */