Skip to content

Commit 25c9000

Browse files
committed
docs: add comment about how regex is set up
1 parent 6409ee2 commit 25c9000

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

windows-rdp/main.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,12 @@ describe("Web RDP", async () => {
6161
* text to universal JSON text, and exposing it as a parsed JSON value. That
6262
* got to be a bit too much, though.
6363
*
64+
* Regex is a little bit more verbose and pedantic than normal. Want to
65+
* have some basic safety nets for validating the structure of the form
66+
* entries variable after the JS file has had values injected. Really do
67+
* not want the wildcard classes to overshoot and grab too much content,
68+
* even if they're all set to lazy mode.
69+
*
6470
* Written and tested via Regex101
6571
* @see {@link https://regex101.com/r/UMgQpv/2}
6672
*/

0 commit comments

Comments
 (0)