these should be find, not matches, since ^$ are in the pattern strings