Fix: correct French VAT (FR) validation regex and add tests by iamAmer · Pull Request #2584 · validatorjs/validator.js

For "whitespaces", we could remove all of them from the string before validating it with the regex.
Should we add a strict option to handle tests with or without trimming whitespaces?
What characters should be considered as whitespaces? For example, blank spaces, non-breaking spaces, tabs, etc.?

Currently, validation without whitespaces seems to me more reliable than a version that allows them.