Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use #sub method over #match & fix regex
It's better if we use #sub over #match + #delete_prefix. Also, add "^" to regex, thereby fixing false-positive cases (for eg: "/lib/foo/bar").
- Loading branch information