Permalink
Browse files

Documentation: fix faulty regex.

  • Loading branch information...
Charles Johnson
Charles Johnson committed Jun 1, 2012
1 parent dac9b70 commit 78b669cae3d3b774c2e985d3a784290ed2530125
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -72,7 +72,7 @@ To search for a whole phrase, use a pattern like this one:
You can use regular expression syntax for more complicated patterns:
- /the \s+ (fat \s+)? cat \s+ sat \s+ (up)?on \s+ the [a-z]+/ix
+ /the \s+ (fat \s+)? cat \s+ sat \s+ (up)?on \s+ the \s+ [a-z]+/ix
Will match "the fat cat sat on the mat", "The CAT sat upon the mat", "The FAT cAt
sat upon the dais," and a number of other phrases.

0 comments on commit 78b669c

Please sign in to comment.