Matheus Evangelista Morais
Matheus Evangelista Morais
@thalisvilela você conseguiu resolver este problema?
I solved it doing: ``` binding.textInputEditTextCpfCnpj.inputType = InputType.TYPE_CLASS_NUMBER binding.textInputEditTextCpfCnpj.keyListener = DigitsKeyListener.getInstance("0123456789-./") val cpfCnpjMask = MaskedTextChangedListener("[00].[000].[000]/[0000]-[00]", binding.textInputEditTextCpfCnpj) it.cpfCnpj?.let { cpfCnpj -> cpfCnpjMask.setText(cpfCnpj, binding.textInputEditTextCpfCnpj, false) } cpfCnpjMask.affineFormats = listOf("[000].[000].[000]-[00]") cpfCnpjMask.affinityCalculationStrategy = AffinityCalculationStrategy.CAPACITY...
I have the same problem, I've already tried changing the values of `pcre.backtrack_limit` and `pcre.recursion_limit` and it still didn't work. And for a smaller file, it worked perfectly.