--- /DoubleMetaphone.java	2023-07-05 02:35:01.650155134 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/DoubleMetaphone.java	2023-07-05 02:35:01.658155132 +0200
@@ -106,7 +106,7 @@
                 break;
             case 'B':
                 result.append('P');
-                index = charAt(value, index + 1) == 'B' ? index + 2 : index + 1;
+index = isDoubleMetaphoneEqual ( VOWELS, index + 1 )  == 'B' ? index + 2 : index + 1;
                 break;
             case '\u00C7':
                 // A C with a Cedilla
