Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2019 Changes in this version + var ExtraRunes = "_-~.%@&?!=#+" + "()[]{}<>" + "\\^" + "/" + " " + ":" + var PathItemExtraRunes = RunesExcept(ExtraRunes, ...) + var ResourceExtraRunes = RunesExcept(ExtraRunes, excludeResourceRunes) + func AddEscapes(str string, escape rune, escapeRunes string) string + func CleanMultiplePathSeps(str string, sep rune) string + func DetectEnvVar(str, name string) bool + func EscapeFilename(str string) string + func ExpandIndexEscape(r iorw.Reader, i int, truth bool, fn func(rune) bool, escape rune) int + func ExpandIndexesEscape(rd iorw.Reader, index int, truth bool, fn func(rune) bool, escape rune) (int, int) + func ExpandLastIndexEscape(r iorw.Reader, i int, truth bool, fn func(rune) bool, escape rune) int + func ImproveExpandIndexEscape(r iorw.Reader, i int, escape rune) int + func IndexLineColumn(rd iorw.Reader, index int) (int, int, error) + func LineColumnIndex(rd iorw.Reader, line, column int) (int, error) + func RemoveEscapes(str string, escape rune) string + func RemoveEscapesEscapable(str string, escape rune, escapable string) string + func RemoveFilenameEscapes(f string, escape, pathSep rune) string + func RunesExcept(runes, except string) string + type FilePos struct + Column int + Filename string + Len int + Line int + Offset int + func NewFilePosFromResource(res *Resource) *FilePos + func ParseFilePos(str string) (*FilePos, error) + func (fp *FilePos) HasOffset() bool + type ResParser struct + type Resource struct + Column int + Escape rune + ExpandedMax int + ExpandedMin int + Line int + Path string + PathSep rune + RawPath string + func ParseResource(rd iorw.Reader, index int) (*Resource, error)