Skip to content

Commit 6fe6cce

Browse files
committed
Remove duplicate words
1 parent b93651a commit 6fe6cce

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)