Commit 1f3152b
committed
Fix Chinese gear pattern to handle spaced names (MIN DONG YU62646-5)
Simplify pattern from `\w+yu\d+-\d+` to `yu\d+-\d+` so it matches both
concatenated (MINDONGYU62646-5) and spaced (MIN DONG YU62646-5) variants.
The \w+ prefix couldn't cross the space boundary. The simpler pattern is
safe because "yu" immediately followed by digits-dash-digits is specific
enough to avoid false positives (tested against names like BAYOU QUEEN).1 parent 74b8fcb commit 1f3152b
1 file changed
Lines changed: 4 additions & 3 deletions
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
114 | | - | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
0 commit comments