github.com/kolbycrouch/elvish@v0.14.1-0.20210614162631-215b9ac1c423/pkg/eval/mods/re/match.go (about) 1 package re 2 3 import ( 4 "src.elv.sh/pkg/eval/vals" 5 ) 6 7 type matchStruct struct { 8 Text string 9 Start int 10 End int 11 Groups vals.List 12 } 13 14 func (matchStruct) IsStructMap() {} 15 16 type submatchStruct struct { 17 Text string 18 Start int 19 End int 20 } 21 22 func (submatchStruct) IsStructMap() {}