# PRE: if
#
-if (('${feature.regex-pcre}' == 'yes') || ('${feature.regex-pcre2}' == 'yes')) {
+if ('${feature.regex-pcre2}' == 'yes') {
# Check failure when no previous capture - named group
# but a failed regex is equivalent to an empty string
# compiled - ref - non-multiline
# Not all POSIX implementations support the \n character classes
# so only run this test if the server was built with libpcre.
-if ((('${feature.regex-pcre}' == 'yes') || ('${feature.regex-pcre2}' == 'yes')) && !(test_string =~ /^foo\nbar$/)) {
+if (('${feature.regex-pcre2}' == 'yes') && !(test_string =~ /^foo\nbar$/)) {
test_fail
}
string result_string
string dummy_string
-if (('${feature.regex-pcre}' == 'yes') || ('${feature.regex-pcre2}' == 'yes')) {
+if ('${feature.regex-pcre2}' == 'yes') {
request += {
NAS-Port = '123456789'
Port-Limit = 1