using non-capturing groups for slug-finding regex