RegexLexer
# File lib/rouge/lexers/tex.rb, line 11 def self.analyze_text(text) return 1 if text =~ /\A\s*\\documentclass/ return 1 if text =~ /\A\s*\\input/ return 1 if text =~ /\A\s*\\documentstyle/ return 1 if text =~ /\A\s*\\relax/ end
[Validate]
Generated with the Darkfish Rdoc Generator 2.