26 lines
930 B
Go
26 lines
930 B
Go
package slinguist
|
|
|
|
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/simple-linguist.v1/internal/code-generator
|
|
// THIS FILE SHOULD NOT BE EDITED BY HAND
|
|
// Extracted from github/linguist commit: 60f864a138650dd17fafc94814be9ee2d3aaef8c
|
|
|
|
import "gopkg.in/toqueteos/substring.v1"
|
|
|
|
var documentationMatchers = substring.Or(
|
|
substring.Regexp(`^[Dd]ocs?/`),
|
|
substring.Regexp(`(^|/)[Dd]ocumentation/`),
|
|
substring.Regexp(`(^|/)[Jj]avadoc/`),
|
|
substring.Regexp(`^[Mm]an/`),
|
|
substring.Regexp(`^[Ee]xamples/`),
|
|
substring.Regexp(`^[Dd]emos?/`),
|
|
substring.Regexp(`(^|/)CHANGE(S|LOG)?(\.|$)`),
|
|
substring.Regexp(`(^|/)CONTRIBUTING(\.|$)`),
|
|
substring.Regexp(`(^|/)COPYING(\.|$)`),
|
|
substring.Regexp(`(^|/)INSTALL(\.|$)`),
|
|
substring.Regexp(`(^|/)LICEN[CS]E(\.|$)`),
|
|
substring.Regexp(`(^|/)[Ll]icen[cs]e(\.|$)`),
|
|
substring.Regexp(`(^|/)README(\.|$)`),
|
|
substring.Regexp(`(^|/)[Rr]eadme(\.|$)`),
|
|
substring.Regexp(`^[Ss]amples?/`),
|
|
)
|