Skip to content

Instantly share code, notes, and snippets.

@zhangyiwei
Last active August 3, 2020 16:23
Show Gist options
  • Save zhangyiwei/b9767075326af7fd685e5555b8ba3343 to your computer and use it in GitHub Desktop.
Save zhangyiwei/b9767075326af7fd685e5555b8ba3343 to your computer and use it in GitHub Desktop.
Public guidance: https://source.android.com/setup/contribute/respectful-code
prohibited_regexp: "(?i)(black|white|gr[ea]y)[-_]?list"
prohibited_regexp: "(?i)(first class citizen)"
prohibited_regexp: "(?i)(black|white|gr[ea]y)[-_]?hat"
prohibited_regexp: "(?i)(master|slave)"
prohibited_regexp: "(?i)\\b(him|his|she|her|hers|man|woman)\\b"
prohibited_regexp: "(?i)\\s(he|he'd|he's|he'll)\\s"
prohibited_regexp: "(?i)grandfather"
prohibited_regexp: "(?i)\\bmitm\\b"
prohibited_regexp: "(?i)\\b(crazy|insane|blind\\sto|flying\\sblind|blind\\seye|cripple|crippled|dumb|dummy|paranoid)\\b"
prohibited_regexp: "(?i)\\b(sane|sanity)\\b"
prohibited_regexp: "(?i)red[-_]?line"
suppression_regexp: "(?-i)MS_SLAVE"
suppression_regexp: "(?i)(man[ -_]?page)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment