Add missing backslash in assertMatch example
Forgotten backslash breaks syntax coloration in assertMatch() example.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -206,7 +206,7 @@ Asserts that current `HTTP status code <http://www.w3.org/Protocols/rfc2616/rfc2 | ... | @@ -206,7 +206,7 @@ Asserts that current `HTTP status code <http://www.w3.org/Protocols/rfc2616/rfc2 |
206 | 206 | ||
207 | Asserts that a provided string matches a provided javascript ``RegExp`` pattern:: | 207 | Asserts that a provided string matches a provided javascript ``RegExp`` pattern:: |
208 | 208 | ||
209 | casper.test.assertMatch('Chuck Norris', /^chuck/i, 'Chuck Norris' first name is Chuck'); | 209 | casper.test.assertMatch('Chuck Norris', /^chuck/i, 'Chuck Norris\' first name is Chuck'); |
210 | 210 | ||
211 | .. seealso:: | 211 | .. seealso:: |
212 | 212 | ... | ... |
-
Please register or sign in to post a comment