projects
/
libapache-mod-security.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 2.5.11
[libapache-mod-security.git]
/
apache2
/
t
/
op
/
rx.t
1
### Empty
2
{
3
type => "op",
4
name => "rx",
5
param => "",
6
input => "",
7
ret => 1,
8
},
9
{
10
type => "op",
11
name => "rx",
12
param => "TestCase",
13
input => "",
14
ret => 0,
15
},
16
{
17
type => "op",
18
name => "rx",
19
param => "",
20
input => "TestCase",
21
ret => 1,
22
},
23
24
### General
25
{
26
type => "op",
27
name => "rx",
28
param => "abc",
29
input => "abcdefghi",
30
ret => 1,
31
},
32
{
33
type => "op",
34
name => "rx",
35
param => "def",
36
input => "abcdefghi",
37
ret => 1,
38
},
39
{
40
type => "op",
41
name => "rx",
42
param => "ghi",
43
input => "abcdefghi",
44
ret => 1,
45
},
46
{
47
type => "op",
48
name => "rx",
49
param => "ghij",
50
input => "abcdefghi",
51
ret => 0,
52
},
53
54
### Complex regex
55
{
56
type => "op",
57
name => "rx",
58
param => qr/^([^=])\s*=\s*((?:abc)+(?:def|ghi){2})$/i,
59
input => "x =AbCDeFgHi",
60
ret => 1,
61
},
62