Commit b3ed6af
committed
fix: don't convert - to 减 in non-math context (#294)
Split math operators into ambiguous (-, +, =) and unambiguous (×, ÷,
≥, ≤, etc.). Ambiguous operators now require number context on both
sides. Unambiguous operators can still match independently.
Before: wide-awake => wide减awake
After: wide-awake => wide-awake1 parent 0650fa9 commit b3ed6af
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
0 commit comments