Which input does this pattern NOT match?
/^a.c$/ // tested against each input
- "a\nc"
- "a-c"
- "abc"
- "a c"
By default
Play Regex ▸
. matches any single character except a line terminator such as \n.