rootstrap / i18n_linter

Rails i18n Linter Gem
https://rootstrap.com
MIT License
44 stars 2 forks source link

Fix: Escaped Strings in Regular Expressions #6

Closed f19ps closed 5 years ago

f19ps commented 5 years ago

Small change in regular expressions with interpolated strings

We have detected that we need to escape strings when these are interpolated inside a regular expression to prevent errors like groupings (e.g. strings with this format: "(text ...)").