Bug 62790 - ArrayIndexOutOfBoundsException when calling replace without selecting the first match Bugzilla Id: 62790