3 var getOrgNameFromTroupeName = require('./get-org-name-from-troupe-name');
4 var escapeStringRegexp = require('escape-string-regexp');
6 module.exports = function getRoomNameFromTroupeName(name) {
9 // TODO: consider reworking this
11 new RegExp('^' + escapeStringRegexp(getOrgNameFromTroupeName(name)) + '/'),