diff --git a/docs/writingrules.rst b/docs/writingrules.rst index b885abec5d..6cd3ac94d1 100644 --- a/docs/writingrules.rst +++ b/docs/writingrules.rst @@ -598,8 +598,8 @@ new-line characters. For example: } Notice that ``/foo/i`` is equivalent to ``/foo/ nocase``, but we recommend the -latter when defining strings. The ``/foo/i`` syntax is useful when writting -case-insentive regular expressions for the ``matches`` operator. +latter when defining strings. The ``/foo/i`` syntax is useful when writing +case-insensitive regular expressions for the ``matches`` operator. In previous versions of YARA, external libraries like PCRE and RE2 were used to perform regular expression matching, but starting with version 2.0 YARA uses @@ -1357,7 +1357,7 @@ for example: The previous rule says that the first occurrence of $b should be 10 bytes after the first occurrence of $a, and the same should happen with the second -and third ocurrences of the two strings. +and third occurrences of the two strings. The same condition could be written also as: