diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-02-05 23:23:22 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-02-05 23:23:22 +0900 |
commit | 30a08a898862a67502e58074ffaa8cc2338840f5 (patch) | |
tree | 796763e917905ad87f84bc2fe67ea210c2cbea02 /actionview/lib/action_view/helpers/tags/datetime_local_field.rb | |
parent | eec3e28a1abf75676dcee58308ee5721bb53c325 (diff) | |
download | rails-30a08a898862a67502e58074ffaa8cc2338840f5.tar.gz rails-30a08a898862a67502e58074ffaa8cc2338840f5.tar.bz2 rails-30a08a898862a67502e58074ffaa8cc2338840f5.zip |
Improve regexp of `html_safe_translation_key?`
- Use `\z` instead of `$`
- Use character class instead of alternation
- Optimize alternation order
Diffstat (limited to 'actionview/lib/action_view/helpers/tags/datetime_local_field.rb')
0 files changed, 0 insertions, 0 deletions