Skip to content

Commit

Permalink
Fixed bad example
Browse files Browse the repository at this point in the history
  • Loading branch information
mjackson committed Jul 11, 2011
1 parent 8b979d4 commit b08bc2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion doc/syntax.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit b08bc2e

Please sign in to comment.