Crate rutilities[][src]

Functions

Clean a formatted rut (or with anything, really) to keep only the significant characters. Useful for internal representations and validating.

Format a rut with dots every 3 characters and a dash before the last one. Useful to show an internal value. This function cleans the rut, no need to have it clean.

Generate a valid, clean rut. Useful for tests.

Check if a given rut is valid