-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests.txt
72 lines (63 loc) · 1.57 KB
/
tests.txt
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
[00]. abc
[01]. aac
[02]. acc
[03]. zzzaxcqqq
[04]. abdabec
[05]. foo
[06]. bar
[07]. foo bar baz quux
[08]. anything containing them
[09]. catdogcat
[10]. catcatdogdog
[11]. dogdogcatdogdog
[12]. catcatcatdogdogdog
[13]. acatdogdogcats
[14]. ifacatdogdogs
[15]. acatdogdogsme
[16]. I like Scheme
[17]. I really like Scheme
[18]. I really really really like Scheme
[19]. I really really don't really like Scheme
[20]. I really really really really really like Scheme
[21]. I really truly really like Scheme
[22]. I really really really really really really really really really like Scheme
----- Literal parentheses, brackets and braces -----
()--[]
()--()
[]--[]
[\]--[\]
{
{{
}}
}
ccccccc
ccccc
{1,2} and {1,2}
{1,2}{1,2} and {1,2}{1,2}
{1,2} and {1,2}{1,2}
({[])}
(^^ a truly disturbing thought)
CHARFROM a
CHARFROM ]
CHARFROM a]
CHARFROM ^
CHARFROM -
CHARFROM b
----- BOL, EOL, literal dollar signs and carets, pipes -----
^$
e^$
^$e
$50
50$
-_^
^_^;
e|e|e
----- Backreferences, complex expressions -----
]bhahaHAHAhaha]b
]^hahaHAHAhaha]^
abhahaHAHAhahaac
I'm (I am) going to run to the bathroom. I need to use the bath. I'm (I am) going to run to the bathroom.
I'm (I am) going to urinate in the coatroom. I need to use the coat. I'm (I am) going to urinate in the coatroom.
I'm (I am) going to urinate in the coatroom. I need to use the coat. I'm (I am) going to run to the coatroom.
I'm (I am) going to urinate in the broom. I need to use the b. I'm (I am) going to urinate in the broom.
I'm (I am) going to run to the room. I need to use the . I'm (I am) going to run to the room.