Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Accept String as a pattern #4
It's only for head only match case such as StringScanner#scan.
If we use a String as a pattern, we can improve match performance.