$ ./guess_the_languageRegex
Regex · medium · #16

What does this expression return?

/^[A-z]$/.test('_')
  1. true
  2. false
  3. null
  4. SyntaxError
The range A-z spans code points 65-122, which includes [ \ ] ^ _ and the backtick between Z and a.
Play Regex ▸