(s string)
| 109 | } |
| 110 | |
| 111 | func (this *Regexp) MatchString(s string) bool { |
| 112 | if this.keywordsMap != nil { |
| 113 | var b = this.keywordsMap.Lookup(s, this.isCaseInsensitive) |
| 114 | if !b { |
| 115 | return false |
| 116 | } |
| 117 | if this.isStrict { |
| 118 | return true |
| 119 | } |
| 120 | } |
| 121 | |
| 122 | return this.rawRegexp.MatchString(s) |
| 123 | } |
| 124 | |
| 125 | func (this *Regexp) Match(s []byte) bool { |
| 126 | if this.keywordsMap != nil { |