Documentation ¶
Index ¶
Constants ¶
View Source
const ( RX_CHAR = instrCode(iota) RX_CLASS RX_ASSERT RX_MATCH RX_JMP RX_SPLIT RX_SAVE )
Variables ¶
View Source
var BAssert = nodeAssert{ // contains filtered or unexported fields }
View Source
var DClass = nodeClass{ // contains filtered or unexported fields }
View Source
var SClass = nodeClass{ // contains filtered or unexported fields }
View Source
var WClass = nodeClass{ // contains filtered or unexported fields }
Functions ¶
This section is empty.
Types ¶
type Regex ¶
type Regex struct {
// contains filtered or unexported fields
}
func Compile ¶
* Compiles a regex - rx: the regular expression string - find: true if we want to do a find operation, false if we want to do a match operation - bw: compile the regular expression backwards
func CompileFuzzySearch ¶
Compiles a regex to do a non-contiguous search of string s
type RuneArrayMatchable ¶
type RuneArrayMatchable []rune
func (RuneArrayMatchable) At ¶
func (ram RuneArrayMatchable) At(i int) rune
func (RuneArrayMatchable) SelectionRunes ¶
func (ram RuneArrayMatchable) SelectionRunes(sel util.Sel) []rune
func (RuneArrayMatchable) Size ¶
func (ram RuneArrayMatchable) Size() int
Click to show internal directories.
Click to hide internal directories.