-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33b5f53
commit ab33815
Showing
3 changed files
with
65 additions
and
0 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
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,62 @@ | ||
import type { RegexEngine } from "./RegexEngine"; | ||
|
||
export const deno: RegexEngine = { | ||
description: "RegExp Object", | ||
enabled: true, | ||
help_label: "MDN", | ||
help_url: | ||
"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", | ||
handle: "deno", | ||
level: "beta", | ||
links: { | ||
"MDN RegExp Object": | ||
"https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp", | ||
"MDN flags": | ||
"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions#advanced_searching_with_flags", | ||
}, | ||
logo_icon: "https://www.vectorlogo.zone/logos/deno/deno-icon.svg", | ||
logo_ar21: "https://www.vectorlogo.zone/logos/deno/deno-ar21.svg", | ||
nodeping_url: | ||
"https://nodeping.com/reports/checks/iajucfo0-kq0e-47ql-82sk-xoji0l2ejmfw", | ||
notfound: ["javascript", "typescript"], | ||
options: [ | ||
{ | ||
code: "d", | ||
description: "Generate indices for substring matches. (hasIndices)", | ||
}, | ||
{ code: "g", description: "Global search. (global)" }, | ||
{ | ||
code: "i", | ||
description: "Case-insensitive search. (ignoreCase)", | ||
portableCode: "ignorecase", | ||
}, | ||
{ | ||
code: "m", | ||
portableCode: "multiline", | ||
description: | ||
"Allows ^ and $ to match next to newline characters. (multiline)", | ||
}, | ||
{ | ||
code: "s", | ||
description: "Allows . to match newline characters. (dotAll)", | ||
portableCode: "dotall", | ||
}, | ||
{ | ||
code: "u", | ||
description: `"Unicode"; treat a pattern as a sequence of Unicode code points. (unicode)`, | ||
}, | ||
{ | ||
code: "v", | ||
description: | ||
"An upgrade to the u mode with more Unicode features. (unicodeSets)", | ||
}, | ||
{ | ||
code: "y", | ||
description: `Perform a "sticky" search that matches starting at the current position in the target string. (sticky)`, | ||
}, | ||
], | ||
short_name: "Deno", | ||
source_url: "https://github.com/regexplanet/regexplanet-deno", | ||
status_url: "https://deno.gcr.regexplanet.com/status.json", | ||
test_url: "https://deno.gcr.regexplanet.com/test.json", | ||
}; |
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