skuro / plantuml-mode

A major mode for editing PlantUML sources in Emacs
GNU General Public License v3.0
510 stars 95 forks source link

Refactor regular expressions used for font-locking #150

Open exot opened 2 years ago

exot commented 2 years ago

Hey @skuro,

while trying to fix some issues with the regular expressions use for font-locking (i.e, #147) and looking into pull requests from others that have changed them (i.e., #144), I had the feeling that these regular expressions could be improved by some refactoring, because they seem to share a lot of common structure which is explicitly duplicated. After discussing this with @mtoboid in #144 I think the following two changes would be helpful:

What do you think about this? Is this a worthwhile endeavor from your point of view? If so, I could give it a try.

Best,

  Daniel

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

exot commented 2 years ago

Bump to make stale-bot happy.