JexCheng/regulex — pull request #8 by mathbruyen (2014-11-28 08:47:32+00:00)
Title: No looping path for repeat with at most one repeat

Repeat used to display a looping path under the block regardless of the maximum number of times it can be used. When this maximum is one like with `c?` this looping path is actually useless.

![current](https://cloud.githubusercontent.com/assets/449671/5225329/6635c3ce-76e3-11e4-8133-6c128635fcb3.png)

Add a condition for the maximum and do not display the looping path is maximum is one. If minimum is 0, it already display a short circuit path on top of the block so both `{0, 1}` and `{1, 1}` will display properly.

![proposed](https://cloud.githubusercontent.com/assets/449671/5225331/6eaee968-76e3-11e4-9696-4b21d9350972.png)