Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Modify regex for scheme detection #7742
Modified regex expression for scheme detection from
This prevents the string
Additionally, with the proposed modification the string ":/path" which matched previously no longer matches (which I assume is desired behaviour).