Line 22: |
Line 22: |
| | | |
| Valid: | | Valid: |
− | 1 | + | 1 |
− | 1.2 | + | 1.2 |
− | 1.2.3 | + | 1.2.3 |
− | 2.4.6.7 | + | 2.4.6.7 |
− | 2.3-peru | + | 2.3-peru |
| | | |
| Not valid: | | Not valid: |
− | 1.2peru # must be separated with - | + | 1.2peru # must be separated with a '-' |
− | 1.2. # can't end with '.' | + | 1.2. # can't end with '.' |
− | 1.02.5 # can't have a leading zero | + | 1.02.5 # can't have a leading zero |
| | | |
| Comparisons: | | Comparisons: |
− | 12 == 12 | + | 12 == 12 |
− | 0.9.9 < 1 | + | 0.9.9 < 1 |
− | 1 == 1.0.0 | + | 1 == 1.0.0 |
− | 1.2 < 1.2.3 | + | 1.2 < 1.2.3 |
− | 1.2-arg == 1.2 | + | 1.2-arg == 1.2 |
− | 1.2-arg == 1.2-peru | + | 1.2-arg == 1.2-peru |
| | | |
| == Benefit to Sugar == | | == Benefit to Sugar == |