2017-06-13 11:56:07 +00:00
|
|
|
package enry
|
2017-04-10 09:30:23 +00:00
|
|
|
|
2017-06-08 07:27:27 +00:00
|
|
|
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
|
2017-04-10 09:30:23 +00:00
|
|
|
// THIS FILE SHOULD NOT BE EDITED BY HAND
|
2017-05-31 10:07:46 +00:00
|
|
|
// Extracted from github/linguist commit: b6460f8ed6b249281ada099ca28bd8f1230b8892
|
2017-04-10 09:30:23 +00:00
|
|
|
|
|
|
|
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?/`),
|
|
|
|
)
|