r'<<<[ \t]*(?P<label>[A-Za-z_][\w_]*)\n
964577
def t_php_START_HEREDOC(t):
    '
    t.lexer.lineno += t.value.count("\n")
    t.lexer.push_state('heredoc')
    t.lexer.heredoc_label = t.lexer.lexmatch.group('label')
    return t
428986
def p_labelled_statement(self, p):
        """"""
        p[0] = ast.Label(identifier=p[1], statement=p[3])
323479
def p_text(self, text):
        ''''''
        item = text[1]
        text[0] = item if item[0] != "\n" else u""
        if len(text) > 2:
            text[0] += "\n"
597796
def =~(domain)
      labels.zip(domain.labels).all? { |r, d| ["*", d].include? r }
    end
1369001
def _label(self, line):
        '''

        '''
        label = self._setup('LABEL', line)
        self.labels += [ label ]
526388
def label(self):
        
        if len(self.name) > 14 and '.' in self.name:
            return '\\.\\n'.join(self.name.split('.'))  # pragma: nocover
        return self.name
713
def p_expression_ulnot(self, p):
        ''
        p[0] = Ulnot(p[2], lineno=p.lineno(1))
        p.set_lineno(0, p.lineno(1))
1343332
def x_label(self, x_label=None):
        """"""

        if x_label is None:
            return self._x_label
        else:
            if not isinstance(x_label, str):
                raise TypeError("x_label must be str, not '%s'" % str(x_label))
            self._x_label = x_label
1183017
function isMacroLabel(label) {
        var regExp = /^[a-zA-Z]/;
        logger.debug('LexiconParser: isMacroLabel(' + label + ') = ' +
          regExp.test(label));
        return(regExp.test(label));
      }
481103
function(string, color) {
      return "\u001B[" + {
       bold    : 1,
       black   : 30,
       red     : 31,
       green   : 32,
       yellow  : 33,
       blue    : 34,
       magenta : 35,
       cyan    : 36,
       white   : 37
      }[color] + 'm' + string + "\u001B[0m"
    }
1307829
def get_label(self, x, w):
        
        scores = np.dot(x,w)
        return np.argmax(scores,axis=1).transpose()
410197
function parse_Label(blob, length, opts) {
	var target = blob.l + length;
	var cell = parse_XLSCell(blob, 6);
	if(opts.biff == 2) blob.l++;
	var str = parse_XLUnicodeString(blob, target - blob.l, opts);
	cell.val = str;
	return cell;
}
1167187
def abbreviate(labels, rfill=' '):
    
    max_len = max(len(l) for l in labels)
    for i in range(1, max_len):
        abbrev = [l[:i].ljust(i, rfill) for l in labels]
        if len(abbrev) == len(set(abbrev)):
            break
    return abbrev
780198
def args(self):
        """"""
        if self.space.has_basis or isinstance(self.label, SymbolicLabelBase):
            return (self.label, )
        else:
            return (self.index, )
1354709
function printLintSummary(
  label: string,
  errors: number,
  warnings: number,
): void {
  const text = ` ${label}: ${errors} errors, ${warnings} warnings `

  let coloredText

  if (errors) {
    coloredText = chalk.white(chalk.bgRed(text))
  } else if (warnings) {
    coloredText = chalk.bgYellow(text)
  } else {
    coloredText = chalk.bgGreen(text)
  }

  const boldColoredText = chalk.bold(coloredText)

  console.log(`${boldColoredText}\n`)
}
1158886
def match? label, x
      x.is_a?(Regexp) ? label.to_s =~ x : label == x
    end
909806
Rule NthRepeatText() {
		return SequenceS(suppr("\""),
				ZeroOrMore(NonQuote()).label(NthRepeatText).suppressSubnodes(),
				suppr("\""));
	}