Describe the bug
As described in the title.
To Reproduce
Consider the following piece of code:
let rut = "11111.111-1" // An incorrect way to describe the RUT "11.111.111-1"
console.log(rutlib.validateRut(rut))
When running it, it prints "true"
Expected behavior
It must print "false" because the first (from left to right) thousands separator is missing.
Desktop (please complete the following information):
- OS: Windows 10
- Browser: Firefox
- Version 131.0