Test, validate and match regular expressions
This regex matches lines containing only the digit 9, optionally separated by periods. It validates hierarchical numeric patterns like '9.99.999' or standalone sequences like '999'. Often used in accounting systems to validate account structures or chart of accounts formats where 9s represent digit placeholders.