dna

package
v0.0.0-...-b232642 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const MatchRegexp = "" /* 247-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct{}

Match implements the regular expression "(?:(agggtaaa|tttaccct)|([cgt]gggtaaa|tttaccc[acg])|(a[act]ggtaaa|tttacc[agt]t)|(ag[act]gtaaa|tttac[agt]ct)|(agg[act]taaa|ttta[agt]cct)|(aggg[acg]aaa|ttt[cgt]ccct)|(agggt[cgt]aa|tt[acg]accct)|(agggta[cgt]a|t[acg]taccct)|(agggtaa[cgt]|[acg]ttaccct))" with flags 212.

func (Match) Find

func (e Match) Find(s []byte) (matches [10][]byte, pos int, ok bool)

Find returns the first leftmost match.

func (Match) FindLongest

func (e Match) FindLongest(s []byte) (matches [10][]byte, pos int, ok bool)

FindLongest returns the leftmost-longest match.

func (Match) FindLongestString

func (e Match) FindLongestString(r string) (matches [10]string, pos int, ok bool)

FindLongestString returns the leftmost-longest match.

func (Match) FindString

func (e Match) FindString(r string) (matches [10]string, pos int, ok bool)

FindString returns the first leftmost match.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL