On TeX.SE the Help Centre says that the following is on topic:
Formats like LaTeX, ConTeXt and plain TeX Engines like pdfTeX, LuaTeX and XeTeX Distributions like TeX Live, MiKTeX, and MacTeX Related software and tools, BibTeX, MakeIndex, Lyx, etc.
I wanted you to write a program to tell me whether my TeX is in the on-topic types of TeX.
An explicit list of the valid TeX-s is as follows:
- TeX Live
- You may use any language.
- This is code-golf, to the shortest answer wins.
- If you use Regex, you can just match correct ones.
You only need to match one at a time: no
- You must check with capitalization listed here.
TeX -> True/1/<match> pTeX -> False/0/<not-match> ConTeXt -> True/1/<match> context -> False/0/<not-match> MetaFun -> False/0/<not-match> MetaFUN -> True/1/<match>
P.S. Bonus points for an on-topic TeX answer!