 
   @doc """
   Runs the regular expression against the given string.
-  It returns a list with all matches, `nil` if no match ocurred, or []
+  It returns a list with all matches, `nil` if no match occurred, or `[]`
   if it matched, `/g` was specified, but nothing was captured.
 
   ## Examples

  Receives a regex, a binary and a replacement, returns a new
  binary where the all matches are replaced by replacement.

  Inside the replacement, you can either give "&" to access the
  whole regular expression or \N, where N is in integer to access
  a specific matching parens. You can also set global to false
  if you want to replace just the first occurrence.



  ## Examples

      iex> Regex.groups(%r/(?<foo>bar)/g)
      [:foo]

  """
