Skip to content

Commit

Permalink
typos in docs/writingrules.rst (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaegeral authored Sep 24, 2024
1 parent 688268d commit 2c9a728
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/writingrules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:

Expand Down

0 comments on commit 2c9a728

Please sign in to comment.