Kai Ninomiya's Avatar

Kai Ninomiya

@kainino0x.bsky.social

WebGPU specification co-editor @w3c, software engineer Google Chrome. Member/organizer #AlphabetWorkersUnion #AWU. he|they I am not currently on here, please find me on Mastodon! https://linktr.ee/kainino

4 Followers  |  5 Following  |  1 Posts  |  Joined: 28.11.2024  |  1.5494

Latest posts by kainino0x.bsky.social on Bluesky

Preview
Regular expressions - JavaScript | MDN Regular expressions are patterns used to match character combinations in strings. In JavaScript, regular expressions are also objects. These patterns are used with the exec() and test() methods of Reg...

btw, String.raw lets you avoid the double escapes:
developer.mozilla.org/en-US/docs/W...

Though if you are using this as a JS regexp object, you can just create it using /regex literal/ syntax:
developer.mozilla.org/en-US/docs/W...

02.01.2025 21:54 — 👍 0    🔁 0    💬 1    📌 0

@kainino0x is following 5 prominent accounts