Skip to content

Commit

Permalink
Update lib/src/connector/course_connector.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Chenghsuan Ho <[email protected]>
  • Loading branch information
James-Lu-none and rileychh authored Dec 19, 2023
1 parent ed3a835 commit df1409c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/connector/course_connector.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class CourseConnector {

// the title String of the first course table was stored seperately in its <td> element,
// but it currently stores all the information in a row,
// (ex: 學號:110310144  姓名:xxx  班級:電機三甲    112 學年度 第 1 學期 上課時間表)
// e.g. "學號:110310144  姓名:xxx  班級:電機三甲    112 學年度 第 1 學期 上課時間表"
// so the RegExp is used to filter out only the number parts
final titleString = nodes[0].text;
final RegExp studentSemesterDetailFilter = RegExp(r'\b\d+\b');
Expand Down

0 comments on commit df1409c

Please sign in to comment.