summaryrefslogtreecommitdiffstats
path: root/source/rainerscript/functions/rs-prifilt.rst
blob: c8a88b7692ed577de3a002c0829b788ed05cbb48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
*********
prifilt()
*********

Purpose
=======

prifilt(constant)

Mimics a traditional PRI-based filter (like "\*.\*" or "mail.info").
The traditional filter string must be given as a **constant string**.
Dynamic string evaluation is not permitted (for performance reasons).


Example
=======

In this example true would be returned on an auth event.

.. code-block:: none

   prifilt("auth,authpriv.*")