emptyString returns the regexpInfo describing a regexp that matches only the empty string.
()
| 409 | // emptyString returns the regexpInfo describing a regexp that |
| 410 | // matches only the empty string. |
| 411 | func emptyString() regexpInfo { |
| 412 | return regexpInfo{ |
| 413 | canEmpty: true, |
| 414 | exact: []string{""}, |
| 415 | match: allQuery, |
| 416 | } |
| 417 | } |
| 418 | |
| 419 | // analyze returns the regexpInfo for the regexp re. |
| 420 | func analyze(re *syntax.Regexp) (ret regexpInfo) { |
no outgoing calls
no test coverage detected
searching dependent graphs…