Test, validate and match regular expressions
This regex matches Federal Acquisition Regulation (FAR) clause and provision references in contract documents. It captures the FAR number (e.g., 52.212-4) followed by either the full clause text ending with '(End of clause)' or '(End of provision)', or the '[Reserved]' designation for unused clauses. Useful for parsing government contracts and ensuring FAR compliance in procurement documents.