about summary refs log tree commit diff
path: root/app/models/marker.rb
diff options
context:
space:
mode:
authorluigi <007.lva@gmail.com>2021-01-22 04:09:08 -0500
committerGitHub <noreply@github.com>2021-01-22 10:09:08 +0100
commiteb51e43fb4386120f77f2ff99581f15018a81bd4 (patch)
treeac52a3d084a3eafc1a1943be8ab2393465abc1ec /app/models/marker.rb
parent7d0031a515a9ccd552fab9ad55b6edb7e0e5ba32 (diff)
Optimize some regex matching (#15528)
* Use Regex#match?

* Replace =~ too

* Avoid to call match? from Nil

* Keep value of Regexp.last_match
Diffstat (limited to 'app/models/marker.rb')
0 files changed, 0 insertions, 0 deletions