A suite to track Project Diva score statistics and ratings / D4DJ event data.
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.
projectdivar/server/node_modules/regex-regex/lib/index.js

31 lines
521 B

'use strict';
var re = /^\/((?:\\\/|[^\/])+)\/([imgy]*)$/;
/*
Matches parts of a regular expression string.
/^\/
- match a string that begins with a /
()
- capture
(?:)+
- capture, but do not remember, a group of characters which occur 1 or more times
\\\/
- match the literal \/
|
- OR
[^\/]
- anything which is not the literal \/
\/
- match the literal /
([imgy]*)
- capture any characters matching `imgy` occurring 0 or more times
$/
- string end
*/
// EXPORTS //
module.exports = re;