--- /Metaphone.java	2023-07-05 03:06:57.526036735 +0200
+++ /Codec-1/src/java/org/apache/commons/codec/language/Metaphone.java	2023-07-05 03:06:57.530036735 +0200
@@ -337,10 +337,11 @@
 	private boolean regionMatch(StringBuffer string, int index, String test) {
 		boolean matches = false;
 		if( index >= 0 &&
-		    (index + test.length() - 1) < string.length() ) {
-			String substring = string.substring( index, index + test.length());
-			matches = substring.equals( test );
-		}
+ 
+ 
+ 
+ 
+ 
 		return matches;
 	}
 
