Versions in this module Expand all Collapse all v0 v0.0.1 Nov 11, 2011 Changes in this version + const ONIGERR_UNDEFINED_NAME_REFERENCE + const ONIG_MISMATCH + const ONIG_MISMATCH_STR + const ONIG_NORMAL + const ONIG_OPTION_CAPTURE_GROUP + const ONIG_OPTION_DEFAULT + const ONIG_OPTION_DONT_CAPTURE_GROUP + const ONIG_OPTION_EXTEND + const ONIG_OPTION_FIND_LONGEST + const ONIG_OPTION_FIND_NOT_EMPTY + const ONIG_OPTION_IGNORECASE + const ONIG_OPTION_MAXBIT + const ONIG_OPTION_MULTILINE + const ONIG_OPTION_NEGATE_SINGLELINE + const ONIG_OPTION_NONE + const ONIG_OPTION_NOTBOL + const ONIG_OPTION_NOTEOL + const ONIG_OPTION_POSIX_REGION + const ONIG_OPTION_SINGLELINE + func MatchString(pattern string, s string) (matched bool, error os.Error) + func QuoteMeta(s string) string + type MatchData struct + type Regexp struct + func Compile(str string) (*Regexp, os.Error) + func CompileWithOption(str string, option int) (*Regexp, os.Error) + func MustCompile(str string) *Regexp + func MustCompileWithOption(str string, option int) *Regexp + func NewRegexp(pattern string, option int) (re *Regexp, err os.Error) + func (re *Regexp) Find(b []byte) []byte + func (re *Regexp) FindAll(b []byte, n int) [][]byte + func (re *Regexp) FindAllIndex(b []byte, n int) [][]int + func (re *Regexp) FindAllString(s string, n int) []string + func (re *Regexp) FindAllStringIndex(s string, n int) [][]int + func (re *Regexp) FindAllStringSubmatch(s string, n int) [][]string + func (re *Regexp) FindAllStringSubmatchIndex(s string, n int) [][]int + func (re *Regexp) FindAllSubmatch(b []byte, n int) [][][]byte + func (re *Regexp) FindAllSubmatchIndex(b []byte, n int) [][]int + func (re *Regexp) FindIndex(b []byte) (loc []int) + func (re *Regexp) FindReaderIndex(r io.RuneReader) []int + func (re *Regexp) FindReaderSubmatchIndex(r io.RuneReader) []int + func (re *Regexp) FindString(s string) string + func (re *Regexp) FindStringIndex(s string) []int + func (re *Regexp) FindStringSubmatch(s string) []string + func (re *Regexp) FindStringSubmatchIndex(s string) []int + func (re *Regexp) FindSubmatch(b []byte) [][]byte + func (re *Regexp) FindSubmatchIndex(b []byte) []int + func (re *Regexp) Free() + func (re *Regexp) Gsub(src, repl string) string + func (re *Regexp) GsubFunc(src string, replFunc func(*Regexp, []string) string) string + func (re *Regexp) LiteralPrefix() (prefix string, complete bool) + func (re *Regexp) Match(b []byte) bool + func (re *Regexp) MatchReader(r io.RuneReader) bool + func (re *Regexp) MatchString(s string) bool + func (re *Regexp) NumSubexp() int + func (re *Regexp) ReplaceAll(src, repl []byte) []byte + func (re *Regexp) ReplaceAllFunc(src []byte, repl func([]byte) []byte) []byte + func (re *Regexp) ReplaceAllString(src, repl string) string + func (re *Regexp) ReplaceAllStringFunc(src string, repl func(string) string) string + func (re *Regexp) String() string