Failed regex matches should return Nil.