From 08d94af417186c333061ad51a480fd50a55fc406 Mon Sep 17 00:00:00 2001 From: Alexander Jaeger Date: Sat, 21 Sep 2024 16:27:51 +0200 Subject: [PATCH] typos in docs/writingrules.rst --- docs/writingrules.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: