We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7509fe3 commit 3bd9155Copy full SHA for 3bd9155
lib/rouge/lexers/pdf.rb
@@ -69,7 +69,7 @@ def self.detect?(text)
69
rule %r/endstream|endobj|stream/, Keyword::Declaration
70
71
# PDF conventional file layout keywords
72
- rule %r/(startxref|trailer|xref)/, Keyword::Declaration
+ rule %r/startxref|trailer|xref/, Keyword::Declaration
73
74
# PDF cross reference section entries (20 bytes including EOL).
75
# Explicit single SPACE separators.
0 commit comments