Commits

gbrandl  committed 0cc1386

Make "New in ..." consistent.

  • Participants
  • Parent commits bab5337
  • Branches trunk

Comments (0)

Files changed (1)

File pygments/lexers/parsers.py

            'AntlrCSharpLexer', 'AntlrObjectiveCLexer',
            'AntlrJavaLexer', "AntlrActionScriptLexer"]
 
+
 class RagelLexer(RegexLexer):
     """
     A pure `Ragel <http://www.complang.org/ragel/>`_ lexer.  Use this for
     fragments of Ragel.  For ``.rl`` files, use RagelEmbeddedLexer instead
     (or one of the language-specific subclasses).
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'Ragel'
         ],
     }
 
+
 class RagelEmbeddedLexer(RegexLexer):
     """
     A lexer for `Ragel`_ embedded in a host language file.
     This will only highlight Ragel statements. If you want host language
     highlighting then call the language-specific Ragel lexer.
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'Embedded Ragel'
     def analyse_text(text):
         return '@LANG: indep' in text or 0.1
 
+
 class RagelRubyLexer(DelegatingLexer):
     """
     A lexer for `Ragel`_ in a Ruby host file.
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'Ragel in Ruby Host'
     def analyse_text(text):
         return '@LANG: ruby' in text
 
+
 class RagelCLexer(DelegatingLexer):
     """
     A lexer for `Ragel`_ in a C host file.
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'Ragel in C Host'
     def analyse_text(text):
         return '@LANG: c' in text
 
+
 class RagelDLexer(DelegatingLexer):
     """
     A lexer for `Ragel`_ in a D host file.
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'Ragel in D Host'
     def analyse_text(text):
         return '@LANG: d' in text
 
+
 class RagelCppLexer(DelegatingLexer):
     """
     A lexer for `Ragel`_ in a CPP host file.
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'Ragel in CPP Host'
     def analyse_text(text):
         return '@LANG: c++' in text
 
+
 class RagelObjectiveCLexer(DelegatingLexer):
     """
     A lexer for `Ragel`_ in an Objective C host file.
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'Ragel in Objective C Host'
     def analyse_text(text):
         return '@LANG: objc' in text
 
+
 class RagelJavaLexer(DelegatingLexer):
     """
     A lexer for `Ragel`_ in a Java host file.
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'Ragel in Java Host'
     def analyse_text(text):
         return '@LANG: java' in text
 
+
 class AntlrLexer(RegexLexer):
     """
     Generic `ANTLR`_ Lexer.
     Should not be called directly, instead
     use DelegatingLexer for your target language.
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
 
     .. _ANTLR: http://www.antlr.org/
     """
     """
     `ANTLR`_ with CPP Target
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'ANTLR With CPP Target'
     def analyse_text(text):
         return re.match(r'^\s*language\s*=\s*C\s*;', text, re.M)
 
+
 class AntlrObjectiveCLexer(DelegatingLexer):
     """
     `ANTLR`_ with Objective-C Target
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'ANTLR With ObjectiveC Target'
     def analyse_text(text):
         return re.match(r'^\s*language\s*=\s*ObjC\s*;', text)
 
+
 class AntlrCSharpLexer(DelegatingLexer):
     """
     `ANTLR`_ with C# Target
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'ANTLR With C# Target'
     def analyse_text(text):
         return re.match(r'^\s*language\s*=\s*CSharp2\s*;', text, re.M)
 
+
 class AntlrPythonLexer(DelegatingLexer):
     """
     `ANTLR`_ with Python Target
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'ANTLR With Python Target'
     """
     `ANTLR`_ with Ruby Target
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'ANTLR With Ruby Target'
     def analyse_text(text):
         return re.match(r'^\s*language\s*=\s*Ruby\s*;', text, re.M)
 
+
 class AntlrPerlLexer(DelegatingLexer):
     """
     `ANTLR`_ with Perl Target
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'ANTLR With Perl Target'
     def analyse_text(text):
         return re.match(r'^\s*language\s*=\s*Perl5\s*;', text, re.M)
 
+
 class AntlrActionScriptLexer(DelegatingLexer):
     """
     `ANTLR`_ with ActionScript Target
 
-    *New in Pygments 1.1*
+    *New in Pygments 1.1.*
     """
 
     name = 'ANTLR With ActionScript Target'