mirror of
https://github.com/n08i40k/schedule-parser-next.git
synced 2025-12-06 09:47:46 +03:00
Повторный фикс
This commit is contained in:
@@ -199,9 +199,9 @@ export class V2ScheduleParser {
|
|||||||
// хд
|
// хд
|
||||||
|
|
||||||
const allRegex =
|
const allRegex =
|
||||||
/(?:[А-ЯЁ][а-яё]+\s[А-ЯЁ]\.\s?[А-ЯЁ]\.(?:\s?\([0-9]\s?подгруппа\))?(?:,\s)?)+$/gm;
|
/(?:[А-ЯЁ][а-яё]+\s[А-ЯЁ]\.\s?[А-ЯЁ]\.(?:\s?\(\s?[0-9]\s?подгруппа\s?\))?(?:,\s)?)+$/gm;
|
||||||
const teacherAndSubGroupRegex =
|
const teacherAndSubGroupRegex =
|
||||||
/(?:[А-ЯЁ][а-яё]+\s[А-ЯЁ]\.\s?[А-ЯЁ]\.(?:\s?\([0-9]\s?подгруппа\))?)+/gm;
|
/(?:[А-ЯЁ][а-яё]+\s[А-ЯЁ]\.\s?[А-ЯЁ]\.(?:\s?\(\s?[0-9]\s?подгруппа\s?\))?)+/gm;
|
||||||
|
|
||||||
const allMatch = allRegex.exec(lessonName);
|
const allMatch = allRegex.exec(lessonName);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user