serve-sessions.js
function reAccess(s) {
    var list = s ? s.split(/[, ]+/) : [];      // avoid ['']
    return new RegExp(
      u.map(list, function(s) {
        return '^' + u.escapeRegExp(s) + '$';  // exact matches only
        }).join('|')                           // join([]) returns ''
      || '$(?=.)'                              // avoid default regexp /(?:)/
      , 'i');                                  // not case-sensitive
  }
function reAccess(s) {
    var list = s ? s.split(/[, ]+/) : [];      // avoid ['']
    return new RegExp(
      u.map(list, function(s) {
        return '^' + u.escapeRegExp(s) + '$';  // exact matches only
        }).join('|')                           // join([]) returns ''
      || '$(?=.)'                              // avoid default regexp /(?:)/
      , 'i');                                  // not case-sensitive
  }
function reAccess ( s ) { var list = s ? s . split ( / [, ]+ / ) : [ ] ; // avoid [''] return new RegExp ( u . map ( list , function ( s ) { return '^' + u . escapeRegExp ( s ) + '$' ; // exact matches only } ) . join ( '|' ) // join([]) returns '' || '$(?=.)' // avoid default regexp /(?:)/ , 'i' ) ; // not case-sensitive }
turns ACLs into regexps
turns ACLs into regexps