in reply to Anchors and zero matches question

As already explained, it's having both anchors. If you only have one of either of the anchors it will match. If you have both, it will only match an empty string or 1 or more "B".