Test, validate and match regular expressions
This regex matches SIP (Session Initiation Protocol) request lines, capturing the HTTP-like method (e.g., INVITE, REGISTER, BYE, OPTIONS) and the request URI (including schemes like sip:, tel:, or http:). It validates that the line ends with a SIP version identifier (e.g., SIP/2.0, SIP/1.0). Common use cases include parsing SIP message logs, analyzing VoIP traffic, building SIP proxies or user agents, and extracting metadata from communication protocols.