Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Licensed under GPL v3
- Loading branch information
Showing
125 changed files
with
48,229 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,4 @@ regexr.css | |
*.map | ||
scripts.min.js | ||
yarn.lock | ||
TMP_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<browserconfig> | ||
<msapplication> | ||
<tile> | ||
<square150x150logo src="/assets/icons/mstile-150x150.png"/> | ||
<TileColor>#80c0f0</TileColor> | ||
</tile> | ||
</msapplication> | ||
</browserconfig> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "", | ||
"icons": [ | ||
{ | ||
"src": "/assets/icons/android-chrome-192x192.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "/assets/icons/android-chrome-512x512.png", | ||
"sizes": "512x512", | ||
"type": "image/png" | ||
} | ||
], | ||
"theme_color": "#80c0f0", | ||
"background_color": "#80c0f0", | ||
"display": "standalone" | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head lang="en"> | ||
<meta charset="UTF-8"> | ||
<title>RegExr: Privacy Policy</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
color: #bdc3c6; | ||
font-size: 16px; | ||
padding: 3em; | ||
width: 40em; | ||
background: #2e3234; | ||
} | ||
h1 { | ||
font-size: 1.25em; | ||
color: #e0e2e4; | ||
} | ||
ul { | ||
padding-left: 2em; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<h1>RegExr Privacy Policy</h1> | ||
<p>We'll keep this simple: We take your privacy seriously. When you sign in to RegExr, we capture only the following information: <ul> | ||
<li>Your username. To use as your default Author Name for patterns.</li> | ||
<li>Your email. To identify you and secure your account.</li> | ||
</ul></p> | ||
<p>Your information is not shared with third parties, or used for any other purposes.</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
// in plain JS for now: | ||
onmessage = function (evt) { | ||
postMessage("onload"); | ||
var regex = new RegExp(evt.data.pattern, evt.data.flags), text = evt.data.text; | ||
|
||
// shared between BrowserSolver & RegExWorker | ||
var matches = [], match, index, error; | ||
while (match = regex.exec(text)) { | ||
if (index === regex.lastIndex) { error = {id:"infinite"}; break; } | ||
index = regex.lastIndex; | ||
var groups = match.reduce(function (arr, s, i) { return (i===0 || arr.push({s:s})) && arr },[]); | ||
matches.push({i:match.index, l:match[0].length, groups:groups}); | ||
if (!regex.global) { break; } // or it will become infinite. | ||
} | ||
// end share | ||
|
||
postMessage({error: error, matches: matches}); | ||
self.close(); | ||
}; |
Oops, something went wrong.