Use regexp in test_current.