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.
4 lines
170 B
4 lines
170 B
'use strict';
|
|
const regex = '@[a-z0-9][\\w-.]+/[a-z0-9][\\w-.]*';
|
|
|
|
module.exports = opts => opts && opts.exact ? new RegExp(`^${regex}$`, 'i') : new RegExp(regex, 'gi');
|
|
|