Skip to content

Commit

Permalink
group lb and ub series
Browse files Browse the repository at this point in the history
  • Loading branch information
mariotaku committed Jun 30, 2024
1 parent a56fe72 commit 53ce648
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion src/library.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class DeviceModelName {
const groups = match.groups;
const name = groups.series || groups.lx || `OLED${groups.oled}`;
let series = name;
if (series.match(/[ELSU][C-T]\d{3}[0-9A-Z]/)) {
if (series.match(/[ELSU][B-T]\d{3}[0-9A-Z]/)) {
series = series.substring(0, 4);
}
return new DeviceModelName({
Expand Down
Loading

0 comments on commit 53ce648

Please sign in to comment.