Fixed issue where regex matched B in BPM