Best way to centralise regexes
Some regexes in the project I am working on are repeated a few times throughout the porject. What is the best way to centralise them? Currently I created an initializer containing a module with the regexes. But is that the way to go? Or is there a better way?