summaryrefslogtreecommitdiff
path: root/test/regex_expr.json
blob: 4313a96b48d52a7e33d5955ad595e47a21a0b292 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
    "expr_rules": [
         {
            "rule_id": 301,
            "pattern_num": 1,
            "patterns": [
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "yes",
                    "is_hexbin": "no",
                    "pattern": "[W|w]orld dream"
                }
            ]
        },
        {
            "rule_id": 302,
            "pattern_num": 2,
            "patterns": [
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "yes",
                    "is_hexbin": "no",
                    "pattern": "[0-9]today"
                },
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "yes",
                    "is_hexbin": "no",
                    "pattern": "[0-9]Lunch"
                }
            ]
        },
        {
            "rule_id": 303,
            "pattern_num": 2,
            "patterns": [
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "yes",
                    "is_hexbin": "no",
                    "pattern": "Cookie:\\s"
                },
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "yes",
                    "is_hexbin": "no",
                    "pattern": "head"
                }
            ]
        },
        {
            "rule_id": 304,
            "pattern_num": 2,
            "patterns": [
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "no",
                    "is_hexbin": "no",
                    "pattern": "123^abc"
                },
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "no",
                    "is_hexbin": "no",
                    "pattern": "^123"
                }
            ]
        },
        {
            "rule_id": 305,
            "pattern_num": 2,
            "patterns": [
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "no",
                    "is_hexbin": "no",
                    "pattern": "^123"
                },
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "no",
                    "is_hexbin": "no",
                    "pattern": "123^abc"
                }
            ]
        },
        {

            "rule_id": 306,
            "pattern_num": 1,
            "patterns": [
                {
                    "pattern_type": "regex",
                    "match_method": "sub",
                    "case_sensitive": "no",
                    "is_hexbin": "no",
                    "pattern": "^[1-9]\\d{5}(18|19|([23]\\d))\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$"
                }
            ]
        }
    ]
}