--- /DoubleMetaphone.java	2023-07-05 03:07:23.690035911 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/DoubleMetaphone.java	2023-07-05 03:07:23.694035912 +0200
@@ -106,8 +106,8 @@
                 break;
             case 'B':
                 result.append('P');
-                index = charAt(value, index + 1) == 'B' ? index + 2 : index + 1;
-                break;
+if  ( charAt ( value, index + 1 )  == 'M' )  { index = charAt ( value, index + 1 )  == 'B' ? index + 2 : index + 1; break; }
+ 
             case '\u00C7':
                 // A C with a Cedilla
                 result.append('S');
