B Matches the empty string, but only when it is not at the beginning or end of a word. This is just the opposite of b, so is also subject to the settings of LOCALE and UNICODE.