func ParseSequencesMatching(re *regexp.Regexp, data []byte) []string {
	var result []string
	scanner := bufio.NewScanner(bytes.NewReader(data))
	for scanner.Scan() {
		line := scanner.Text()
		if !re.MatchString(line) {
			continue
		}
		seq, ok := toSeq(line)
		if !ok {
			continue
		}
		result = append(result, seq)
	}
	return result
}
// ParseSequencesMatching parses emoji sequences from data lines matching
// the specified regexp.
ParseSequencesMatching parses emoji sequences from data lines matching
the specified regexp.
// ParseSequencesMatching parses emoji sequences from data lines matching // the specified regexp .
func ParseSequencesMatching(re *regexp.Regexp, data []byte) []string {
	var result []string
	scanner := bufio.NewScanner(bytes.NewReader(data))
	for scanner.Scan() {
		line := scanner.Text()
		if !re.MatchString(line) {
			continue
		}
		seq, ok := toSeq(line)
		if !ok {
			continue
		}
		result = append(result, seq)
	}
	return result
}
func ParseSequencesMatching ( re * regexp . Regexp , data [ ] byte ) [ ] string { var result [ ] string scanner := bufio . NewScanner ( bytes . NewReader ( data ) ) for scanner . Scan ( ) { line := scanner . Text ( ) if ! re . MatchString ( line ) { continue } seq , ok := toSeq ( line ) if ! ok { continue } result = append ( result , seq ) } return result }
ParseSequencesMatching parses emoji sequences from data lines matching
the specified regexp.
ParseSequencesMatching parses emoji sequences from data lines matching the specified regexp .