while () { /^\s*TEST_PATTERN\s+/ and last; }