-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest.blade.php
99 lines (76 loc) · 2.99 KB
/
test.blade.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document Title</title>
</head>
<body>
<!-- Simple string test -->
<p>Testing string</p>
<p>Testing number 1245</p>
<!-- Some ignoring characters test -->
<p>#hastag double #</p>
<p>_underscore _</p>
<!-- Some warning characters test -->
<p>Testing not found {} () string</p>
<p>% Percent %</p>
<p>Testing 'single' quotes</p>
<p>Testing single 'quotes'</p>
<input placeholder="Some text with 'quotes'" />
<!-- XX Cant find last single quoted word - SOLVED! -->
<p>#John with 'single'</p>
<!-- Other tests -->
<p>Testing dash - string</p>
<p>Testing non-latin სატესტო</p>
<!-- Placeholder test +case insensitive and single-quotes -->
<input placeholder="Enter some text" />
<input Placeholder='Some text 2' />
<!-- XX replaces first placeholder - SOLVED! (passing) -->
<input Placeholder='test Placeholder' />
<input placeholder="placeholder" />
<!-- other tests -->
<img alt="Alt text for image" />
<!-- Hashtag extraction -->
<input type="submit" value="#Send" />
<input type="submit" value=" #value" />
<input type="submit" value=" # Recived" />
<!-- XX it ignores this string because of duplicate check - SOLVED! -->
<p>#John with double quotes</p>
<!-- Title extraction (with double quotes) -->
<p title='John "ShotGun" Nelson'>John with double quotes</p>
<!-- XX It removes quotes in middle of string (Shouldn't) - SOLVED! -->
<p title='John "ShotGun" Nelson'>John with "double" quotes</p>
<!-- XX Didn't removes hashtag after replace - SOLVED! -->
<p>#John with "double"</p>
<input Placeholder='Some "text" - 2' />
<!-- XX Didn't finds with regex - SOLVED! (new regex) -->
<li>Up to 5 users simultaneously</li>
<!-- XX Didn't finds with regex - SOLVED! (new regex) -->
<div class="ps-product__badge">
<!-- XX Didn't finds with regex (v4) shorter then 4 -->
<div class="ps-badge ps-badge--hot">Hot</div>
</div>
<!-- XX Didn't finds with regex if starting or ending with space - SOLVED! (With 3rd version of regex) -->
<li> Up to 5 users simultaneously </li>
<!-- No extra empty strings and mutching linebreaks with new text type suffix +TrimSpaces -->
<li>
Up to 5 users simultaneously
</li>
<p>Veelgestelde vragen over {{$serviceName}}</p>
<!-- XX Not founds/replaces first part of string - SOLVED! (new extraction functions) -->
<p> Veelgestelde vragen over
<span>{{$serviceName}}</span>
</p>
<!-- XX Not founds/replaces first part of string - SOLVED! (new extraction functions) -->
<div>
OT-OT
<span>{{$serviceName}}</span>
CT-OT
<p>Testing</p>
CT-CT
</div>
{{-- Blade comment --}}
</body>
</html>