123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407 |
- <?xml version="1.0" encoding="utf-8" ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!-- This file is generated by Nim. -->
- <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en" data-theme="auto">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>std/jsre</title>
- <!-- Google fonts -->
- <link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
- <link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
- <!-- Favicon -->
- <link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
- <link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
- <!-- CSS -->
- <link rel="stylesheet" type="text/css" href="nimdoc.out.css?v=2.3.1">
- <!-- JS -->
- <script type="text/javascript" src="dochack.js?v=2.3.1"></script>
- </head>
- <body>
- <div class="document" id="documentId">
- <div class="container">
- <h1 class="title">std/jsre</h1>
- <div class="row">
- <div class="three columns">
- <div class="theme-select-wrapper">
- <label for="theme-select">Theme: </label>
- <select id="theme-select" onchange="setTheme(this.value)">
- <option value="auto">🌗 Match OS</option>
- <option value="dark">🌑 Dark</option>
- <option value="light">🌕 Light</option>
- </select>
- </div>
- <div id="global-links">
- <ul class="simple-boot">
- <li><a href="manual.html">Manual</a></li>
- <li><a href="lib.html">Standard library</a></li>
- <li> <a id="indexLink" href="theindex.html">Index</a></li>
- <li><a href="compiler/theindex.html">Compiler docs</a></li>
- <li><a href="https://nim-lang.github.io/fusion/theindex.html">Fusion docs</a></li>
- <li><a href="https://nim-lang.github.io/Nim/">devel</a>, <a href="https://nim-lang.org/documentation.html">stable</a></li>
- </ul>
- </div>
- <div id="searchInputDiv">
- Search: <input type="search" id="searchInput"
- oninput="search()" />
- </div>
-
- <ul class="simple simple-toc" id="toc-list">
- <li>
- <details open>
- <summary><a class="reference reference-toplevel" href="#7" id="57">Types</a></summary>
- <ul class="simple simple-toc-section">
- <li><a class="reference" href="#RegExp" title="RegExp = ref object of JsRoot
- flags*: cstring ## cstring that contains the flags of the RegExp object.
- dotAll*: bool ## Whether `.` matches newlines or not.
- global*: bool ## Whether to test against all possible matches in a string, or only against the first.
- ignoreCase*: bool ## Whether to ignore case while attempting a match in a string.
- multiline*: bool ## Whether to search in strings across multiple lines.
- source*: cstring ## The text of the pattern.
- sticky*: bool ## Whether the search is sticky.
- unicode*: bool ## Whether Unicode features are enabled.
- lastIndex*: cint ## Index at which to start the next match (read/write property).
- input*: cstring ## Read-only and modified on successful match.
- lastMatch*: cstring ## Ditto.
- lastParen*: cstring ## Ditto.
- leftContext*: cstring ## Ditto.
- rightContext*: cstring ## Ditto.
- hasIndices*: bool ## https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/hasIndices">RegExp</a></li>
- </ul>
- </details>
- </li>
- <li>
- <details open>
- <summary><a class="reference reference-toplevel" href="#12" id="62">Procs</a></summary>
- <ul class="simple simple-toc-section">
- <ul class="simple nested-toc-section">$
- <li><a class="reference" href="#%24%2CRegExp" title="`$`(self: RegExp): string">`$`(self: RegExp): string</a></li>
- </ul>
- <ul class="simple nested-toc-section">compile
- <li><a class="reference" href="#compile%2CRegExp%2Ccstring%2Ccstring" title="compile(self: RegExp; pattern: cstring; flags: cstring)">compile(self: RegExp; pattern: cstring; flags: cstring)</a></li>
- </ul>
- <ul class="simple nested-toc-section">contains
- <li><a class="reference" href="#contains%2Ccstring%2CRegExp" title="contains(pattern: cstring; self: RegExp): bool">contains(pattern: cstring; self: RegExp): bool</a></li>
- </ul>
- <ul class="simple nested-toc-section">endsWith
- <li><a class="reference" href="#endsWith%2Ccstring%2CRegExp" title="endsWith(pattern: cstring; self: RegExp): bool">endsWith(pattern: cstring; self: RegExp): bool</a></li>
- </ul>
- <ul class="simple nested-toc-section">exec
- <li><a class="reference" href="#exec%2CRegExp%2Ccstring" title="exec(self: RegExp; pattern: cstring): seq[cstring]">exec(self: RegExp; pattern: cstring): seq[cstring]</a></li>
- </ul>
- <ul class="simple nested-toc-section">match
- <li><a class="reference" href="#match%2Ccstring%2CRegExp" title="match(pattern: cstring; self: RegExp): seq[cstring]">match(pattern: cstring; self: RegExp): seq[cstring]</a></li>
- </ul>
- <ul class="simple nested-toc-section">newRegExp
- <li><a class="reference" href="#newRegExp%2Ccstring" title="newRegExp(pattern: cstring): RegExp">newRegExp(pattern: cstring): RegExp</a></li>
- <li><a class="reference" href="#newRegExp%2Ccstring%2Ccstring" title="newRegExp(pattern: cstring; flags: cstring): RegExp">newRegExp(pattern: cstring; flags: cstring): RegExp</a></li>
- </ul>
- <ul class="simple nested-toc-section">replace
- <li><a class="reference" href="#replace%2Ccstring%2CRegExp%2Cproc%28varargs%5Bcstring%5D%29" title="replace(pattern: cstring; self: RegExp;
- cb: proc (args: varargs[cstring]): cstring): cstring">replace(pattern: cstring; self: RegExp;
- cb: proc (args: varargs[cstring]): cstring): cstring</a></li>
- <li><a class="reference" href="#replace%2Ccstring%2CRegExp%2Ccstring" title="replace(pattern: cstring; self: RegExp; replacement: cstring): cstring">replace(pattern: cstring; self: RegExp; replacement: cstring): cstring</a></li>
- </ul>
- <ul class="simple nested-toc-section">split
- <li><a class="reference" href="#split%2Ccstring%2CRegExp" title="split(pattern: cstring; self: RegExp): seq[cstring]">split(pattern: cstring; self: RegExp): seq[cstring]</a></li>
- </ul>
- <ul class="simple nested-toc-section">startsWith
- <li><a class="reference" href="#startsWith%2Ccstring%2CRegExp" title="startsWith(pattern: cstring; self: RegExp): bool">startsWith(pattern: cstring; self: RegExp): bool</a></li>
- </ul>
- <ul class="simple nested-toc-section">toCstring
- <li><a class="reference" href="#toCstring%2CRegExp" title="toCstring(self: RegExp): cstring">toCstring(self: RegExp): cstring</a></li>
- </ul>
- </ul>
- </details>
- </li>
- </ul>
- </div>
- <div class="nine columns" id="content">
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L1" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L1" class="link-seesrc" target="_blank" >Edit</a>
- <div id="tocRoot"></div>
-
- <p class="module-desc">Regular Expressions for the JavaScript target.<ul class="simple"><li><a class="reference external" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions</a></li>
- </ul>
- <p><strong class="examples_text">Example:</strong></p>
- <pre class="listing"><span class="Keyword">import</span> <span class="Identifier">std</span><span class="Operator">/</span><span class="Identifier">jsre</span>
- <span class="Keyword">let</span> <span class="Identifier">jsregex</span><span class="Punctuation">:</span> <span class="Identifier">RegExp</span> <span class="Operator">=</span> <span class="Identifier">newRegExp</span><span class="Punctuation">(</span><span class="RawData">r"\s+"</span><span class="Punctuation">,</span> <span class="RawData">r"i"</span><span class="Punctuation">)</span>
- <span class="Identifier">jsregex</span><span class="Operator">.</span><span class="Identifier">compile</span><span class="Punctuation">(</span><span class="RawData">r"\w+"</span><span class="Punctuation">,</span> <span class="RawData">r"i"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="StringLit">"nim javascript"</span><span class="Operator">.</span><span class="Identifier">contains</span> <span class="Identifier">jsregex</span>
- <span class="Identifier">assert</span> <span class="Identifier">jsregex</span><span class="Operator">.</span><span class="Identifier">exec</span><span class="Punctuation">(</span><span class="RawData">r"nim javascript"</span><span class="Punctuation">)</span> <span class="Operator">==</span> <span class="Operator">@</span><span class="Punctuation">[</span><span class="StringLit">"nim"</span><span class="Operator">.</span><span class="Identifier">cstring</span><span class="Punctuation">]</span>
- <span class="Identifier">assert</span> <span class="Identifier">jsregex</span><span class="Operator">.</span><span class="Identifier">toCstring</span><span class="Punctuation">(</span><span class="Punctuation">)</span> <span class="Operator">==</span> <span class="RawData">r"/\w+/i"</span>
- <span class="Identifier">jsregex</span><span class="Operator">.</span><span class="Identifier">compile</span><span class="Punctuation">(</span><span class="RawData">r"[0-9]"</span><span class="Punctuation">,</span> <span class="RawData">r"i"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="StringLit">"0123456789abcd"</span><span class="Operator">.</span><span class="Identifier">contains</span> <span class="Identifier">jsregex</span>
- <span class="Identifier">assert</span> <span class="Operator">$</span><span class="Identifier">jsregex</span> <span class="Operator">==</span> <span class="StringLit">"/[0-9]/i"</span>
- <span class="Identifier">jsregex</span><span class="Operator">.</span><span class="Identifier">compile</span><span class="Punctuation">(</span><span class="RawData">r"abc"</span><span class="Punctuation">,</span> <span class="RawData">r"i"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="StringLit">"abcd"</span><span class="Operator">.</span><span class="Identifier">startsWith</span> <span class="Identifier">jsregex</span>
- <span class="Identifier">assert</span> <span class="StringLit">"dabc"</span><span class="Operator">.</span><span class="Identifier">endsWith</span> <span class="Identifier">jsregex</span>
- <span class="Identifier">jsregex</span><span class="Operator">.</span><span class="Identifier">compile</span><span class="Punctuation">(</span><span class="RawData">r"\d"</span><span class="Punctuation">,</span> <span class="RawData">r"i"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="StringLit">"do1ne"</span><span class="Operator">.</span><span class="Identifier">split</span><span class="Punctuation">(</span><span class="Identifier">jsregex</span><span class="Punctuation">)</span> <span class="Operator">==</span> <span class="Operator">@</span><span class="Punctuation">[</span><span class="StringLit">"do"</span><span class="Operator">.</span><span class="Identifier">cstring</span><span class="Punctuation">,</span> <span class="StringLit">"ne"</span><span class="Operator">.</span><span class="Identifier">cstring</span><span class="Punctuation">]</span>
- <span class="Identifier">jsregex</span><span class="Operator">.</span><span class="Identifier">compile</span><span class="Punctuation">(</span><span class="RawData">r"[lw]"</span><span class="Punctuation">,</span> <span class="RawData">r"i"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="StringLit">"hello world"</span><span class="Operator">.</span><span class="Identifier">replace</span><span class="Punctuation">(</span><span class="Identifier">jsregex</span><span class="Punctuation">,</span><span class="StringLit">"X"</span><span class="Punctuation">)</span> <span class="Operator">==</span> <span class="StringLit">"heXlo world"</span>
- <span class="Identifier">jsregex</span><span class="Operator">.</span><span class="Identifier">compile</span><span class="Punctuation">(</span><span class="RawData">r"([a-z])\1*"</span><span class="Punctuation">,</span> <span class="RawData">r"g"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="StringLit">"abbcccdddd"</span><span class="Operator">.</span><span class="Identifier">replace</span><span class="Punctuation">(</span><span class="Identifier">jsregex</span><span class="Punctuation">,</span> <span class="Keyword">proc</span> <span class="Punctuation">(</span><span class="Identifier">m</span><span class="Punctuation">:</span> <span class="Identifier">varargs</span><span class="Punctuation">[</span><span class="Identifier">cstring</span><span class="Punctuation">]</span><span class="Punctuation">)</span><span class="Punctuation">:</span> <span class="Identifier">cstring</span> <span class="Operator">=</span> <span class="Punctuation">(</span><span class="Operator">$</span><span class="Identifier">m</span><span class="Punctuation">[</span><span class="DecNumber">0</span><span class="Punctuation">]</span> <span class="Operator">&</span> <span class="Operator">$</span><span class="Punctuation">(</span><span class="Identifier">m</span><span class="Operator">.</span><span class="Identifier">len</span><span class="Punctuation">)</span><span class="Punctuation">)</span><span class="Operator">.</span><span class="Identifier">cstring</span><span class="Punctuation">)</span> <span class="Operator">==</span> <span class="StringLit">"a1b2c3d4"</span>
- <span class="Keyword">let</span> <span class="Identifier">digitsRegex</span><span class="Punctuation">:</span> <span class="Identifier">RegExp</span> <span class="Operator">=</span> <span class="Identifier">newRegExp</span><span class="Punctuation">(</span><span class="RawData">r"\d"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="StringLit">"foo"</span><span class="Operator">.</span><span class="Identifier">match</span><span class="Punctuation">(</span><span class="Identifier">digitsRegex</span><span class="Punctuation">)</span> <span class="Operator">==</span> <span class="Operator">@</span><span class="Punctuation">[</span><span class="Punctuation">]</span></pre></p>
- <div class="section" id="7">
- <h1><a class="toc-backref" href="#7">Types</a></h1>
- <dl class="item">
- <div id="RegExp">
- <dt><pre><a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a> <span class="Other">=</span> <span class="Keyword">ref</span> <span class="Keyword">object</span> <span class="Keyword">of</span> <a href="system.html#JsRoot"><span class="Identifier">JsRoot</span></a>
- <span class="Identifier">flags</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> <span class="Comment">## cstring that contains the flags of the RegExp object.</span>
- <span class="Identifier">dotAll</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> <span class="Comment">## Whether `.` matches newlines or not.</span>
- <span class="Identifier">global</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> <span class="Comment">## Whether to test against all possible matches in a string, or only against the first.</span>
- <span class="Identifier">ignoreCase</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> <span class="Comment">## Whether to ignore case while attempting a match in a string.</span>
- <span class="Identifier">multiline</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> <span class="Comment">## Whether to search in strings across multiple lines.</span>
- <span class="Identifier">source</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> <span class="Comment">## The text of the pattern.</span>
- <span class="Identifier">sticky</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> <span class="Comment">## Whether the search is sticky.</span>
- <span class="Identifier">unicode</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> <span class="Comment">## Whether Unicode features are enabled.</span>
- <span class="Identifier">lastIndex</span><span class="Operator">*</span><span class="Other">:</span> <a href="ctypes.html#cint"><span class="Identifier">cint</span></a> <span class="Comment">## Index at which to start the next match (read/write property).</span>
- <span class="Identifier">input</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> <span class="Comment">## Read-only and modified on successful match.</span>
- <span class="Identifier">lastMatch</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> <span class="Comment">## Ditto.</span>
- <span class="Identifier">lastParen</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> <span class="Comment">## Ditto.</span>
- <span class="Identifier">leftContext</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> <span class="Comment">## Ditto.</span>
- <span class="Identifier">rightContext</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> <span class="Comment">## Ditto.</span>
- <span class="Identifier">hasIndices</span><span class="Operator">*</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> <span class="Comment">## https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/hasIndices</span></pre></dt>
- <dd>
-
- Regular Expressions for JavaScript target. See <a class="reference external" href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp">https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp</a>
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L6" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L6" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </dl>
- </div>
- <div class="section" id="12">
- <h1><a class="toc-backref" href="#12">Procs</a></h1>
- <dl class="item">
- <div id="$-procs-all">
- <div id="$,RegExp">
- <dt><pre><span class="Keyword">func</span> <a href="#%24%2CRegExp"><span class="Identifier">`$`</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#string"><span class="Identifier">string</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
-
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L52" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L52" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="compile-procs-all">
- <div id="compile,RegExp,cstring,cstring">
- <dt><pre><span class="Keyword">func</span> <a href="#compile%2CRegExp%2Ccstring%2Ccstring"><span class="Identifier">compile</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">;</span> <span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">;</span> <span class="Identifier">flags</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">)</span> {.
- <span class="Identifier">importjs</span><span class="Other">:</span> <span class="StringLit">"#.compile(@)"</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Recompiles a regular expression during execution of a script.
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L31" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L31" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="contains-procs-all">
- <div id="contains,cstring,RegExp">
- <dt><pre><span class="Keyword">func</span> <a href="#contains%2Ccstring%2CRegExp"><span class="Identifier">contains</span></a><span class="Other">(</span><span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">;</span> <span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
- <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Tests for a substring match in its string parameter.
- <p><strong class="examples_text">Example:</strong></p>
- <pre class="listing"><span class="Keyword">let</span> <span class="Identifier">jsregex</span><span class="Punctuation">:</span> <span class="Identifier">RegExp</span> <span class="Operator">=</span> <span class="Identifier">newRegExp</span><span class="Punctuation">(</span><span class="RawData">r"bc$"</span><span class="Punctuation">,</span> <span class="RawData">r"i"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="Identifier">jsregex</span> <span class="Keyword">in</span> <span class="RawData">r"abc"</span>
- <span class="Identifier">assert</span> <span class="Identifier">jsregex</span> <span class="Keyword">notin</span> <span class="RawData">r"abcd"</span>
- <span class="Identifier">assert</span> <span class="StringLit">"xabc"</span><span class="Operator">.</span><span class="Identifier">contains</span> <span class="Identifier">jsregex</span></pre>
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L54" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L54" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="endsWith-procs-all">
- <div id="endsWith,cstring,RegExp">
- <dt><pre><span class="Keyword">func</span> <a href="#endsWith%2Ccstring%2CRegExp"><span class="Identifier">endsWith</span></a><span class="Other">(</span><span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">;</span> <span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
- <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Tests if string ends with given RegExp
- <p><strong class="examples_text">Example:</strong></p>
- <pre class="listing"><span class="Keyword">let</span> <span class="Identifier">jsregex</span><span class="Punctuation">:</span> <span class="Identifier">RegExp</span> <span class="Operator">=</span> <span class="Identifier">newRegExp</span><span class="Punctuation">(</span><span class="RawData">r"bcd"</span><span class="Punctuation">,</span> <span class="RawData">r"i"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="StringLit">"abcd"</span><span class="Operator">.</span><span class="Identifier">endsWith</span> <span class="Identifier">jsregex</span></pre>
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L70" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L70" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="exec-procs-all">
- <div id="exec,RegExp,cstring">
- <dt><pre><span class="Keyword">func</span> <a href="#exec%2CRegExp%2Ccstring"><span class="Identifier">exec</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">;</span> <span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#seq"><span class="Identifier">seq</span></a><span class="Other">[</span><a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">]</span> {.
- <span class="Identifier">importjs</span><span class="Other">:</span> <span class="StringLit">"(#.exec(#) || [])"</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Executes a search for a match in its string parameter.
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L46" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L46" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="match-procs-all">
- <div id="match,cstring,RegExp">
- <dt><pre><span class="Keyword">func</span> <a href="#match%2Ccstring%2CRegExp"><span class="Identifier">match</span></a><span class="Other">(</span><span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">;</span> <span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#seq"><span class="Identifier">seq</span></a><span class="Other">[</span><a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">]</span> {.
- <span class="Identifier">importjs</span><span class="Other">:</span> <span class="StringLit">"(#.match(#) || [])"</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Returns an array of matches of a RegExp against given string
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L43" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L43" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="newRegExp-procs-all">
- <div id="newRegExp,cstring">
- <dt><pre><span class="Keyword">func</span> <a href="#newRegExp%2Ccstring"><span class="Identifier">newRegExp</span></a><span class="Other">(</span><span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">)</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a> {.<span class="Identifier">importjs</span><span class="Other">:</span> <span class="StringLit">"new RegExp(@)"</span><span class="Other">,</span>
- <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
-
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L29" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L29" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- <div id="newRegExp,cstring,cstring">
- <dt><pre><span class="Keyword">func</span> <a href="#newRegExp%2Ccstring%2Ccstring"><span class="Identifier">newRegExp</span></a><span class="Other">(</span><span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">;</span> <span class="Identifier">flags</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">)</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a> {.
- <span class="Identifier">importjs</span><span class="Other">:</span> <span class="StringLit">"new RegExp(@)"</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Creates a new RegExp object.
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L26" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L26" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="replace-procs-all">
- <div id="replace,cstring,RegExp,proc(varargs[cstring])">
- <dt><pre><span class="Keyword">func</span> <a href="#replace%2Ccstring%2CRegExp%2Cproc%28varargs%5Bcstring%5D%29"><span class="Identifier">replace</span></a><span class="Other">(</span><span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">;</span> <span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">;</span>
- <span class="Identifier">cb</span><span class="Other">:</span> <span class="Keyword">proc</span> <span class="Other">(</span><span class="Identifier">args</span><span class="Other">:</span> <a href="system.html#varargs"><span class="Identifier">varargs</span></a><span class="Other">[</span><a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">]</span><span class="Other">)</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> {.<span class="Identifier">importcpp</span><span class="Other">,</span>
- <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Returns a new string with some or all matches of a pattern replaced by given callback function
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L37" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L37" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- <div id="replace,cstring,RegExp,cstring">
- <dt><pre><span class="Keyword">func</span> <a href="#replace%2Ccstring%2CRegExp%2Ccstring"><span class="Identifier">replace</span></a><span class="Other">(</span><span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">;</span> <span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">;</span> <span class="Identifier">replacement</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> {.
- <span class="Identifier">importjs</span><span class="Other">:</span> <span class="StringLit">"#.replace(#, #)"</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Returns a new string with some or all matches of a pattern replaced by given replacement
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L34" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L34" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="split-procs-all">
- <div id="split,cstring,RegExp">
- <dt><pre><span class="Keyword">func</span> <a href="#split%2Ccstring%2CRegExp"><span class="Identifier">split</span></a><span class="Other">(</span><span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">;</span> <span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#seq"><span class="Identifier">seq</span></a><span class="Other">[</span><a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">]</span> {.
- <span class="Identifier">importjs</span><span class="Other">:</span> <span class="StringLit">"(#.split(#) || [])"</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Divides a string into an ordered list of substrings and returns the array
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L40" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L40" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="startsWith-procs-all">
- <div id="startsWith,cstring,RegExp">
- <dt><pre><span class="Keyword">func</span> <a href="#startsWith%2Ccstring%2CRegExp"><span class="Identifier">startsWith</span></a><span class="Other">(</span><span class="Identifier">pattern</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a><span class="Other">;</span> <span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#bool"><span class="Identifier">bool</span></a> {.<span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
- <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Tests if string starts with given RegExp
- <p><strong class="examples_text">Example:</strong></p>
- <pre class="listing"><span class="Keyword">let</span> <span class="Identifier">jsregex</span><span class="Punctuation">:</span> <span class="Identifier">RegExp</span> <span class="Operator">=</span> <span class="Identifier">newRegExp</span><span class="Punctuation">(</span><span class="RawData">r"abc"</span><span class="Punctuation">,</span> <span class="RawData">r"i"</span><span class="Punctuation">)</span>
- <span class="Identifier">assert</span> <span class="StringLit">"abcd"</span><span class="Operator">.</span><span class="Identifier">startsWith</span> <span class="Identifier">jsregex</span></pre>
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L63" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L63" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- <div id="toCstring-procs-all">
- <div id="toCstring,RegExp">
- <dt><pre><span class="Keyword">func</span> <a href="#toCstring%2CRegExp"><span class="Identifier">toCstring</span></a><span class="Other">(</span><span class="Identifier">self</span><span class="Other">:</span> <a href="jsre.html#RegExp"><span class="Identifier">RegExp</span></a><span class="Other">)</span><span class="Other">:</span> <a href="system.html#cstring"><span class="Identifier">cstring</span></a> {.<span class="Identifier">importjs</span><span class="Other">:</span> <span class="StringLit">"#.toString()"</span><span class="Other">,</span> <span><span class="Other pragmadots">...</span></span><span class="pragmawrap"><span class="Identifier">raises</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span>
- <span class="Identifier">tags</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span><span class="Other">,</span> <span class="Identifier">forbids</span><span class="Other">:</span> <span class="Other">[</span><span class="Other">]</span></span>.}</pre></dt>
- <dd>
-
- Returns a string representing the RegExp object.
- <a href="https://github.com/nim-lang/Nim/tree/devel/lib/js/jsre.nim#L49" class="link-seesrc" target="_blank">Source</a>
- <a href="https://github.com/nim-lang/Nim/edit/devel/lib/js/jsre.nim#L49" class="link-seesrc" target="_blank" >Edit</a>
- </dd>
- </div>
- </div>
- </dl>
- </div>
- </div>
- </div>
- <div class="twelve-columns footer">
- <span class="nim-sprite"></span>
- <br>
- <small style="color: var(--hint);">Made with Nim. Generated: 2025-03-15 14:13:03 UTC</small>
- </div>
- </div>
- </div>
- <script defer data-domain="nim-lang.org" src="https://plausible.io/js/plausible.js"></script>
-
- </body>
- </html>
|