summaryrefslogtreecommitdiffstats
path: root/src/tests/keywords/if-regex-error
blob: f618e8290d9e333de2a23683b31e547d45849d31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#
# PRE: if-regex-match
#

#
#  Check that bad regular expressions will fail
#
if (&User-Name =~ /[a-3]/) {	# ERROR
	update reply {
		Filter-Id := "filter"
	}
}