Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace ms- to -ms- regex with logic
This avoids an often-unnecessary regex run, which makes this function run a little faster. I first went with str.slice, but benchmarking showed that to be 18% slower than bracket access.
- Loading branch information