Increase max regex length to Integer.MAX_VALUE