Permalink
Browse files

Fixed bad example

  • Loading branch information...
1 parent 8b979d4 commit b08bc2e0455b117d13f3a7d7f7ab08ce5e62880e @mjackson committed Jul 11, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 README
  2. +1 −1 doc/syntax.markdown
View
2 README
@@ -164,7 +164,7 @@ Both positive and negative lookahead are supported in Citrus. Use the `&` and
`!` operators to indicate that an expression either should or should not match.
In neither case is any input consumed.
- &'a' 'b' # match a "b" preceded by an "a"
+ 'a' &'b' # match an "a" that is followed by a "b"
'a' !'b' # match an "a" that is not followed by a "b"
!'a' . # match any character except for "a"
View
@@ -62,7 +62,7 @@ Both positive and negative lookahead are supported in Citrus. Use the `&` and
`!` operators to indicate that an expression either should or should not match.
In neither case is any input consumed.
- &'a' 'b' # match a "b" preceded by an "a"
+ 'a' &'b' # match an "a" that is followed by a "b"
'a' !'b' # match an "a" that is not followed by a "b"
!'a' . # match any character except for "a"

0 comments on commit b08bc2e

Please sign in to comment.