Commits

Brodie Rao committed 3641277

Grammar

  • Participants
  • Parent commits 30fd856

Comments (0)

Files changed (1)

new-regex-syntax-2

 -* Command output in the test is first matched literally with the
 -  actual output. If it doesn't match, it's then compiled and matched
 -  as a `Perl-compatible regular expression`_.
-+* Output lines suffixed with a space and the word ``(re)`` is matched
-+  as a `Perl-compatible regular expression`_. To match command output
++* Output lines suffixed with a space and the word ``(re)`` are matched
++  as a `Perl-compatible regular expressions`_. To match command output
 +  ending in "`` (re)``", suffix the output line with a space and the
 +  word ``(plain)``. To match command output ending in "`` (plain)``",
 +  suffix the output line with "`` (plain) (plain)``".
  
  * Command output in the test that ends with a percent sign will match
    actual output that doesn't end in a newline.
+@@ -62,7 +64,7 @@ The format in a nutshell:
+ .. _Mercurial: http://mercurial.selenic.com/
+ .. _unified test format: http://www.selenic.com/blog/?p=663
+ .. _Cram's own test suite: http://bitbucket.org/brodie/cram/src/tip/tests/cram.t
+-.. _Perl-compatible regular expression: http://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions
++.. _Perl-compatible regular expressions: http://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions
+ 
+ 
+ Download
 @@ -153,6 +155,14 @@ Cram also provides the following environ
  News
  ----