-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
51 lines (48 loc) · 1.53 KB
/
index.html
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>RegExp.JS - matches JavaScript in it self</title>
<script src="build/browser.js"></script>
<link rel="stylesheet" href="frontend/codemirror.css">
<script src="frontend/codemirror.js"></script>
<link rel="stylesheet" href="frontend/main.css">
<script src="frontend/index.js"></script>
</head>
<body>
<table width="500px">
<tr>
<td>RegExp:</td>
<td>
<textarea id="regexp" style="width:100%">a|b</textarea>
</td>
</tr>
<tr>
<td></td>
<td>
<span id="regexperror"></span>
</td>
</tr>
<tr>
<td>Input:</td><td><textarea id="area" rows=5 style="width:100%;height:50px">b</textarea></td>
</tr>
<tr id="tracesTR">
<td>Traces:</td>
<td>
<div id="traces" style="width:400px;overflow:auto"></div>
</td>
</tr>
<tr id="resultTR">
<td>Result:</td><td><textarea id="result" rows=5 style="width:100%"></textarea></td>
</tr>
<tr>
<td></td><td>
<button id="SaveOnHash" onclick="saveOnHash()">Share This</button>
</td>
</tr>
<tr id="parseTreeTR">
<td>ParseTree:</td><td><textarea id="parseTree" rows=10 style="width:100%"></textarea></td>
</tr>
</table>
<a href="https://github.com/jviereck/regexp.js"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
</html>