|
| 1 | +import type { RegexEngine } from "./RegexEngine"; |
| 2 | + |
| 3 | +export const deno: RegexEngine = { |
| 4 | + description: "RegExp Object", |
| 5 | + enabled: true, |
| 6 | + help_label: "MDN", |
| 7 | + help_url: |
| 8 | + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp", |
| 9 | + handle: "deno", |
| 10 | + level: "beta", |
| 11 | + links: { |
| 12 | + "MDN RegExp Object": |
| 13 | + "https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp", |
| 14 | + "MDN flags": |
| 15 | + "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_expressions#advanced_searching_with_flags", |
| 16 | + }, |
| 17 | + logo_icon: "https://www.vectorlogo.zone/logos/deno/deno-icon.svg", |
| 18 | + logo_ar21: "https://www.vectorlogo.zone/logos/deno/deno-ar21.svg", |
| 19 | + nodeping_url: |
| 20 | + "https://nodeping.com/reports/checks/iajucfo0-kq0e-47ql-82sk-xoji0l2ejmfw", |
| 21 | + notfound: ["javascript", "typescript"], |
| 22 | + options: [ |
| 23 | + { |
| 24 | + code: "d", |
| 25 | + description: "Generate indices for substring matches. (hasIndices)", |
| 26 | + }, |
| 27 | + { code: "g", description: "Global search. (global)" }, |
| 28 | + { |
| 29 | + code: "i", |
| 30 | + description: "Case-insensitive search. (ignoreCase)", |
| 31 | + portableCode: "ignorecase", |
| 32 | + }, |
| 33 | + { |
| 34 | + code: "m", |
| 35 | + portableCode: "multiline", |
| 36 | + description: |
| 37 | + "Allows ^ and $ to match next to newline characters. (multiline)", |
| 38 | + }, |
| 39 | + { |
| 40 | + code: "s", |
| 41 | + description: "Allows . to match newline characters. (dotAll)", |
| 42 | + portableCode: "dotall", |
| 43 | + }, |
| 44 | + { |
| 45 | + code: "u", |
| 46 | + description: `"Unicode"; treat a pattern as a sequence of Unicode code points. (unicode)`, |
| 47 | + }, |
| 48 | + { |
| 49 | + code: "v", |
| 50 | + description: |
| 51 | + "An upgrade to the u mode with more Unicode features. (unicodeSets)", |
| 52 | + }, |
| 53 | + { |
| 54 | + code: "y", |
| 55 | + description: `Perform a "sticky" search that matches starting at the current position in the target string. (sticky)`, |
| 56 | + }, |
| 57 | + ], |
| 58 | + short_name: "Deno", |
| 59 | + source_url: "https://github.com/regexplanet/regexplanet-deno", |
| 60 | + status_url: "https://deno.gcr.regexplanet.com/status.json", |
| 61 | + test_url: "https://deno.gcr.regexplanet.com/test.json", |
| 62 | +}; |
0 commit comments