Skip to content

Commit ff617d0

Browse files
committed
Merge pull request #102 from srt32/master
Remove duplicate words
2 parents b93651a + 6fe6cce commit ff617d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chapters/regular_expressions/searching-for-substrings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ match = /sample/i.test("Sample text")
2323
# => true
2424
{% endhighlight %}
2525

26-
The next way to is to call the `exec` method on a `RegExp` pattern or object. The `exec` method returns an array an array with the match information or `null`:
26+
The next way to is to call the `exec` method on a `RegExp` pattern or object. The `exec` method returns an array with the match information or `null`:
2727

2828
{% highlight coffeescript %}
2929
match = /s(amp)le/i.exec "Sample text"

0 commit comments

Comments
 (0)