Closed benbalter closed 6 years ago
Thanks!
Just a quick note that these titles are used by the lexer only; that means you don't need to recompile the grammar if they change and, more importantly, they can be changed dynamically. I say this because the matches in the title can be problematic (e.g., if you have proper names 'Pastor' or 'Rabbi' etc.). So the patterns in the options are really intended as examples and you may want to adjust them to your locale.
Great project! This pull request adds
rabbi
andcantor
to the list of recognized religious titles (likefather
orpastor
).I believe I did it right. I updated
parser.y
, ranbundle exec rake racc
, wrote a test, and committed the results.Testing locally, the titles are recognized as expected.