github.com/markusbkk/elvish@v0.0.0-20231204143114-91dc52438621/pkg/mods/re/match.go (about)

     1  package re
     2  
     3  import (
     4  	"github.com/markusbkk/elvish/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() {}