Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7541136
test_regex_equals_literal.cjs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
187 B
Referenced Files
None
Subscribers
None
test_regex_equals_literal.cjs
View Options
const EQUAL_RE = /=/g;
const x = "a=b=c";
const out = x.replace(EQUAL_RE, ":");
if (out !== "a:b:c") {
throw new Error("regex '/=/' literal parsed incorrectly");
}
console.log("ok");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 17, 2:06 PM (1 d, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
559446
Default Alt Text
test_regex_equals_literal.cjs (187 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment