Source code
Revision control
Copy as Markdown
Other Tools
assertEq(/[^!]/u.exec('\u{1F4A9}')[0], "\u{1F4A9}");
assertEq(/^[^!]/u.exec('\u{1F4A9}')[0], "\u{1F4A9}");
assertEq(/[^!]$/u.exec('\u{1F4A9}')[0], "\u{1F4A9}");
assertEq(/![^!]/u.exec('!\u{1F4A9}')[0], "!\u{1F4A9}");
assertEq(/[^!]!/u.exec('\u{1F4A9}!')[0], "\u{1F4A9}!");
assertEq(/![^!]/ui.exec('!\u{1F4A9}')[0], "!\u{1F4A9}");
assertEq(/[^!]!/ui.exec('\u{1F4A9}!')[0], "\u{1F4A9}!");