MCPcopy Create free account
hub / github.com/yuin/gopher-lua / Matches

Method Matches

pm/pm.go:244–251  ·  view source on GitHub ↗
(ch int)

Source from the content-addressed store, hash-verified

242}
243
244func (pn *setClass) Matches(ch int) bool {
245 for _, class := range pn.Classes {
246 if class.Matches(ch) {
247 return !pn.IsNot
248 }
249 }
250 return pn.IsNot
251}
252
253type rangeClass struct {
254 Begin class

Callers

nothing calls this directly

Calls 1

MatchesMethod · 0.65

Tested by

no test coverage detected