Comment your regular expressions
13-Sep-2024 177
Regular expressions have a reputation for being cryptic and arcane, and with good reason: their syntax is dense and non-obvious. Unfortunately that leads many people to not view them as real code, so they copy-and-paste them without analyzing them to verify their behavior, or they ignore them in code reviews. This isn’t ideal.
Comment your regular expressions #ruby #rubydeveloper #rubyonrails #Comment #regular #expressions https://www.rubyonrails.ba/link/comment-your-regular-expressions