Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

doc: add escaping special characters note #328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/update.rst
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ Example converting all drop rules with noalert back to alert::

re:. "^drop(.*)noalert(.*)" "alert\\1noalert\\2"

.. note:: ``suricata-update`` uses the python regular expression
engine. It is necessary to escape special characters
(e.g. . ``$ ^ * + ?``) with a ``\`` if they are desired
to be interpreted literally in the configuration files.

Order of application of configuration files
===========================================
1. disable.conf
Expand Down