--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: valid.js --- # Input ```jsx var r = /[πŸ‘]/u; var r = /[\\uD83D\\uDC4D]/u; var r = /[\\u{1F44D}]/u; var r = /❇️/; var r = /Á/; var r = /[❇]/; var r = /πŸ‘ΆπŸ»/; var r = /[πŸ‘Ά]/u; var r = /πŸ‡―πŸ‡΅/; var r = /[JP]/; var r = /πŸ‘¨β€πŸ‘©β€πŸ‘¦/; // Ignore solo lead/tail surrogate. var r = /[\\uD83D]/; var r = /[\\uDC4D]/; var r = /[\\uD83D]/u; var r = /[\\uDC4D]/u; // Ignore solo combining char. var r = /[\\u0301]/; var r = /[\\uFE0F]/; var r = /[\\u0301]/u; var r = /[\\uFE0F]/u; // Ignore solo emoji modifier. var r = /[\\u{1F3FB}]/u; var r = /[\u{1F3FB}]/u; // Ignore solo regional indicator symbol. var r = /[πŸ‡―]/u; var r = /[πŸ‡΅]/u; // Ignore solo ZWJ. var r = /[\\u200D]/; var r = /[\\u200D]/u; // don't report and don't crash on invalid regex // FIXME: need to ecma regex parser to handle this case // var r = new RegExp('[Á] [ '); // var r = RegExp('{ [Á]', 'u'); // var r = new globalThis.RegExp('[Á] [ '); // var r = globalThis.RegExp('{ [Á]', 'u'); // v flag var r = /[πŸ‘]/v; var r = /^[\q{πŸ‘ΆπŸ»}]$/v; var r = /[πŸ‡―\q{abc}πŸ‡΅]/v; var r = /[πŸ‡―[A]πŸ‡΅]/v; var r = /[πŸ‡―[A--B]πŸ‡΅]/v; var r = new window.RegExp(/[πŸ‘]/u); var r = new global.RegExp(/[πŸ‘]/u); var r = new globalThis.RegExp(/[πŸ‘]/u); var r = new globalThis.globalThis.globalThis.RegExp(/[πŸ‘]/u); // Issue: https://github.com/biomejs/biome/issues/1522 var cyrillicChars = /[\u200E\u2066-\u2069]/gu; ```