Module: Studium

Defined in:
lib/studium/base/base.rb,
lib/studium/jobs/jobs.rb,
lib/studium/exams/cycle.rb,
lib/studium/exams/exams.rb,
lib/studium/exams/frozen.rb,
lib/studium/actions/actions.rb,
lib/studium/colours/colours.rb,
lib/studium/exams/exam/exam.rb,
lib/studium/exams/next_exam.rb,
lib/studium/project/project.rb,
lib/studium/version/version.rb,
lib/studium/www/sinatra/app.rb,
lib/studium/ects/sum_of_ects.rb,
lib/studium/exams/next_exams.rb,
lib/studium/www/sinatra/misc.rb,
lib/studium/ects/ects_scanner.rb,
lib/studium/encoding/encoding.rb,
lib/studium/exams/exam_topics.rb,
lib/studium/ects/still_missing.rb,
lib/studium/constants/constants.rb,
lib/studium/exams/solved/solved.rb,
lib/studium/curricula/curriculum.rb,
lib/studium/exams/fix_exam_dates.rb,
lib/studium/exams/remote_ftp_url.rb,
lib/studium/statistics/max_stats.rb,
lib/studium/statistics/top_stats.rb,
lib/studium/exams/dataset/dataset.rb,
lib/studium/exams/exams_this_week.rb,
lib/studium/logging/log_directory.rb,
lib/studium/ects/solved_ects/reset.rb,
lib/studium/exams/show_themes/menu.rb,
lib/studium/exams/show_themes/misc.rb,
lib/studium/toplevel_methods/roebe.rb,
lib/studium/commandline/commandline.rb,
lib/studium/ects/boku_ects_splitter.rb,
lib/studium/exams/show_themes/reset.rb,
lib/studium/base/html_colours_module.rb,
lib/studium/exams/upload_exam_topics.rb,
lib/studium/toplevel_methods/runmode.rb,
lib/studium/utility_scripts/new_stud.rb,
lib/studium/exams/afterburn/afterburn.rb,
lib/studium/exams/ask_random_question.rb,
lib/studium/exams/timetable/constants.rb,
lib/studium/exams/timetable/timetable.rb,
lib/studium/ects/solved_ects/constants.rb,
lib/studium/exams/repeat_last_question.rb,
lib/studium/logging/html_log_directory.rb,
lib/studium/exams/last_exams/last_exams.rb,
lib/studium/exams/show_themes/constants.rb,
lib/studium/statistics/best_exam_months.rb,
lib/studium/utility_scripts/audio_stats.rb,
lib/studium/utility_scripts/stundenplan.rb,
lib/studium/utility_scripts/ufind/ufind.rb,
lib/studium/ects/solved_ects/solved_ects.rb,
lib/studium/exams/upcoming_exams_dataset.rb,
lib/studium/parsers/parse_remote_lecture.rb,
lib/studium/requires/require_the_parsers.rb,
lib/studium/ects/last_entry_is_curriculum.rb,
lib/studium/ects/n_ects_in_these_lectures.rb,
lib/studium/ects/simple_total_ects_points.rb,
lib/studium/exams/ask_exam_topic_question.rb,
lib/studium/exams/ask_question_from_alias.rb,
lib/studium/exams/exam_bubble/exam_bubble.rb,
lib/studium/exams/n_exams_in_these_topics.rb,
lib/studium/requires/require_ects_scripts.rb,
lib/studium/utility_scripts/calendar/misc.rb,
lib/studium/utility_scripts/moodle/moodle.rb,
lib/studium/curricula/curriculum_as_string.rb,
lib/studium/ects/ects_to_university_parser.rb,
lib/studium/toplevel_methods/e_and_esystem.rb,
lib/studium/utility_scripts/auto_stud/misc.rb,
lib/studium/utility_scripts/weekday_parser.rb,
lib/studium/curricula/handle_curricula/misc.rb,
lib/studium/exams/exam_registration_at/help.rb,
lib/studium/exams/exam_registration_at/menu.rb,
lib/studium/statistics/show_exam_statistics.rb,
lib/studium/utility_scripts/blocked_courses.rb,
lib/studium/utility_scripts/courses/courses.rb,
lib/studium/utility_scripts/week_parser/run.rb,
lib/studium/utility_scripts/weekly_schedule.rb,
lib/studium/ects/return_n_ects_from_this_url.rb,
lib/studium/exams/exam_registration_at/reset.rb,
lib/studium/requires/require_the_exams_files.rb,
lib/studium/utility_scripts/week_parser/help.rb,
lib/studium/utility_scripts/week_parser/menu.rb,
lib/studium/utility_scripts/week_parser/misc.rb,
lib/studium/utility_scripts/week_parser/show.rb,
lib/studium/check_and_sanitize/date_sanitizer.rb,
lib/studium/curricula/determine_curricula/run.rb,
lib/studium/ects/return_n_ects_from_this_file.rb,
lib/studium/exams/average_grade/average_grade.rb,
lib/studium/exams/exam_question/exam_question.rb,
lib/studium/exams/lectures_without_exam_entry.rb,
lib/studium/exams/not_completed/not_completed.rb,
lib/studium/statistics/new_questions_per_year.rb,
lib/studium/toplevel_methods/toplevel_methods.rb,
lib/studium/utility_scripts/calendar/calendar.rb,
lib/studium/utility_scripts/holidays/holidays.rb,
lib/studium/utility_scripts/priority/priority.rb,
lib/studium/utility_scripts/week_parser/reset.rb,
lib/studium/base/runmode_module/runmode_module.rb,
lib/studium/curricula/determine_curricula/help.rb,
lib/studium/curricula/determine_curricula/menu.rb,
lib/studium/curricula/determine_curricula/misc.rb,
lib/studium/exams/ask_question_from_last_topic.rb,
lib/studium/exams/push_solved_questions_on_top.rb,
lib/studium/parsers/custom_exam_results_parser.rb,
lib/studium/requires/require_the_logging_files.rb,
lib/studium/curricula/determine_curricula/reset.rb,
lib/studium/exams/show_exams_for/show_exams_for.rb,
lib/studium/exams/upcoming_exams/upcoming_exams.rb,
lib/studium/gui/jruby/exam_trainer/exam_trainer.rb,
lib/studium/university_course/university_course.rb,
lib/studium/utility_scripts/auto_stud/auto_stud.rb,
lib/studium/utility_scripts/auto_stud/constants.rb,
lib/studium/utility_scripts/next_week/next_week.rb,
lib/studium/utility_scripts/pdf/hexapdf_support.rb,
lib/studium/curricula/determine_curricula/report.rb,
lib/studium/curricula/display_bachelor_curricula.rb,
lib/studium/exams/exam_registration_at/constants.rb,
lib/studium/gui/gtk3/control_panel/control_panel.rb,
lib/studium/requires/require_the_curricula_files.rb,
lib/studium/requires/require_the_utility_scripts.rb,
lib/studium/utility_scripts/auto_stud/initialize.rb,
lib/studium/curricula/sorted_individual_curricula.rb,
lib/studium/ects/solved_ects_per_university/reset.rb,
lib/studium/exams/exams_per_month/exams_per_month.rb,
lib/studium/exams/question_answer/question_answer.rb,
lib/studium/exams/upcoming_exams_at_the_boku/html.rb,
lib/studium/requires/require_the_toplevel_methods.rb,
lib/studium/utility_scripts/lva_nummer/lva_nummer.rb,
lib/studium/utility_scripts/steop/steop_lva_dates.rb,
lib/studium/utility_scripts/week_parser/constants.rb,
lib/studium/exams/ask_question_from_grouped_themes.rb,
lib/studium/exams/csv/create_csv_passed_exams_file.rb,
lib/studium/utility_scripts/regexes/generate_regex.rb,
lib/studium/curricula/determine_curricula/constants.rb,
lib/studium/curricula/prepare_individual_curriculum.rb,
lib/studium/ects/show_passed_credits_per_curriculum.rb,
lib/studium/utility_scripts/week_parser/week_parser.rb,
lib/studium/check_and_sanitize/check_important_exams.rb,
lib/studium/curricula/determine_curricula/initialize.rb,
lib/studium/ects/search_for_n_ects/search_for_n_ects.rb,
lib/studium/exams/exam_bubble/menu_for_the_main_loop.rb,
lib/studium/check_and_sanitize/missing_priority_entry.rb,
lib/studium/curricula/curriculum_module_displayer/run.rb,
lib/studium/ects/show_completed_ects_in_all_curricula.rb,
lib/studium/exams/solve_all_questions_from_this_topic.rb,
lib/studium/utility_scripts/generate_spreadsheet/misc.rb,
lib/studium/check_and_sanitize/find_duplicate_lectures.rb,
lib/studium/curricula/curriculum_module_displayer/menu.rb,
lib/studium/curricula/show_lectures_of_this_curriculum.rb,
lib/studium/exams/exam_registration_at/report_and_show.rb,
lib/studium/exams/upcoming_exams_at_the_boku/constants.rb,
lib/studium/universities_in_austria/boku/three_pillars.rb,
lib/studium/curricula/curriculum_module_displayer/reset.rb,
lib/studium/curricula/handle_curricula/handle_curricula.rb,
lib/studium/exams/ask_exam_from_the_upcoming_exams_pool.rb,
lib/studium/exams/unsolve_all_questions_from_this_topic.rb,
lib/studium/logging/store_last_question_asked_into_file.rb,
lib/studium/universities_in_austria/tu_vienna/tu_ferien.rb,
lib/studium/utility_scripts/autopurge_this_lecture_date.rb,
lib/studium/utility_scripts/show_lectures/show_lectures.rb,
lib/studium/utility_scripts/wochenplanung/wochenplanung.rb,
lib/studium/curricula/modules/display_on_the_commandline.rb,
lib/studium/ects/ects_per_university/ects_per_university.rb,
lib/studium/logging/ensure_that_the_log_directory_exists.rb,
lib/studium/utility_scripts/create/webpage_of_university.rb,
lib/studium/utility_scripts/scrape_remote_university_url.rb,
lib/studium/curricula/n_percent_solved_in_this_curriculum.rb,
lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb,
lib/studium/gui/libui/ask_exam_question/ask_exam_question.rb,
lib/studium/requires/require_the_check_and_sanitize_files.rb,
lib/studium/utility_scripts/autogeneration/autogeneration.rb,
lib/studium/utility_scripts/semesterplaner/semesterplaner.rb,
lib/studium/utility_scripts/show_lecturers/show_lecturers.rb,
lib/studium/utility_scripts/steop/show_all_steop_lectures.rb,
lib/studium/curricula/modules/return_n_ects_in_this_module.rb,
lib/studium/exams/show_all_passed_exams_of_this_university.rb,
lib/studium/utility_scripts/set_aliases_based_on_this_file.rb,
lib/studium/check_and_sanitize/sanitize_lecture_information.rb,
lib/studium/curricula/curriculum_module_displayer/constants.rb,
lib/studium/curricula/mitteilungsblätter/mitteilungsblätter.rb,
lib/studium/exams/exam_registration_at/exam_registration_at.rb,
lib/studium/gui/universal_widgets/exam_trainer/exam_trainer.rb,
lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb,
lib/studium/utility_scripts/create/webpage_of_university_TU.rb,
lib/studium/utility_scripts/create_database/create_database.rb,
lib/studium/utility_scripts/foreign_language_percentage/run.rb,
lib/studium/utility_scripts/priority_points/priority_points.rb,
lib/studium/utility_scripts/studienkennzahl/studienkennzahl.rb,
lib/studium/curricula/curriculum_module_displayer/initialize.rb,
lib/studium/ects/n_ects_points_in_mandatory_presence_courses.rb,
lib/studium/gui/gtk3/lecture_information/lecture_information.rb,
lib/studium/universities_in_austria/boku/boku_öffnungszeiten.rb,
lib/studium/utility_scripts/average_grade_of_this_curriculum.rb,
lib/studium/utility_scripts/foreign_language_percentage/help.rb,
lib/studium/utility_scripts/foreign_language_percentage/menu.rb,
lib/studium/curricula/determine_curricula/determine_curricula.rb,
lib/studium/exams/show_backlog_of_exams/show_backlog_of_exams.rb,
lib/studium/gui/jruby/show_upcoming_exams/show_upcoming_exams.rb,
lib/studium/utility_scripts/create/webpage_of_university_BOKU.rb,
lib/studium/utility_scripts/foreign_language_percentage/reset.rb,
lib/studium/utility_scripts/publish_my_exams/publish_my_exams.rb,
lib/studium/utility_scripts/studium_skeleton/studium_skeleton.rb,
lib/studium/exams/open_last_exam_question_asked_file/constants.rb,
lib/studium/gui/shared_code/control_panel/control_panel_module.rb,
lib/studium/statistics/curriculum_comparer/curriculum_comparer.rb,
lib/studium/utility_scripts/foreign_language_percentage/report.rb,
lib/studium/utility_scripts/lva_dates_of_the_important_courses.rb,
lib/studium/exams/open_last_exam_question_asked_file/initialize.rb,
lib/studium/statistics/determine_exam_statistics_from_this_file.rb,
lib/studium/universities_in_austria/tu_vienna/tu_öffnungszeiten.rb,
lib/studium/utility_scripts/check_description_of_these_lectures.rb,
lib/studium/utility_scripts/expand_time_range/expand_time_range.rb,
lib/studium/gui/javafx/exam_question_widget/exam_question_widget.rb,
lib/studium/utility_scripts/create/webpage_of_university_UniWien.rb,
lib/studium/check_and_sanitize/check_the_lecture_information_file.rb,
lib/studium/curricula/curriculum_module_displayer/show_and_report.rb,
lib/studium/statistics/exam_topics_that_are_about_to_be_completed.rb,
lib/studium/utility_scripts/foreign_language_percentage/constants.rb,
lib/studium/utility_scripts/not_yet_registered/not_yet_registered.rb,
lib/studium/www/sinatra/curriculum_displayer/curriculum_displayer.rb,
lib/studium/exams/report_total_amount_of_questions_and_answers_for.rb,
lib/studium/utility_scripts/foreign_language_percentage/initialize.rb,
lib/studium/curricula/determine_elective_courses_in_this_curriculum.rb,
lib/studium/exams/open_exam_associated_url/open_exam_associated_url.rb,
lib/studium/statistics/report_how_many_exam_questions_were_answered.rb,
lib/studium/toplevel_methods/return_remote_homepage_of_this_lecture.rb,
lib/studium/utility_scripts/display_lecture_url/display_lecture_url.rb,
lib/studium/utility_scripts/name_of_this_lva_id/name_of_this_lva_id.rb,
lib/studium/utility_scripts/pdf/create_pdf_file_for_this_exam_topic.rb,
lib/studium/utility_scripts/steop/steop_lectures_in_this_curriculum.rb,
lib/studium/utility_scripts/upcoming_mandatory_presence_courses/run.rb,
lib/studium/exams/ask_question_from_any_of_the_still_missing_lectures.rb,
lib/studium/exams/upcoming_registered_exams/upcoming_registered_exams.rb,
lib/studium/gui/universal_widgets/curriculum_viewer/curriculum_viewer.rb,
lib/studium/gui/universal_widgets/expand_time_range/expand_time_range.rb,
lib/studium/utility_scripts/course_registrations/course_registrations.rb,
lib/studium/utility_scripts/generate_spreadsheet/generate_spreadsheet.rb,
lib/studium/utility_scripts/passed_ects_per_year/passed_ects_per_year.rb,
lib/studium/utility_scripts/preparatory_meetings/preparatory_meetings.rb,
lib/studium/check_and_sanitize/check_for_correct_themes_of_each_course.rb,
lib/studium/ects/solved_ects_per_university/solved_ects_per_university.rb,
lib/studium/toplevel_methods/return_remote_moodle_link_of_this_lecture.rb,
lib/studium/exams/upcoming_exams_at_the_boku/upcoming_exams_at_the_boku.rb,
lib/studium/toplevel_methods/install_the_project_on_the_given_hostsystem.rb,
lib/studium/utility_scripts/semester_schedule_creator/semester_container.rb,
lib/studium/check_and_sanitize/check_for_all_exam_topics_being_registered.rb,
lib/studium/curricula/curriculum_module_displayer/set_use_this_curriculum.rb,
lib/studium/curricula/random_curriculum_creator/random_curriculum_creator.rb,
lib/studium/exams/move_all_unsolved_exam_questions_to_the_top_of_the_file.rb,
lib/studium/gui/universal_widgets/ects_per_university/ects_per_university.rb,
lib/studium/gui/universal_widgets/show_upcoming_exams/show_upcoming_exams.rb,
lib/studium/utility_scripts/upcoming_mandatory_presence_courses/constants.rb,
lib/studium/base/commandline_arguments_module/commandline_arguments_module.rb,
lib/studium/gui/shared_code/show_upcoming_exams/show_upcoming_exams_module.rb,
lib/studium/curricula/show_solved_percentage_among_the_registered_curricula.rb,
lib/studium/utility_scripts/show_outdated_lva_dates/show_outdated_lva_dates.rb,
lib/studium/utility_scripts/open_last_exam_question_url_link_via_the_browser.rb,
lib/studium/check_and_sanitize/check_for_existing_description_of_this_lecture.rb,
lib/studium/curricula/curricula_from_this_website/curricula_from_this_website.rb,
lib/studium/curricula/curriculum_module_displayer/curriculum_module_displayer.rb,
lib/studium/universities_in_austria/boku/show_three_pillars_of_these_lectures.rb,
lib/studium/utility_scripts/sync_studium_relevant_entries_one_level_downwards.rb,
lib/studium/utility_scripts/video_lecture_downloader/video_lecture_downloader.rb,
lib/studium/exams/exam_statistics_from_this_file/exam_statistics_from_this_file.rb,
lib/studium/utility_scripts/homepage_of_these_courses/homepage_of_these_courses.rb,
lib/studium/utility_scripts/semester_schedule_creator/semester_schedule_creator.rb,
lib/studium/utility_scripts/show_lectures_on_this_day/show_lectures_on_this_day.rb,
lib/studium/check_and_sanitize/correct_all_dates_in_the_file_lecture_information.rb,
lib/studium/statistics/report_how_many_ects_points_per_curriculum_were_completed.rb,
lib/studium/utility_scripts/regexes/generate_regexes_for_the_registered_lectures.rb,
lib/studium/exams/mandatory_continuous_assessment/mandatory_continuous_assessment.rb,
lib/studium/exams/designate_ten_random_exam_topics/designate_ten_random_exam_topics.rb,
lib/studium/exams/questions_solved_from_day_to_day/questions_solved_from_day_to_day.rb,
lib/studium/utility_scripts/foreign_language_percentage/foreign_language_percentage.rb,
lib/studium/utility_scripts/regexes/generate_regexes_for_the_available_moodle_links.rb,
lib/studium/curricula/attribute_lecture_to_curriculum/attribute_lecture_to_curriculum.rb,
lib/studium/utility_scripts/show_solved_english_lectures/show_solved_english_lectures.rb,
lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/run.rb,
lib/studium/exams/open_last_exam_question_asked_file/open_last_exam_question_asked_file.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/show_conflicting_lva_lectures.rb,
lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/menu.rb,
lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/reset.rb,
lib/studium/gui/universal_widgets/information_about_a_lecture/information_about_a_lecture.rb,
lib/studium/utility_scripts/show_lva_dates_of_this_lecture/show_lva_dates_of_this_lecture.rb,
lib/studium/curricula/attribute_lecture_to_curriculum/attribute_boku_lecture_to_curriculum.rb,
lib/studium/utility_scripts/show_all_passed_master_lectures/show_all_passed_master_lectures.rb,
lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/constants.rb,
lib/studium/check_and_sanitize/check_curriculum_for_correct_separation_of_bachelor_and_master.rb,
lib/studium/curricula/show_lectures_of_this_curriculum_id/show_lectures_of_this_curriculum_id.rb,
lib/studium/statistics/show_which_courses_are_in_a_bachelor_or_master_curriculum_respectively.rb,
lib/studium/utility_scripts/attribute_lectures_to_university/attribute_lectures_to_university.rb,
lib/studium/utility_scripts/current_lectures_belonging_to_both_bachelor_and_master_curriculum.rb,
lib/studium/utility_scripts/mandatory_lectures_in_this_month/mandatory_lectures_in_this_month.rb,
lib/studium/utility_scripts/passed_prüfungsimmanente_courses/passed_prüfungsimmanente_courses.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/show_lectures_on_the_commandline.rb,
lib/studium/utility_scripts/finished_exams_at_this_university/finished_exams_at_this_university.rb,
lib/studium/utility_scripts/report_outdated_timetable_entries/report_outdated_timetable_entries.rb,
lib/studium/utility_scripts/show_mixed_bachelor_master_courses/show_mixed_bachelor_master_courses.rb,
lib/studium/utility_scripts/lectures_attributed_to_universities/lectures_attributed_to_universities.rb,
lib/studium/utility_scripts/show_lectures_fitting_to_this_theme/show_lectures_fitting_to_this_theme.rb,
lib/studium/utility_scripts/show_passed_exams_having_this_grade/show_passed_exams_having_this_grade.rb,
lib/studium/utility_scripts/upcoming_mandatory_presence_courses/upcoming_mandatory_presence_courses.rb,
lib/studium/utility_scripts/show_lectures_fitting_to_this_language/show_lectures_fitting_to_this_language.rb,
lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/resolve_practical_courses_date_conflicts.rb,
lib/studium/utility_scripts/currently_participating_in_these_lectures/currently_participating_in_these_lectures.rb,
lib/studium/curricula/show_all_unfinished_courses_of_this_curriculum/show_all_unfinished_courses_of_this_curriculum.rb,
lib/studium/exams/move_the_last_exam_question_to_the_top_of_the_file/move_the_last_exam_question_to_the_top_of_the_file.rb,
lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/individual_resolve_practical_courses_date_conflicts.rb,
lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/show_descriptions_of_lectures_belonging_to_this_module.rb,
lib/studium/utility_scripts/report_whether_this_lecture_is_registered_in_the_file_lecture_information/report_whether_this_lecture_is_registered_in_the_file_lecture_information.rb

Overview

#

require ‘studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/reset.rb’

#

Defined Under Namespace

Modules: Actions, BOKU, Colours, CommandlineArgumentsModule, Create, Curricula, ECTS, Exams, GUI, HtmlColoursModule, Log, RunmodeModule, Statistics, TechnicalUniversityOfVienna, WebConstants Classes: Afterburn, AskQuestionFromAlias, AskQuestionFromGroupedThemes, AskQuestionFromLastTopic, AskRandomQuestion, AttributeBokuLectureToCurriculum, AttributeLectureToCurriculum, AttributeLecturesToUniversity, AudioStats, AutoStud, Autogeneration, AutopurgeThisLectureDate, AverageGradeOfThisCurriculum, Base, BlockedCourses, BokuEctsSplitter, Calendar, CheckCurriculumForCorrectSeparationOfBachelorAndMaster, CheckDescriptionOfTheseLectures, CheckForAllExamTopicsBeingRegistered, CheckForCorrectThemesOfEachCourse, CheckForExistingDescriptionOfThisLecture, CheckImportantExams, CheckTheLectureInformationFile, Commandline, CorrectAllDatesInTheFileLectureInformation, CourseRegistrations, Courses, CreateDatabase, CreatePdfFileForThisExamTopic, CurrentLecturesBelongingToBothBachelorAndMasterCurriculum, CurrentlyParticipatingInTheseLectures, CurriculaFromThisWebsite, Curriculum, CurriculumDisplayer, CurriculumModuleDisplayer, CustomExamResultsParser, DateSanitizer, DetermineCurricula, DisplayLectureUrl, EctsPerUniversity, EctsScanner, EctsToUniversityParser, ExamsPerMonth, ExpandTimeRange, FindDuplicateLectures, FinishedExamsAtThisUniversity, FixExamDates, ForeignLanguagePercentage, GenerateRegex, GenerateRegexesForTheAvailableMoodleLinks, GenerateRegexesForTheRegisteredLectures, GenerateSpreadsheet, Holidays, HomepageOfTheseCourses, IndividualResolvePracticalCoursesDateConflicts, Jobs, LastEntryIsCurriculum, LecturesAttributedToUniversities, LvaDatesOfTheImportantCourses, LvaNummer, MandatoryLecturesInThisMonth, Moodle, MoveAllUnsolvedExamQuestionsToTheTopOfTheFile, MoveTheLastExamQuestionToTheTopOfTheFile, NEctsInTheseLectures, NExamsInTheseTopics, NameOfThisLvaId, NewStud, NextWeek, NotYetRegistered, OpenLastExamQuestionUrlLinkViaTheBrowser, ParseRemoteLecture, PassedEctsPerYear, PassedPrüfungsimmanenteCourses, PreparatoryMeetings, PrepareIndividualCurriculum, Priority, PriorityPoints, RandomCurriculumCreator, ReportOutdatedTimetableEntries, ReportTotalAmountOfQuestionsAndAnswersFor, ReportWhetherThisLectureIsRegisteredInTheFileLectureInformation, ResolvePracticalCoursesDateConflicts, ReturnNEctsFromThisUrl, SanitizeLectureInformation, ScrapeRemoteUniversityUrl, SemesterContainer, SemesterScheduleCreator, Semesterplaner, SetAliasesBasedOnThisFile, ShowAllPassedExamsOfThisUniversity, ShowAllPassedMasterLectures, ShowAllSteopLectures, ShowAllUnfinishedCoursesOfThisCurriculum, ShowBacklogOfExams, ShowCompletedEctsInAllCurricula, ShowConflictingLvaLectures, ShowDescriptionsOfLecturesBelongingToThisModule, ShowLecturers, ShowLectures, ShowLecturesFittingToThisLanguage, ShowLecturesFittingToThisTheme, ShowLecturesOfThisCurriculum, ShowLecturesOfThisCurriculumId, ShowLecturesOnTheCommandline, ShowLecturesOnThisDay, ShowLvaDatesOfThisLecture, ShowMixedBachelorMasterCourses, ShowOutdatedLvaDates, ShowPassedCreditsPerCurriculum, ShowPassedExamsHavingThisGrade, ShowSolvedEnglishLectures, ShowSolvedPercentageAmongTheRegisteredCurricula, ShowUpcomingExams, SimpleTotalEctsPoints, Sinatra, SolveAllQuestionsFromThisTopic, SolvedEcts, SolvedEctsPerUniversity, SortedIndividualCurricula, SteopLecturesInThisCurriculum, SteopLvaDates, StillMissing, Studienkennzahl, StudiumSkeleton, Stundenplan, SumOfEcts, SyncStudiumRelevantEntriesOneLevelDownwards, Ufind, UniversityCourse, UnsolveAllQuestionsFromThisTopic, UpcomingMandatoryPresenceCourses, VideoLectureDownloader, WeekParser, WeekdayParser, WeeklySchedule, Wochenplanung

Constant Summary collapse

VERSION =
#

VERSION

#
'0.18.7'
LAST_UPDATE =
#

LAST_UPDATE

The following constant denotes when this project has last been updated.

Note that this constant is not very frequently updated, though, so consider this more as a general cue than something that is extremely reliable. I will, however had, update this every now and then.

The format is: dd.mm.yyyy

#
'20.03.2024'
URL_TO_THE_DOCUMENTATION =
#

Studium::URL_TO_THE_DOCUMENTATION

#
"https://www.rubydoc.info/gems/#{self.to_s.downcase}/#{VERSION}"
ENCODING_UTF =
#

ENCODING_UTF

This constant “points” to the UTF-8 encoding.

#
'UTF-8'
UTF8 =

UTF8

ENCODING_UTF
UTF =

UTF

ENCODING_UTF
ENCODING_ISO =
#

ENCODING_ISO

#
'ISO-8859-1'
ISO =

ISO

ENCODING_ISO
ISO_ENCODING =

ISO_ENCODING

ENCODING_ISO
FILE_DEFAULT_ENCODING =
#

FILE_DEFAULT_ENCODING

This constant will refer to the yaml file that keeps track of the default encoding.

On my home system this file resides at:

bl $RSRC/studium/lib/studium/yaml/default_encoding.yml
#
"#{yaml_directory?}default_encoding.yml"
DAY_NAMES =
#

Studium::DAY_NAMES

#
%w(
  Sun Mon Tue Wed Thu Fri Sat
)
FILE_CUSTOM_COLOURS =
#

FILE_CUSTOM_COLOURS

#
"#{yaml_directory?}colours/custom_colours.yml"
USERS_X =
#

USERS_X

Must be defined before RUBY_SRC_DIR and other constants.

#
'/home/x/'
RUBY_SRC_DIR =
#

RUBY_SRC_DIR

Hardcoded path - but only relevant for my home system.

#
"#{USERS_X}programming/ruby/src/"
NAMESPACE =
#

NAMESPACE

#
inspect
N =
#

N

#
"\n"
T =
#

T

#
"\t"
RUBY_HEADER =
#

RUBY_HEADER

#
"#!/usr/bin/ruby -w
# Encoding: UTF-8
# frozen_string_literal: true
# =========================================================================== #\n"
THRESHOLD_VALUE_N_EXAMS_AT_MAXIMUM =
#

THRESHOLD_VALUE_N_EXAMS_AT_MAXIMUM

The following constant will only be honoured if the above-defined constant WARN_THE_USER_IF_THERE_ARE_TOO_MANY_QUESTIONS_REGISTERED_IN_AN_EXAM_TOPIC has been set to true.

The current threshold is set to 1000, meaning that if an exam-topic has more than 1000 registered questions/answers, the user will be notified of this, if the above constant was set to true.

#
1000
CHECK_FOR_INCORRECT_ENTRIES_IN_THE_QUESTION_ANSWER_FILE_THAT_SHOULD_BE_COMMENTS =
#

CHECK_FOR_INCORRECT_ENTRIES_IN_THE_QUESTION_ANSWER_FILE_THAT_SHOULD_BE_COMMENTS

If the following constant is set to true, then a certain method will check whether lines start with e. g. “t#” rather than “#”. This is an indication that some typo is in that exam-questions file, which we then can auto-correct.

#
true
DEFAULT_TOPIC =
#

DEFAULT_TOPIC

What is our default topic? We define it here. This may be used in the file dataset.rb

#
'rand'
WARN_THE_USER_IF_THERE_ARE_TOO_MANY_QUESTIONS_REGISTERED_IN_AN_EXAM_TOPIC =
#

WARN_THE_USER_IF_THERE_ARE_TOO_MANY_QUESTIONS_REGISTERED_IN_AN_EXAM_TOPIC

#
true
CHEERING_PERSON =
#

CHEERING_PERSON

This ASCII “symbol” is repeated in many classes of the Studium namespace, indicating a success (via a cheering person who throws up the arms).

#
'\\o/'
RIGHT_ARROW =
#

RIGHT_ARROW

#
''
UNICODE_RIGHT_ARROW =

UNICODE_RIGHT_ARROW

RIGHT_ARROW
UNICODE_CHECKMARK =
#

UNICODE_CHECKMARK

#
''
ONE_WEEK =
#

ONE_WEEK

#
7
APPEND_THIS =
#

APPEND_THIS

#
'[]'
DEFAULT_DELAY =
#

DEFAULT_DELAY

#
3.0
ONE_MINUTE =
#

Studium::ONE_MINUTE

#
60
ONE_HOUR =
#

Studium::ONE_HOUR

#
ONE_MINUTE * 60
ONE_DAY =
#

Studium::ONE_DAY

#
ONE_HOUR * 24
TWO_DAYS =
#

Studium::TWO_DAYS

#
ONE_DAY * 2
THREE_DAYS =
#

Studium::THREE_DAYS

#
ONE_DAY * 3
FOUR_DAYS =
#

Studium::FOUR_DAYS

#
ONE_DAY * 4
FIVE_DAYS =
#

Studium::FIVE_DAYS

#
ONE_DAY * 5
SIX_DAYS =
#

Studium::SIX_DAYS

#
ONE_DAY * 6
FILE_EXAM_TOPICS_ARCHIVE =
#

FILE_EXAM_TOPICS_ARCHIVE

#
'exam_topics.tar.xz'
ARRAY_LECTURE_TYPES_THAT_ARE_MANDATORY_CONTINUOUS_ASSESSMENT =
#

Studium::ARRAY_LECTURE_TYPES_THAT_ARE_MANDATORY_CONTINUOUS_ASSESSMENT

Alle prüfungsimmanenten Lehrveranstaltungen (courses with “mandatory presence”) werden im folgenden Array gesammelt.

PS stands for “Projektarbeit”, aka “Bachelorarbeiten” usually.

“SK” stands for seminar+praktikum, aka seminar-presentation and practical course work.

Please use a new line for every individual entry in the following constant.

#
%w(
  UE
  SE
  KV
  EX
  SK
  LU
  VU
  PA
  PJ
  PP
  PR
  PS
  KO
  KU
  KV
  VS
  VX
  OL
  VL
  VO+UE
  SE+UE
  VO+SE  
)
MAKE_USE_OF_UNICODE_SYMBOLS_WHENEVER_POSSIBLE =
#

MAKE_USE_OF_UNICODE_SYMBOLS_WHENEVER_POSSIBLE

The following constant determines whether we will make use of Unicode symbols when that is possible, on the commandline.

Unicode symbols in this context primarily refer to the unicode-checkmark “icon”.

#
true
ARRAY_GERMAN_WEEKDAYS =
#

Studium::ARRAY_GERMAN_WEEKDAYS

All weekdays. This one is kept in german, though.

#
%w(
  Montag
  Dienstag
  Mittwoch
  Donnerstag
  Freitag
  Samstag
  Sonntag
)
ARRAY_WEEKDAYS =

ARRAY_WEEKDAYS

ARRAY_GERMAN_WEEKDAYS
HASH_SHORT_TO_LONG_WEEKDAYS =
#

Studium::HASH_SHORT_TO_LONG_WEEKDAYS

#
{
  'Mon' => 'Monday',
  'Tue' => 'Tuesday',
  'Wed' => 'Wednesday',
  'Thu' => 'Thursday',
  'Fri' => 'Friday',
  'Sat' => 'Saturday',
  'Sun' => 'Sunday'
}
ENGLISH_TO_GERMAN_WEEKDAYS =
#

Studium::ENGLISH_TO_GERMAN_WEEKDAYS

#
{
  'Monday'    => 'Montag',
  'Tuesday'   => 'Dienstag',
  'Wednesday' => 'Mittwoch',
  'Thursday'  => 'Donnerstag',
  'Friday'    => 'Freitag',
  'Saturday'  => 'Samstag',
  'Sunday'    => 'Sonntag'
}
GERMAN_TO_ENGLISH_WEEKDAYS =
#

GERMAN_TO_ENGLISH_WEEKDAYS

#
ENGLISH_TO_GERMAN_WEEKDAYS.invert
ARRAY_ENGLISH_WEEKDAYS =
#

ARRAY_ENGLISH_WEEKDAYS

#
ENGLISH_TO_GERMAN_WEEKDAYS.keys
BOKU_N_ECTS_REGEX =
#

BOKU_N_ECTS_REGEX

This regex can be used to determine the amount of ECTS points from BOKU-lectures. This is presently used in at the least two different rb.files.

Also see:

https://rubular.com/r/3hWI5p2f6G
#
/<span class="bold">(\d{1},?\d{0,1})<\/span> ECTS-Credits<\/td><\/tr>/
GERMAN_WEEK_NAMES =
#

GERMAN_WEEK_NAMES

#
{
  'Mo' => 'Montag',
  'Di' => 'Dienstag',
  'Mi' => 'Mittwoch',
  'Do' => 'Donnerstag',
  'Fr' => 'Freitag',
  'Sa' => 'Samstag',
  'So' => 'Sonntag'
}
ARRAY_AVAILABLE_WEEKDAYS =
#

ARRAY_AVAILABLE_WEEKDAYS

This will be an Array that has [‘montag’, ‘dienstag’ etc..]

#
GERMAN_WEEK_NAMES.values.map(&:downcase)
REVERSE_GERMAN_WEEK_NAMES =
#

REVERSE_GERMAN_WEEK_NAMES

#
GERMAN_WEEK_NAMES.invert
MONTH_NUMBER_TO_MONTH_NAME =
#

Studium::MONTH_NUMBER_TO_MONTH_NAME

This constant maps from the month-number, such as 3, to the corresponding name of that month, such as ‘March’.

#
{
   1 => 'January',
   2 => 'February',
   3 => 'March',
   4 => 'April',
   5 => 'May',
   6 => 'June',
   7 => 'July',
   8 => 'August',
   9 => 'September',
  10 => 'October',
  11 => 'November',
  12 => 'December'
}
UNICODE_HORIZONTAL_BAR =
#

UNICODE_HORIZONTAL_BAR

#
''
ARRAY_ALL_KNOWN_DAYS_OF_THE_WEEK =
#

ARRAY_ALL_KNOWN_DAYS_OF_THE_WEEK

#
[
  :mo,
  :di,
  :mi,
  :do,
  :fr,
  :sa,
  :so
]
MONTH_NAME_TO_MONTH_NUMBER =
#

MONTH_NAME_TO_MONTH_NUMBER

And reverse the above Array as well.

#
MONTH_NUMBER_TO_MONTH_NAME.invert
RUBY_SRC_STUDIUM =
#

RUBY_SRC_STUDIUM

This constant may point to e. g.:

/home/x/programming/RUBY/src/studium/
#
"#{RUBY_SRC_DIR}studium/"
RUBY_SRC_STUDIUM_LIB =
#

RUBY_SRC_STUDIUM_LIB

As above, but with a trailin ‘lib/’ part.

#
"#{RUBY_SRC_STUDIUM}lib/"
ROEBE_STUDIUM_DIR =

else hardcode it.

"#{USERS_X}studium/"
STUDIUM =

STUD = ROEBE_STUDIUM_DIR # === STUD # Disabled as of July 2022.

ROEBE_STUDIUM_DIR
LOCAL_STUDIUM_DIR =
#

LOCAL_STUDIUM_DIR

#
ROEBE_STUDIUM_DIR
REMOTE_PERSONAL_WEBSITE_URL =
#

REMOTE_PERSONAL_WEBSITE_URL

My remote personal website.

#
'http://shevy.bplaced.net/'
RUBY_STUDIUM_HOME_DIR =

for .cgi like environments, we need to hardcode the directory.

"#{RUBY_SRC_DIR}studium/lib/studium/"
BOKU_WIEN_DIR =
#

BOKU_WIEN_DIR

This is just for my personal home directory setup.

#
"#{ROEBE_STUDIUM_DIR}BOKU_WIEN/"
ROEBE_BOKU_WIEN =

ROEBE_BOKU_WIEN

BOKU_WIEN_DIR
ROEBE_BOKU_WIEN_YAML =
#

Studium::ROEBE_BOKU_WIEN_YAML

#
"#{ROEBE_BOKU_WIEN}yaml/"
TU_WIEN_DIR =
#

TU_WIEN_DIR

#
"#{ROEBE_STUDIUM_DIR}TU_WIEN/"
ROEBE_TU_WIEN_YAML =
#

Studium::ROEBE_TU_WIEN_YAML

#
"#{TU_WIEN_DIR}yaml/"
EXAMS_RESULT =
#

EXAMS_RESULT

This is a constant solely for my home-setup. Other users will not need this constant.

#
"#{ROEBE_STUDIUM_DIR}EXAMS_RESULT/"
ROEBE_FILE_RENAME_KONSOLE_TAB =
#

ROEBE_FILE_RENAME_KONSOLE_TAB

Hardcoded path since this is only used on my home system.

#
"#{RUBY_STUDIUM_HOME_DIR}yaml/rename_konsole_tab.yml"
FILE_BROWSER =
#

FILE_BROWSER

#
"#{USERS_X}programming/ruby/src/roebe/lib/roebe/yaml/browser.yml"
ROEBE_UNI_WIEN =
#

ROEBE_UNI_WIEN

#
"#{ROEBE_STUDIUM_DIR}UNI_WIEN/"
UNI_WIEN =

UNI_WIEN

ROEBE_UNI_WIEN
ROEBE_UNI_WIEN_YAML =
#

Studium::ROEBE_UNI_WIEN_YAML

#
"#{ROEBE_UNI_WIEN}yaml/"
FILE_TODO_BOKU =
#

Studium:.FILE_TODO_BOKU

#
"#{ROEBE_STUDIUM_DIR}INDIVIDUELLE_STUDIEN/TODO_BOKU.md"
SCI =

Hence we hardcode a safe default.

"#{USERS_X}data/science/"
MY_EXAM_TOPICS =
#

MY_EXAM_TOPICS

Just for my exam topics - a hardcoded constant to the directory there.

#
"#{RUBY_SRC_STUDIUM_LIB}studium/exam_topics/"
IMG_DIRECTORY =
#

IMG_DIRECTORY

#
'/home/x/data/images/'
ARRAY_REGISTERED_CURRICULA =
#

Studium::ARRAY_REGISTERED_CURRICULA

All curricula should be registered here, as an Array of Symbols.

Only list these curricula ONCE.

This allows us to make use of that information, for example when displaying statistics about these curricula.

Note that the following constant also includes aggregate curricula, such as bachelor_master_vektoren. If you need a method that returns only the non-standalone curricula, you can use the method defined after the following constant.

#
Dir[
  ::Studium.project_yaml_directory?+
  'curricula/**/**.yml'
].reject {|line|
  line.include? 'outdated/'
}.map {|line|
  File.basename(line.to_s).
  delete_suffix('.yml').to_sym
}
FILE_BACHELOR_TECHNISCHE_CHEMIE_CURRICULUM =
#

FILE_BACHELOR_TECHNISCHE_CHEMIE_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_technische_chemie_033290.yml"
FILE_BACHELOR_VERFAHRENSTECHNIK_CURRICULUM =
#

FILE_BACHELOR_VERFAHRENSTECHNIK_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_verfahrenstechnik_033273.yml"
FILE_BACHELOR_MOLEKULARBIOLOGIE_GRAZ_CURRICULUM =
#

FILE_BACHELOR_MOLEKULARBIOLOGIE_GRAZ_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_molekularbiologie_033665.yml"
FILE_BACHELOR_MASTER_BOKU_MOLEKULARE_BIOTECHNOLOGIE_UND_BIOINFORMATIK =
#

FILE_BACHELOR_MASTER_BOKU_MOLEKULARE_BIOTECHNOLOGIE_UND_BIOINFORMATIK

This entry point is for an individual curriculum.

#
"#{ROEBE_BOKU_WIEN_YAML}"\
"bachelor/bachelor_master_molekulare_biotechnologie_und_bioinformatik.yml"
FILE_BACHELOR_BOKU_INDIVIDUELLES_CURRICULUM_BIOINFORMATIK_UND_BIOANALYTIK =
#

FILE_BACHELOR_BOKU_INDIVIDUELLES_CURRICULUM_BIOINFORMATIK_UND_BIOANALYTIK

#
"#{ROEBE_BOKU_WIEN_YAML}"\
"bachelor/bachelor_individuelles_curriculum_bio_informatik_und_molekulare_biotechnologie_mit_den_schwerpunkten_immunobiotechnologe_und_agrarbiotechnologie.yml"
FILE_MASTER_BOKU_INDIVIDUELLES_CURRICULUM_BIOINFORMATIK_UND_BIOANALYTIK =
#

FILE_MASTER_BOKU_INDIVIDUELLES_CURRICULUM_BIOINFORMATIK_UND_BIOANALYTIK

#
"#{ROEBE_BOKU_WIEN_YAML}individual/"\
"master_individuelles_curriculum_bio_informatik_und_molekulare_biotechnologie_mit_den_schwerpunkten_immunobiotechnologe_und_agrarbiotechnologie.yml"
FILE_BACHELOR_MASTER_TU_WIEN_INDIVIDUELLES_STUDIUM =
#

FILE_BACHELOR_MASTER_TU_WIEN_INDIVIDUELLES_STUDIUM

#
"#{ROEBE_TU_WIEN_YAML}"\
"bachelor/bachelor_master_individuelles_studium_noch_ohne_namen_an_der_TU_Wien.yml"
FILE_BACHELOR_MOLEKULARE_BIOLOGIE =
#

FILE_BACHELOR_MOLEKULARE_BIOLOGIE

This is the bachelor-curriculum part for “molekulare biologie” in Vienna.

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_biologie_molekulare_biologie_033630.yml"
UNIWIEN_BACHELOR_MOLEKULARE_BIOLOGIE =
FILE_BACHELOR_MOLEKULARE_BIOLOGIE
FILE_MASTER_MOLEKULARE_BIOLOGIE =
#

FILE_MASTER_MOLEKULARE_BIOLOGIE

The curriculum number for the master molecular biology is 066834.

#
"#{project_curricula_yaml_directory?}"\
"master/master_molekulare_biologie_066834.yml"
UNIWIEN_MASTER_MOLEKULARE_BIOLOGIE =

UNIWIEN_MASTER_MOLEKULARE_BIOLOGIE

FILE_MASTER_MOLEKULARE_BIOLOGIE
FILE_MASTER_MOLBIO =

FILE_MASTER_MOLBIO

FILE_MASTER_MOLEKULARE_BIOLOGIE
FILE_MASTER_IMMUNBIOLOGIE =
#

FILE_MASTER_IMMUNBIOLOGIE

This is the main immunobiologie master, in vienna. The curriculum number is 066830.

#
"#{project_curricula_yaml_directory?}"\
"master/master_biologie_molekulare_mikrobiologie_mikrobielle_oekologie_und_immunbiologie_066830.yml"
UNIWIEN_MASTER_IMMUNBIOLOGIE =

UNIWIEN_MASTER_IMMUNBIOLOGIE

FILE_MASTER_IMMUNBIOLOGIE
FILE_MASTER_IMMUNO =

FILE_MASTER_IMMUNO

FILE_MASTER_IMMUNBIOLOGIE
FILE_MASTER_IMMUNOBIOLOGY_CURRICULUM =

FILE_MASTER_IMMUNOBIOLOGY_CURRICULUM

FILE_MASTER_IMMUNBIOLOGIE
FILE_BACHELOR_LMBT =
#

FILE_BACHELOR_LMBT

This is the curriculum for the BOKU “Lebensmittel- und Biotechnologie”.

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_lmbt_033217.yml"
BOKU_BACHELOR_LMBT_CURRICULUM =

BOKU_BACHELOR_LMBT_CURRICULUM

FILE_BACHELOR_LMBT
FILE_BACHELOR_BOKU_LMBT =

FILE_BACHELOR_BOKU_LMBT

FILE_BACHELOR_LMBT
FILE_BOKU_BACHELOR_LMBT_CURRICULUM =

FILE_BOKU_BACHELOR_LMBT_CURRICULUM

FILE_BACHELOR_LMBT
FILE_BACHELOR_BOTANIK =
#

FILE_BACHELOR_BOTANIK

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_biologie_botanik_033630.yml"
UNIWIEN_BACHELOR_BOTANIK_BIOLOGIE =

UNIWIEN_BACHELOR_BOTANIK_BIOLOGIE

FILE_BACHELOR_BOTANIK
FILE_BACHELOR_BOTANIK_CURRICULUM =

FILE_BACHELOR_BOTANIK_CURRICULUM

FILE_BACHELOR_BOTANIK
FILE_UNIWIEN_MASTER_BIOINFORMATIK_CURRICULUM =
#

FILE_UNIWIEN_MASTER_BIOINFORMATIK_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"master/master_bioinformatik_066875.yml"
FILE_BACHELOR_MEDIZINISCHE_INFORMATIK_CURRICULUM =
#

FILE_BACHELOR_MEDIZINISCHE_INFORMATIK_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_medizinische_informatik_033533.yml"
FILE_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN =
#

FILE_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_nutrition_science_033638.yml"
FILE_BACHELOR_ERN =

FILE_BACHELOR_ERN

FILE_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN
UNI_WIEN_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN_CURRICULUM =

UNI_WIEN_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN_CURRICULUM

FILE_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN
FILE_UNI_WIEN_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN_CURRICULUM =

FILE_UNI_WIEN_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN_CURRICULUM

FILE_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN
FILE_DEFAULT_DELAY =
#

FILE_DEFAULT_DELAY

The following constant, and its aliases defined below, determines where to store the default delay for exam-questions to be used.

This constant depends on the constant PROJECT_YAML_DIRECTORY, which is defined in the following file:

studium/project/project_yaml_directory.rb
#
"#{project_yaml_directory?}default_delay.yml"
FILE_DELAY =

FILE_DELAY

FILE_DEFAULT_DELAY
DELAY_CONSTANT_STORED_HERE =

DELAY_CONSTANT_STORED_HERE

FILE_DEFAULT_DELAY
MY_DATA =
"#{USERS_X}data/"
FILE_EDITOR =
#

FILE_EDITOR

#
"#{yaml_directory?}editor.yml"
FILE_LAST_RECORDED_START_TIME =
"#{log_dir?}last_recorded_start_time.md"
FILE_RENAME_KONSOLE_TAB =
#

FILE_RENAME_KONSOLE_TAB

This constant specifies the path to the file that controls as to whether we will rename the KDE konsole tab or whether we will not.

#
"#{project_yaml_directory?}rename_konsole_tab.yml"
FILE_N_TOTAL_QUESTIONS =
#

FILE_N_TOTAL_QUESTIONS

This constant may expand into e. g.

"/Programs/Ruby/2.3.1/lib/ruby/site_ruby/2.3.0/studium/yaml/n_total_questions.yml"
#
"#{yaml_directory?}n_total_questions.yml"
USE_THIS_EDITOR =
'bluefish'
FILE_BACKLOG_OF_EXAMS =
#

FILE_BACKLOG_OF_EXAMS

#
"#{yaml_directory?}backlog_of_exams.yml"
FILE_STATISTICS =
#

FILE_STATISTICS

This constant will point to e. g. the file “studium/yaml/statistics.yml”.

#
"#{yaml_directory?}statistics/statistics.yml"
FILE_META_TOPICS_STATISTICS =
#

FILE_META_TOPICS_STATISTICS

This file will keep track of the statistics for the meta-topics, such as meta-genetics or meta-biochemistry. We will only store the maximum values each, that is, how many questions were answered.

The format for each entry in the .yml file will be:

:meta_biochemistry = { n_questions: 4314, n_answers: 1345 }
#
"#{yaml_directory?}meta_topics_statistics.yml"
FILE_GERMAN_TO_ENGLISH_MONTH_NAMES =
#

FILE_GERMAN_TO_ENGLISH_MONTH_NAMES

#
"#{project_yaml_directory?}german/german_to_english_month_names.yml"
MONTH_NAME_ALIASES_GERMAN_TO_ENGLISH =
#

MONTH_NAME_ALIASES_GERMAN_TO_ENGLISH

#
YAML.load_file(
  FILE_GERMAN_TO_ENGLISH_MONTH_NAMES
)
DEFAULT_BROWSER =

else hardcoded it to palemoon.

'palemoon'
FILE_BACHELOR_ECOLOGY =
#

FILE_BACHELOR_ECOLOGY (ecology tag)

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_biologie_ecology_033630.yml"
FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE =
#

FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE

Has the number 066877.

#
"#{project_curricula_yaml_directory?}"\
"master/master_genetik_und_entwicklungsbiologie_066877.yml"
FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE_CURRICULUM =
FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE
FILE_MASTER_LMBT =
#

FILE_MASTER_LMBT

#
"#{project_curricula_yaml_directory?}"\
"master/master_lmbt_066418.yml"
BOKU_MASTER_LMBT_CURRICULUM =

BOKU_MASTER_LMBT_CURRICULUM

FILE_MASTER_LMBT
FILE_BOKU_MASTER_LMBT =

FILE_BOKU_MASTER_LMBT

FILE_MASTER_LMBT
FILE_MASTER_LMBT_CURRICULUM =

FILE_MASTER_LMBT_CURRICULUM

FILE_MASTER_LMBT
FILE_BACHELOR_BOKU_UBRM =
#

FILE_BACHELOR_BOKU_UBRM

This is for the UBRM Bachelorcurriculum at the BOKU.

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_ubrm_033227.yml"
FILE_BACHELOR_UBRM =

FILE_BACHELOR_UBRM

FILE_BACHELOR_BOKU_UBRM
FILE_BACHELOR_UBRM_CURRICULUM =

FILE_BACHELOR_UBRM_CURRICULUM

FILE_BACHELOR_BOKU_UBRM
FILE_BOKU_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM =
#

BOKU_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM

This is the AW curriculum at the BOKU.

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_agrarwissenschaften_033255.yml"
BOKU_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM =

BOKU_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM

FILE_BOKU_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM
BOKU_BACHELOR_AW_CURRICULUM =

BOKU_BACHELOR_AW_CURRICULUM

FILE_BOKU_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM
FILE_BACHELOR_AGRARWISSENSCHAFTEN =

FILE_BACHELOR_AGRARWISSENSCHAFTEN

FILE_BOKU_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM
FILE_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM =

FILE_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM

FILE_BOKU_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM
FILE_BACHELOR_INFORMATIK_CURRICULUM =
#

FILE_BACHELOR_INFORMATIK_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_informatik_033521.yml"
FILE_MASTER_BIOLOGISCHE_CHEMIE_CURRICULUM =
#

FILE_MASTER_BIOLOGISCHE_CHEMIE_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"master/master_biologische_chemie_066863.yml"
FILE_MASTER_PHARMAZIE =
#

FILE_MASTER_PHARMAZIE

This constant is for the master-curriculum pharmacy, at the University of Vienna.

#
"#{project_curricula_yaml_directory?}"\
"master/master_pharmazie_066605.yml"
UNIWIEN_MASTER_PHARMAZIE =

UNIWIEN_MASTER_PHARMAZIE

FILE_MASTER_PHARMAZIE
FILE_MASTER_PHARMAZIE_CURRICULUM =

FILE_MASTER_PHARMAZIE_CURRICULUM

FILE_MASTER_PHARMAZIE
FILE_BACHELOR_CHEMIE_CURRICULUM =
#

FILE_BACHELOR_CHEMIE_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_chemie_033662.yml"
UNI_WIEN_BACHELOR_CHEMIE_CURRICULUM =

UNI_WIEN_BACHELOR_CHEMIE_CURRICULUM

FILE_BACHELOR_CHEMIE_CURRICULUM
FILE_BACHELOR_UNI_WIEN_CHEMISTRY =

FILE_BACHELOR_UNI_WIEN_CHEMISTRY

FILE_BACHELOR_CHEMIE_CURRICULUM
FILE_UNI_WIEN_BACHELOR_CHEMIE_CURRICULUM =

FILE_UNI_WIEN_BACHELOR_CHEMIE_CURRICULUM

FILE_BACHELOR_CHEMIE_CURRICULUM
FILE_BACHELOR_PHARMAZIE =
#

FILE_BACHELOR_PHARMAZIE

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_pharmazie_033305.yml"
UNIWIEN_BACHELOR_PHARMAZIE =

UNIWIEN_BACHELOR_PHARMAZIE

FILE_BACHELOR_PHARMAZIE
FILE_BACHELOR_PHARMAZIE_CURRICULUM =

FILE_BACHELOR_PHARMAZIE_CURRICULUM

FILE_BACHELOR_PHARMAZIE
FILE_BACHELOR_GENETIK =
#

FILE_BACHELOR_GENETIK

This constant has a few “aliases”.

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_biologie_mikrobiologie_und_genetik_033630.yml"
UNIWIEN_BACHELOR_MIKROBIOLOGIE_UND_GENETIK_BIOLOGIE =
FILE_BACHELOR_GENETIK
FILE_BACHELOR_BIOLOGIE_MIKROBIOLOGIE_UND_GENETIK =
FILE_BACHELOR_GENETIK
FILE_TUWIEN_MASTER_BIOTECHNOLOGY_CURRICULUM =
#

FILE_TUWIEN_MASTER_BIOTECHNOLOGY_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"master/master_technische_chemie_066490.yml"
TUWIEN_MASTER_BIOTECHNOLOGY =
FILE_TUWIEN_MASTER_BIOTECHNOLOGY_CURRICULUM
FILE_MASTER_TUVIENNA_BIOTECHNOLOGY =
FILE_TUWIEN_MASTER_BIOTECHNOLOGY_CURRICULUM
FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE =
#

FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_biologie_basisblock_033630.yml"
UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE =
FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE
FILE_BACHELOR_BIOLOGIE_BASISBLOCK =
FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE
FILE_BACHELOR_VECTOR_BASED_STRATEGIES =
#

FILE_BACHELOR_VECTOR_BASED_STRATEGIES (vector tag, vektor tag)

This is the bachelor-curriculum uniting Vektoren, Biotechnology and Bioinformatics. It is the main entry point.

#
"#{project_curricula_yaml_directory?}individual/"\
"bachelor_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology"\
".yml"
BACHELOR_MOLEKULARSIMULATORISCHE_VEKTOREN =

BACHELOR_MOLEKULARSIMULATORISCHE_VEKTOREN

FILE_BACHELOR_VECTOR_BASED_STRATEGIES
FILE_BACHELOR_VECTOR =

FILE_BACHELOR_VECTOR

FILE_BACHELOR_VECTOR_BASED_STRATEGIES
FILE_BACHELOR_VEKTORSYSTEME =

FILE_BACHELOR_VEKTORSYSTEME

FILE_BACHELOR_VECTOR_BASED_STRATEGIES
FILE_BACHELOR_MOLEKULARSIMULATORISCHE_VEKTOREN =

FILE_BACHELOR_MOLEKULARSIMULATORISCHE_VEKTOREN

FILE_BACHELOR_VECTOR_BASED_STRATEGIES
FILE_BACHELOR =

FILE_BACHELOR

FILE_BACHELOR_VECTOR_BASED_STRATEGIES
FILE_INDIVIDUAL_BACHELOR_CURRICULUM =

FILE_INDIVIDUAL_BACHELOR_CURRICULUM

FILE_BACHELOR_VECTOR_BASED_STRATEGIES
FILE_BACHELOR_VEKTOR_CURRICULUM =

FILE_BACHELOR_VEKTOR_CURRICULUM

FILE_BACHELOR_VECTOR_BASED_STRATEGIES
FILE_MASTER_VEKTORX =
#

FILE_MASTER_VEKTORX

This is for the individual master-curriculum, vektorx, at the University of Vienna.

#
"#{project_curricula_yaml_directory?}individual/"\
"master_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology"\
".yml"
FILE_MASTER_MOLEKULARSIMULATORISCHE_VEKTOREN =

FILE_MASTER_MOLEKULARSIMULATORISCHE_VEKTOREN

FILE_MASTER_VEKTORX
MASTER_MOLEKULARSIMULATORISCHE_VEKTOREN =

MASTER_MOLEKULARSIMULATORISCHE_VEKTOREN

FILE_MASTER_VEKTORX
FILE_MASTER_VECTOR =

FILE_MASTER_VECTOR

FILE_MASTER_VEKTORX
FILE_MASTER_VEKTORSYSTEME =

FILE_MASTER_VEKTORSYSTEME

FILE_MASTER_VEKTORX
FILE_BACHELOR_BOKU_KTWW_CURRICULUM =
#

FILE_BACHELOR_BOKU_KTWW_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_ktww_033231.yml"
FILE_BACHELOR_DUMMY_CURRICULUM =
#

FILE_BACHELOR_DUMMY_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_dummy_curriculum.yml"
FILE_MASTER_DUMMY_CURRICULUM =
#

FILE_MASTER_DUMMY_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"master_dummy_curriculum.yml"
FILE_MASTER_BIOINFORMATICS_AND_MOLECULAR_BIOTECHNOLOGY =
#

FILE_MASTER_BIOINFORMATICS_AND_MOLECULAR_BIOTECHNOLOGY

#
"#{project_curricula_yaml_directory?}individual/"\
"master_bioinformatics_and_molecular_biotechnology_including_aspects_from_molecular_medicine.yml"
FILE_BACHELOR_TUWIEN_WIRTSCHAFTSINFORMATIK_CURRICULUM =
#

FILE_BACHELOR_TUWIEN_WIRTSCHAFTSINFORMATIK_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_wirtschaftsinformatik_033526.yml"
FILE_BACHELOR_INFORMATIK_UND_BIOTECHNOLOGIE_UNTER_BERÜCKSICHTIGUNG_IMMUNANALYTISCH_MOLEKULARMEDIZINISCHER_ASPEKTE =
#

FILE_BACHELOR_INFORMATIK_UND_BIOTECHNOLOGIE_UNTER_BERÜCKSICHTIGUNG_IMMUNANALYTISCH_MOLEKULARMEDIZINISCHER_ASPEKTE

#
"#{project_curricula_yaml_directory?}individual/"\
"bachelor_informatik_und_biotechnologie_unter_berücksichtigung_immunanalytisch_molekularmedizinischer_aspekte.yml"
FILE_BACHELOR_INFORMATIK_UND_MOLEKULARE_BIOLOGIE =
#

FILE_BACHELOR_INFORMATIK_UND_MOLEKULARE_BIOLOGIE

This is for the (individual) curriculum at the TU Vienna.

This constant is mildly deprecated since as of December 2022. Use the method instead.

#
"#{project_curricula_yaml_directory?}individual/"\
"bachelor_informatik_und_molekulare_biologie.yml"
FILE_BACHELOR_TUWIEN_ELEKTROTECHNIK_UND_INFORMATIONSTECHNIK_CURRICULUM =
#

FILE_BACHELOR_TUWIEN_ELEKTROTECHNIK_UND_INFORMATIONSTECHNIK_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_elektrotechnik_und_informationstechnik_033235.yml"
FILE_BACHELOR_FORSTWIRTSCHAFT_CURRICULUM =
#

FILE_BACHELOR_FORSTWIRTSCHAFT_CURRICULUM

#
"#{project_curricula_yaml_directory?}"\
"bachelor/bachelor_forstwirtschaft_033225.yml"
ARRAY_REGISTERED_CURRICULA_FILES =
#

ARRAY_REGISTERED_CURRICULA_FILES

This should be determined automatically.

#
[
  FILE_BACHELOR_MASTER_BOKU_MOLEKULARE_BIOTECHNOLOGIE_UND_BIOINFORMATIK,
  FILE_BACHELOR_BOKU_INDIVIDUELLES_CURRICULUM_BIOINFORMATIK_UND_BIOANALYTIK,
  FILE_MASTER_BOKU_INDIVIDUELLES_CURRICULUM_BIOINFORMATIK_UND_BIOANALYTIK,
  FILE_BACHELOR_MASTER_TU_WIEN_INDIVIDUELLES_STUDIUM,
  FILE_BACHELOR_MOLEKULARE_BIOLOGIE,
  FILE_MASTER_MOLEKULARE_BIOLOGIE,
  FILE_MASTER_IMMUNBIOLOGIE,
  FILE_BACHELOR_LMBT,
  FILE_BACHELOR_BOTANIK,
  FILE_UNIWIEN_MASTER_BIOINFORMATIK_CURRICULUM,
  FILE_BACHELOR_MEDIZINISCHE_INFORMATIK_CURRICULUM,
  FILE_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN,
  FILE_BACHELOR_ECOLOGY,
  FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE,
  FILE_MASTER_LMBT,
  FILE_BACHELOR_BOKU_UBRM,
  FILE_BOKU_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM,
  FILE_BACHELOR_INFORMATIK_CURRICULUM,
  FILE_MASTER_BIOLOGISCHE_CHEMIE_CURRICULUM,
  FILE_MASTER_PHARMAZIE,
  FILE_BACHELOR_CHEMIE_CURRICULUM,
  FILE_BACHELOR_PHARMAZIE,
  FILE_BACHELOR_GENETIK,
  FILE_TUWIEN_MASTER_BIOTECHNOLOGY_CURRICULUM,
  FILE_BACHELOR_TECHNISCHE_CHEMIE_CURRICULUM,
  FILE_BACHELOR_VERFAHRENSTECHNIK_CURRICULUM,
  FILE_BACHELOR_MOLEKULARBIOLOGIE_GRAZ_CURRICULUM,
  FILE_BACHELOR_VECTOR_BASED_STRATEGIES,
  FILE_MASTER_VEKTORX,
  FILE_BACHELOR_BOKU_KTWW_CURRICULUM,
  FILE_MASTER_BIOINFORMATICS_AND_MOLECULAR_BIOTECHNOLOGY,
  FILE_BACHELOR_TUWIEN_WIRTSCHAFTSINFORMATIK_CURRICULUM,
  FILE_BACHELOR_INFORMATIK_UND_BIOTECHNOLOGIE_UNTER_BERÜCKSICHTIGUNG_IMMUNANALYTISCH_MOLEKULARMEDIZINISCHER_ASPEKTE,
  FILE_BACHELOR_INFORMATIK_UND_MOLEKULARE_BIOLOGIE,
  FILE_BACHELOR_TUWIEN_ELEKTROTECHNIK_UND_INFORMATIONSTECHNIK_CURRICULUM,
  FILE_BACHELOR_FORSTWIRTSCHAFT_CURRICULUM
]
FILE_EXAMS =
#

FILE_EXAMS

The path to my exams-file. You could in principle modify this if you want to use your own exams file.

On my home system, this constant will point at:

/home/x/STUDIUM/YAML/exams.yml
#
"#{Studium.yaml_dir?}exams.yml"
ALL_EXAMS_FILE =

ALL_EXAMS_FILE

FILE_EXAMS
BACHELOR_IMAGE =
#

Studium::BACHELOR_IMAGE

#
img(
  "#{IMG_DIRECTORY}studium/BACHELOR.png",
  css_style: 'margin-left:6px'
)
MASTER_IMAGE =
#

Studium::MASTER_IMAGE

#
img(
  "#{IMG_DIRECTORY}studium/MASTER.png",
  css_style: 'margin-left:6px'
)
MEDUNI_LOGO_IMAGE =
#

Studium::MEDUNI_LOGO_IMAGE.png

Is presently a default of 30px height size.

#
return_meduni_logo_image
VETMED_LOGO_IMAGE =
#

VETMED_LOGO_IMAGE.png

Is presently a default of 30px height size.

#
return_vetmed_logo_image
PRACTICAL_COURSE_IMAGE =
#

PRACTICAL_COURSE_IMAGE

#
img(
  "#{IMG_DIRECTORY}studium/PRACTICAL_COURSE.png",
  css_style: 'margin-left:6px'
)
UNIVERSITY_OF_GRAZ_LOGO_IMAGE =
#

UNIVERSITY_OF_GRAZ_LOGO_IMAGE

#
img(
  "#{IMG_DIRECTORY}studium/UNIVERSITY_OF_GRAZ_LOGO_IMAGE.png",
  css_style: @use_this_css_style_for_the_logo_images
)
STEOP_PICTURE =
#

STEOP_PICTURE

#
img(
  "#{IMG_DIRECTORY}universities/STEOP.png",
  css_style: @use_this_css_style_for_the_logo_images
)
BOKU_VIENNA_LOGO_IMAGE =
#

Studium::BOKU_VIENNA_LOGO_IMAGE

Is presently a default of 30px height size.

#
return_boku_logo_image
UNIVERSITY_OF_VIENNA_LOGO_IMAGE =
#

UNIVERSITY_OF_VIENNA_LOGO_IMAGE

Is presently a default of 30px height size.

#
return_university_of_vienna_logo_image
TU_VIENNA_LOGO_IMAGE =
#

TU_VIENNA_LOGO_IMAGE

Is presently a default of 30px height size.

#
return_tu_vienna_logo_image
REGEX_FOR_PWD_STUD =
#

REGEX_FOR_PWD_STUD

This is the regex that will extract the proper pwdstud entry from the file cd_aliases.yml.

#
/^pwdstud\d{1}.+$/
REGEX_FOR_BOKU_EXAMS =
#

REGEX_FOR_BOKU_EXAMS

#
/pStpSpNr=(\d+)/
REGEX_FOR_OPENING_AND_CLOSING_COLOUR_TAGS =
#

REGEX_FOR_OPENING_AND_CLOSING_COLOUR_TAGS

See: rubular.com/r/s8ur8ca1XjLXlg

#
/<[\/()a-zA-Z]+?>/
REGEX_FOR_ORT =
#

REGEX_FOR_ORT

This is for the “Ort:” entry of courses.

#
/" # Ort: /
TU_WIEN_N_ECTS_REGEX =
#

Studium::TU_WIEN_N_ECTS_REGEX

This regex can be used to determine the amount of ECTS points from TU Wien-lectures.

Also see:

https://rubular.com/r/FVq4plPrTR
#
/<li>ECTS: (\d+\.\d+)\s+<\/li>/
REGEX_TO_OBTAIN_THE_FULL_LINE_FROM_FILE_EXAMS =
#

REGEX_TO_OBTAIN_THE_FULL_LINE_FROM_FILE_EXAMS

#
/^(# === \(\d{1,2}\).+)/
FILE_CD_ALIASES =
#

FILE_CD_ALIASES

This is mostly just relevant for my own system, where my cd-aliases are kept. You could also use the method defined below.

#
"#{RUBY_SRC_DIR}rcfiles/lib/rcfiles/yaml/cd_aliases.yml"
ARRAY_ALL_AVAILABLE_CURRICULA =
#

Studium::ARRAY_ALL_AVAILABLE_CURRICULA

The following Array has to be populated manually for now.

In theory we could perhaps move this into its own file and its own sub-namespace, but for now, let’s do the manual thing.

Since as of December 2022 we will use Dir[] to dynamically find all curricula there.

#
Dir[
  "#{Studium.project_yaml_dir?}curricula/**/**.yml"
].reject {|line| line.include? 'curricula/outdated/' }
ShowModulesOnTheCommandline =
#

Studium::ShowModulesOnTheCommandline

Add an “alias” next.

#
::Studium::Curricula::Modules::DisplayOnTheCommandline
N_TOPICS_REGISTERED =
#

Studium::N_TOPICS_REGISTERED

In the past I manually synced this constant to a (hardcoded) value.

This was tedious, though, because every time I would add a new entry I would also have to change this constant here manually, which is not only tedious but also error-prone. Thus, since as of 09.11.2019, this constant will be determined automatically.

As of 09.11.2019 there were 218 different exam topics registered as part of this project.

#
n_exam_topics_available?
Vorbesprechungen =
PreparatoryMeetings

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.actions(i = ARGV, extra_arguments = nil) ⇒ Object

#

Studium.actions

#


124
125
126
# File 'lib/studium/actions/actions.rb', line 124

def self.actions(i = ARGV, extra_arguments = nil)
  Studium::Actions.actions(i, extra_arguments)
end

.add_newlines_to_numbered_exam_question(i = '(1) abc (2) def (3) def') ⇒ Object

#

Studium.add_newlines_to_numbered_exam_question

This method will change a String such as “(1) abc (2) def (3) def” to “(1) abcn(2) defn(3) def”.

#


3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3241

def self.add_newlines_to_numbered_exam_question(
    i = '(1) abc (2) def (3) def'
  )
  if i.is_a? Array
    i = i.join(' ').strip
  end
  i = i.dup
  if i.include?('(2')
    # ===================================================================== #
    # Add newlines in this case.
    # ===================================================================== #
    regex_to_use =
      /(\(\d{1,1}\)\s+[A-Za-zäöüÄÖÜ" <>\/]+)/ # See: https://rubular.com/r/9kX7v5QCvYIas1
    i = i.scan(
      regex_to_use
    ).join("\n")
  end
  return i
end

.add_this_line_to_that_exam_topic(this_line, that_exam_topic, be_verbose = true) ⇒ Object

#

Studium.add_this_line_to_that_exam_topic

This method can be used to add a (new) line to a specific exam topic, such as “Foobar? Bla.” to be added onto the exam topic “genetics1”.

The second argument may be a Symbol, as shown in the following example:

Studium.add_this_line_to_that_exam_topic("- Foo? Bar.", :amg1)

The first argument will be ensured to begin with a ‘- ’.

#


136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 136

def self.add_this_line_to_that_exam_topic(
    this_line,      # This is the line that will be prepended.
    that_exam_topic,
    be_verbose = true
  )
  if this_line.is_a? Array
    this_line = this_line.first # Only use the first entry in this case.
  end
  this_line = this_line.dup.rstrip
  unless this_line.start_with?('- ')
    this_line.prepend('- ')
  end
  this_line << "\n" # Ensure a trailing newline.
  if that_exam_topic.is_a? Symbol
    # ===================================================================== #
    # Handle Symbols next:
    # ===================================================================== #
    that_exam_topic = Studium.find_corresponding_exam_topic(that_exam_topic)
  end
  if that_exam_topic.is_a?(String) and !that_exam_topic.include?('/')
    # ===================================================================== #
    # If we have no '/' then we will try to expand towards the full,
    # absolute path:
    # ===================================================================== #
    that_exam_topic = Studium.exam_topic_path_for(that_exam_topic)
  end
  if File.file?(that_exam_topic)
    dataset = default_read_file(that_exam_topic)
    # ===================================================================== #
    # Now we have the dataset in a String. We must obtain the index of the
    # first '- ', because we will prepend to it. We must use a regex,
    # because the leading header of an exam-topic file may contain
    # -, such as in "# === Genetik - alles über Genetik".
    # ===================================================================== #
    index   = dataset.index(/^- /)
    # ===================================================================== #
    # But always make a backup first:
    # ===================================================================== #
    target_directory = log_dir?+'backup_of_exam_questions/'
    mkdir(target_directory) unless File.directory?(target_directory)
    full_target = target_directory+File.basename(that_exam_topic)
    if be_verbose
      e "#{rev}A backup will be made, before doing any modifications. The"
      e "#{rev}file to be copied is: #{sfile(that_exam_topic)}#{rev}"
      e "#{rev}The new target location will be: #{sfile(full_target)}"
      copy_this_file(that_exam_topic, full_target)
    end
    # ===================================================================== #
    # Now we prepare the new dataset:
    # ===================================================================== #
    new_dataset = dataset.dup # Work on a copy.
    new_dataset[index,0] = this_line
    write_what_into(new_dataset, that_exam_topic)
    if is_on_roebe?
      e rev+'Now that it has been copied, we will also keep a backup'
      e rev+'for roebe-systems (aka my home setup).'
      target = '/home/x/programming/ruby/src/studium/lib/studium/exam_topics/'+
               File.basename(that_exam_topic)
      write_what_into(new_dataset, target)
    end
    e "#{rev}All done!"
  else
    no_file_exists_at(that_exam_topic)
  end
end

.afterburn(i = ARGV) ⇒ Object

#

Studium.afterburn

#


296
297
298
# File 'lib/studium/exams/afterburn/afterburn.rb', line 296

def self.afterburn(i = ARGV)
  Studium::Afterburn.new(i)
end

.all_passed_examsObject

#

Studium.all_passed_exams

This method will return an Array of all exams passed, in a time-sorted manner. The file called “lecture_information.rb” is queried for this functionality.

#


3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3561

def self.all_passed_exams
  dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
  dataset.reject! {|name_of_the_lecture, inner_hash|
    inner_hash[:already_solved_at].nil?
  }
  dataset.select! {|name_of_the_lecture, inner_hash|
    already_solved = inner_hash[:already_solved]
    already_solved = false if already_solved.nil?
    (already_solved == true)
  }
  # ========================================================================= #
  # Next time-sort them:
  # ========================================================================= #
  sorted_dataset = dataset.sort_by {|name_of_the_lecture, inner_hash|
    ::Time.parse(inner_hash[:already_solved_at])
  }.reverse
  sorted_dataset = Hash[sorted_dataset]
  return sorted_dataset.keys
end

.all_topics_as_short_nameObject

#

Studium.all_topics_as_short_name

This method will return an Array, containing more than 200 different exam topics, such as [“projektmanagement”, “cell_cultures” …] and so forth.

#


6197
6198
6199
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6197

def self.all_topics_as_short_name
  return ::Studium::Exams.all_topics_as_short_name
end

.already_solved_this_lecture?(name_of_the_lecture, optional_use_this_lva_number = nil) ⇒ Boolean

#

Studium.already_solved_this_lecture?

This method can be used to pass the name of a lecture into it and then determine whether this lecture was already “solved” (aka, completed).

It depends on the code stored in the file called already_solved_this_lva_number.rb

We need to use the same encoding.

The second argument to this method, which is optional, can be used to be even more specific - it must be the LVA ID number of the given lecture at hand.

Usage example:

Studium.already_passed? "Agrarmärkte"                     # => true
Studium.absolviert? "Gemüse- und Zierpflanzenbau"         # => true
Studium.absolviert? "Gemüse- und Zierpflanzenbau", 952119 # => true
Studium.absolviert? "Gemüse- und Zierpflanzenbau", 952120 # => false
Studium.absolviert? "Einführung in die Chemie", "771101"  # => false
#

Returns:

  • (Boolean)


6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6083

def self.already_solved_this_lecture?(
    name_of_the_lecture,
    optional_use_this_lva_number = nil
  )
  if optional_use_this_lva_number
    unless optional_use_this_lva_number.is_a? String
      optional_use_this_lva_number = optional_use_this_lva_number.to_s # First ensure that we have a string.
    end
    # ===================================================================== #
    # If the LVA Number was supplied, we will use it.
    # ===================================================================== #
    lva_number = optional_use_this_lva_number
  else
    # ===================================================================== #
    # Else we will obtain it anew.
    # ===================================================================== #
    lva_number = ::Studium.return_lva_number_of_this_lecture(name_of_the_lecture)
  end
  # ======================================================================= #
  # We need to be careful here - some lectures have the same lva_number
  # but another name. For example, "Modellsysteme in der Molekularbiologie"
  # has the LV-ID 300707, and the same LV-ID is given to "Molekulare
  # Infektionsbiologie".
  # This is the reason why we pass in both the lva_number and the
  # name of the lecture at hand.
  # ======================================================================= #
  return ::Studium.already_solved_this_lva_number?(
    lva_number,
    name_of_the_lecture
  )
end

.already_solved_this_lva_number?(input_lecture_id = '899581', optional_name_of_the_lecture = nil) ⇒ Boolean

#

Studium.already_solved_this_lva_number?

This method will return true or false, depending on whether the given lecture was already solved or whether it was not.

Note that you must input the LV-Number into this method.

The method is limited in that it presently assumes that all LVA numbers are unique, but this does not necessarily have to be the case.

The second argument is optional - if given then it should be the name of a lecture that you have passed.

Usage examples:

Studium.already_solved_this_lva_number? 300211    # => true
Studium.already_solved_this_lva_number? 300131    # => true
Studium.already_solved_this_lva_number? 877817    # => true
Studium.already_solved_this_lva_number? "166.210" # => true
Studium.already_solved_this_lva_number? "899581"  # => true
#

Returns:

  • (Boolean)


5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5624

def self.already_solved_this_lva_number?(
    input_lecture_id             = '899581',
    optional_name_of_the_lecture = nil
  )
  if input_lecture_id.is_a? Array # Convert Array into String.
    input_lecture_id = input_lecture_id.join(' ').strip
  end
  # input_lecture_id = ensure_main_encoding(input_lecture_id.to_s)
  # ======================================================================= #
  # Grab the dataset with our exams and have it already sanitized for us.
  # ======================================================================= #
  original_dataset = Studium.sanitized_dataset_from_file_passed_exams_per_month
  # ======================================================================= #
  # Obtain all aliases to that dataset next.
  # ======================================================================= #
  dataset_lecture_aliases = YAML.load_file(Studium.file_lecture_aliases)
  # ======================================================================= #
  # In the past, we used to chop off '.' tokens, but this is not allowed
  # anymore, as lectures at the TU Vienna may contain this '.' character.
  # .delete('.') # We don't need a '.' character. # ^^^ see explanation
  # ======================================================================= #
  # ======================================================================= #
  # Work on a copy of the dataset.
  # ======================================================================= #
  array_dataset = original_dataset.map {|line|
    splitted = line.split('|')
    # ===================================================================== #
    # Next, we have to obtain the entry that contains the ID of the
    # lecture. Note that the entry is hardcoded - if we ever change
    # the format, we must change the number here as well.
    # ===================================================================== #
    lecture_name          = splitted[9].strip
    lva_id_of_the_lecture = splitted[7].strip
    [ lva_id_of_the_lecture, lecture_name ] # We also need the lecture name.
  }
  hash_dataset = {}
  array_dataset.each {|lva_id_of_the_lecture, lecture_name|
    if hash_dataset.has_key? lva_id_of_the_lecture
      # In this case, simply append to the Array.
      hash_dataset[lva_id_of_the_lecture] << lecture_name
    else # else use a new Array.
      hash_dataset[lva_id_of_the_lecture] = [lecture_name]
    end
  }
  # ======================================================================= #
  # We must also add the alias-keys to the above dataset.
  # ======================================================================= #
  dataset_lecture_aliases.each_pair {|name_of_the_lecture, inner_hash_dataset|
    if inner_hash_dataset.has_key? :new_name
      name_of_the_lecture = inner_hash_dataset[:new_name]
    end
    old_lva_id = inner_hash_dataset[:old_lva_id] # <- Needs no check as it is a mandatory entry.
    if inner_hash_dataset.has_key? :new_lva_id
      new_lva_id = inner_hash_dataset[:new_lva_id]
    else
      new_lva_id = old_lva_id.dup
    end
    if hash_dataset.has_key? new_lva_id
      hash_dataset[new_lva_id] << name_of_the_lecture
    else
      hash_dataset[new_lva_id] = [name_of_the_lecture]
    end
  }
  all_keys = hash_dataset.keys # <- The keys containing the solved LVA-IDs.
  # ======================================================================= #
  # Next, get rid of all '.' tokens in the dataset. This is no longer
  # allowed as of February 2018.
  # ======================================================================= #
  # dataset.map! {|line| line.delete('.') }
  already_solved_this_lva_number = false # <- Our return value.
  # ======================================================================= #
  # If the user supplied the name of the lecture, we have to use it;
  # otherwise we can simply query on the LVA-id entry directly.
  # ======================================================================= #
  if optional_name_of_the_lecture
    # ===================================================================== #
    # Ok, we must check not only on the LVA-ID alone, but also on the
    # name of the lecture. Additionally, we must also check on the
    # alias-name, if one is registered.
    # ===================================================================== #
    # First, query whether the keys include the LVA number, via a selection.
    # ===================================================================== #
    if hash_dataset.has_key?(input_lecture_id)
      subarray = hash_dataset[input_lecture_id]
      already_solved_this_lva_number = (
        subarray.include? optional_name_of_the_lecture
      )
    # else
    end
  else
    # ===================================================================== #
    # This clause here will be simpler. Here, if the Array above has
    # the LVA-ID, and there is no optional name given, then we will
    # return true. There is no logical alternative to this - if we
    # passed the lecture, then we passed it. If a user wants more
    # control over that, then he has to also pass in the name of
    # the lecture.
    # ===================================================================== #
    if all_keys.include? input_lecture_id
      already_solved_this_lva_number = true
    end
  end
  return already_solved_this_lva_number
end

.append_what_into(what, into_where, file_mode_to_be_used = 'a+', permission_to_use = 0755) ⇒ Object

#

Studium.append_what_into

#


4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4387

def self.append_what_into(
    what,
    into_where,
    file_mode_to_be_used = 'a+',
    permission_to_use    = 0755
  )
  if what.is_a? Array
    what = what.join
  end
  File.open(into_where, file_mode_to_be_used, permission_to_use) {|file|
    file.write(what) # Write the new file here.
  }
end

.array_all_remaining_exam_questionsObject

#

Studium.array_all_remaining_exam_questions

This method will go over all available exam-questions, read in the exam dataset and then return an Array with all unanswered exam questions.

Usage example:

require 'studium'; x = Studium.array_all_remaining_exam_questions; x.size
#


2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2965

def self.array_all_remaining_exam_questions
  new_array = [] # This is the Array that will be returned in the end.
  array = ::Studium.all_topics_as_short_name
  array.each {|this_exam_topic|
    target_file = path_to_the_exam_directory?+this_exam_topic
    if File.exist? target_file
      dataset = File.readlines(target_file)
      dataset = ::Studium.filter_away_invalid_questions(dataset)
      dataset.reject! {|entry| entry.end_with? " []\n" }
      dataset.compact!
      # =================================================================== #
      # We still have to remove the answered questions here.
      # =================================================================== #
      new_array << dataset
      new_array.flatten!
    end
  }
  return new_array # And return it here.
end

.array_available_curriculaObject

#

Studium.array_available_curricula

#


5197
5198
5199
5200
5201
5202
5203
5204
5205
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5197

def self.array_available_curricula
  ARRAY_ALL_AVAILABLE_CURRICULA.flatten.map {|entry|
    result = File.basename(entry).sub(/\.yml$/,'')
    if result =~ /_\d{6}$/
      result[-7, 7] = ''
    end
    result
  }
end

.array_english_weekdays?Boolean

#

Studium.array_english_weekdays?

#

Returns:

  • (Boolean)


301
302
303
# File 'lib/studium/constants/constants.rb', line 301

def self.array_english_weekdays?
  ARRAY_ENGLISH_WEEKDAYS
end

.ask_question(i = ARGV, run_already = true, &block) ⇒ Object

#

Studium.ask_question

This provides an easier API to ask a question.

Usage example:

x = Studium.ask_question 'amg'
y = Studium.ask_question('amg2') { :do_not_run_yet }
#


2918
2919
2920
2921
2922
2923
2924
# File 'lib/studium/exams/question_answer/question_answer.rb', line 2918

def self.ask_question(
    i           = ARGV,
    run_already = true,
    &block
  )
  Studium::Exams::QuestionAnswer.new(i, run_already, &block)
end

.audio_stats?Boolean

#

Studium.audio_stats?

#

Returns:

  • (Boolean)


163
164
165
# File 'lib/studium/utility_scripts/audio_stats.rb', line 163

def self.audio_stats?
  Studium::AudioStats.new
end

.available_html_colours?Boolean

#

Studium.available_html_colours?

#

Returns:

  • (Boolean)


1555
1556
1557
# File 'lib/studium/colours/colours.rb', line 1555

def self.available_html_colours?
  ::Colours.available_html_colours?
end

.available_meta_themes?Boolean

#

Studium.available_meta_themes?

As of May 2023 this method was changed: it now reads the available meta-themes from a .yml file, rather than locally existing .md files.

Usage example for this method:

Studium.available_meta_themes? # => ["biochemistry", "bioinformatics", etc...
#

Returns:

  • (Boolean)


2704
2705
2706
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2704

def self.available_meta_themes?
  return YAML.load_file(file_grouped_themes).keys
end

.available_topics?Boolean

#

Studium.available_topics?

A simple delegator towards Studium::Exams.available_topics?

#

Returns:

  • (Boolean)


6179
6180
6181
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6179

def self.available_topics?
  ::Studium::Exams.available_topics?
end

.available_weekdaysObject

#

Studium.available_weekdays

#


738
739
740
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 738

def self.available_weekdays
  ARRAY_AVAILABLE_WEEKDAYS
end

.average_grade(use_csv_file_or_lecture_information = :determine_automatically, round_to_n_positions = nil) ⇒ Object

#

Studium.average_grade

This method will usually return a Float value, being the average grade of ALL successfully completed lectures.

The method has two modes:

(a) if the file .csv exists, it will be used
(b) otherwise, the method will simply make use of the file
   'lecture_information.yml'

The variant in (a) is mostly used on my home system; the variant in (b) will be what other people should use. In the long run, (b) is the recommended way to obtain output.

Since as of December 2022, during the re-write and addition of class AverageGrade, option b) is now the default. A commandline flag exists to use a .csv file, just for my home system.

#


370
371
372
373
374
375
376
377
378
379
# File 'lib/studium/exams/average_grade/average_grade.rb', line 370

def self.average_grade(
    use_csv_file_or_lecture_information = :determine_automatically,
    round_to_n_positions                = nil
  )
  _ = Studium::Exams::AverageGrade.new(:do_not_run_yet) { :be_quiet }
  _.use_this_dataset_location = use_csv_file_or_lecture_information
  _.round_to_n_positions = round_to_n_positions
  _.run
  return _.average_grade?
end

.average_grade_of_this_curriculum(i) ⇒ Object

#

Studium.average_grade_of_this_curriculum

This method will report silently.

Usage example:

x = Studium.average_grade_of_this_curriculum('lbt')
#


145
146
147
# File 'lib/studium/utility_scripts/average_grade_of_this_curriculum.rb', line 145

def self.average_grade_of_this_curriculum(i)
  ::Studium::AverageGradeOfThisCurriculum.new(i) { :be_quiet }.result?
end

.backup_the_old_file_lecture_informationObject

#

Studium.backup_the_old_file_lecture_information

This method will backup my old file called ‘lecture_information.yml’ into a directory within the main log-directory.

#


2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2496

def self.backup_the_old_file_lecture_information
  _ = log_dir?+'backups/'
  mkdir(_) unless File.directory? _
  # ======================================================================= #
  # Next copy the file from my home system.
  # ======================================================================= #
  old_file = RUBY_STUDIUM_HOME_DIR+
             'yaml/lecture_information/lecture_information.yml'
  new_target_location = _+
                        File.basename(old_file)
  e "#{rev}Now copying towards "\
    "`#{Colours.sfile(new_target_location)}#{rev}`."
  copy_file(
    old_file,
    new_target_location
  )
end

.backup_this_exam_file(this_file = Studium.file_exams?) ⇒ Object

#

Studium.backup_this_exam_file

Use this method if there is a need to backup a specific exam-file. These exam-files have to reside within the subdirectory called exam_topics/.

The method will copy this file to a directory such as /Depot/Studium/exam_topics/ but this depends on wherever the user designated the base log directory to reside at.

Note that the following API call will also be supported:

Studium.backup_this_exam_file(exam_file?) { :be_verbose }
#


1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1889

def self.backup_this_exam_file(
    this_file = Studium.file_exams?
  )
  unless is_in_www_mode?
    target_dir = "#{::Studium.log_dir?}exam_topics/"
    target = target_dir+File.basename(this_file)
    if block_given?
      yielded = yield
      case yielded
      # =================================================================== #
      # === :be_verbose
      # =================================================================== #
      when :be_verbose
        e 'Creating the directory at '+sdir(target_dir)+', then'
        e 'copying '+this_file
        e 'towards `'+target+'`.'
      end
    end
    unless File.directory? target_dir
      mkdir(target_dir)
    end
    FileUtils.cp(this_file, target)
  end
end

.calculate_prüfungsimmanente_lectures_from_this_file(i) ⇒ Object

#

Studium.calculate_prüfungsimmanente_lectures_from_this_file

This method quickly displays how many ECTS are in a given file, based on “prüfungsimmanente” courses.

#


529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 529

def self.calculate_prüfungsimmanente_lectures_from_this_file(i)
  total_sum_of_ects_points = 0
  lecture_types = ARRAY_LECTURE_TYPES_THAT_ARE_MANDATORY_CONTINUOUS_ASSESSMENT
  if i.is_a? Array
    i = i.first
  end
  use_this_regex = /(\d{1,2}\.?\d{1,2} ECTS), (\D{2,4})/
  if i and File.exist?(i)
    dataset = File.readlines(i).select {|entry|
      entry.include?(' ECTS, ') and
     !entry.start_with?('#')
    }.select {|inner_entry|
      # =================================================================== #
      # Obtain matches to e. g.
      #
      #   770102 Chemische Übungen (AW)      # 4.0 ECTS, UE
      #
      # =================================================================== #
      # URL:
      #
      #   https://rubular.com/r/0ALxnPi1on5NMp
      #
      # =================================================================== #
      inner_entry =~ use_this_regex
      lecture_types.include?($2.to_s.dup.strip.delete(','))
    }
    dataset.each {|entry| 
      result = entry.scan(use_this_regex).flatten.first.sub(/ECTS/,'').to_f
      total_sum_of_ects_points += result
    }
  end
  return total_sum_of_ects_points
end

.cd(i) ⇒ Object

#

Studium.cd (cd tag)

#


1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1852

def self.cd(i)
  # ======================================================================= #
  # This variant of cd knows some shortcuts.
  # ======================================================================= #
  case i
  # ======================================================================= #
  # === :exam_directory
  # ======================================================================= #
  when :exam_directory
    i = Studium.exam_topics_directory? # ::Studium::EXAM_TOPICS
  end
  Dir.chdir(i) if File.directory? i
end

.cd_stud(i) ⇒ Object

#

Studium.cd_stud

This method performs the actual cd-operation.

#


1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1770

def self.cd_stud(i)
  array = determine_exam_directory(i)
  if array
    first_element = array.first
    if File.directory?(first_element)
      Dir.chdir(first_element)
    else
      e "No directory exists at #{first_element}."
    end
  end
end

.check_the_lecture_information_fileObject

#

Studium.check_the_lecture_information_file

#


158
159
160
# File 'lib/studium/check_and_sanitize/check_the_lecture_information_file.rb', line 158

def self.check_the_lecture_information_file
  Studium::CheckTheLectureInformationFile.new
end

.check_which_modules_of_this_curriculum_have_been_completed(this_curriculum = :bachelor_vektor) ⇒ Object

#

Studium.check_which_modules_of_this_curriculum_have_been_completed

This method will check which modules of the given curriculum at hand have been completed.

#


2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2355

def self.check_which_modules_of_this_curriculum_have_been_completed(
    this_curriculum = :bachelor_vektor
  )
  dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information_including_aliases
  # ======================================================================= #
  # First obtain all lectures that belong to that curriculum.
  # ======================================================================= #
  these_lectures = Studium.read_dataset_from_a_curriculum_file(
    this_curriculum,
    :remove_comments,
    :do_flatten_the_result
  ).map {|entry| entry.squeeze(' ') }
  hash = Hash[*these_lectures.map {|name_of_the_lecture|
    dataset[name_of_the_lecture]
  }]
  available_modules = hash.values.map {|hash|
    hash[:individual_curriculum_module]
  }.flatten.uniq
  # ======================================================================= #
  # The modules are now sorted too, since our original input was sorted.
  # ======================================================================= #
  available_modules.each {|this_module|
    # ===================================================================== #
    # We have to obtain the name of the module at hand.
    # ===================================================================== #
    sub_hash = hash.select {|a,b|
      b[:individual_curriculum_module] == [this_module]
    }
    first_entry = sub_hash[sub_hash.keys.first]
    name_of_the_curriculum_module = first_entry[:name_of_the_curriculum_module].strip
    colourized_completed_yes_or_no = VerboseTruth[
      has_this_module_been_completed?(name_of_the_curriculum_module, dataset).to_s
    ].downcase.delete('.')
    if colourized_completed_yes_or_no == 'yes'
      colourized_completed_yes_or_no = darkred(colourized_completed_yes_or_no)
    else
      colourized_completed_yes_or_no = crimson(colourized_completed_yes_or_no)
    end
    e orange(this_module.rjust(3))+
      slateblue(
        (' "'+name_of_the_curriculum_module+'"').ljust(71)
      )+
      royalblue('completed? ')+
      colourized_completed_yes_or_no
  }
end

.colour_for_ects_points(i = '') ⇒ Object

#

Studium.colour_for_ects_points

Currently this will use mediumseagreen as the main colour.

#


1533
1534
1535
# File 'lib/studium/colours/colours.rb', line 1533

def self.colour_for_ects_points(i = '')
  ::Studium::Colours.mediumseagreen(i)
end

.copy_file(source, destination = Dir.pwd) ⇒ Object

#

Studium.copy_file

This method can be used to copy a local file to another location.

#


74
75
76
77
78
79
80
81
82
83
84
85
86
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 74

def self.copy_file(
    source,
    destination = Dir.pwd
  )
  destination = destination.dup if destination.frozen?
  if File.directory?(destination)
    destination << '/' unless destination.end_with?('/')
  end
  destination << File.basename(source)
  if File.exist?(source) and File.file?(source)
    FileUtils.copy_file(source, destination)
  end
end

.copy_lecture_information_file_to_default_location(i = nil) ⇒ Object

#

Studium.copy_lecture_information_file_to_default_location

This method will copy the file called “lecture_information.yml” to the default location.

As input it either expects the path to a file, or, if this is omitted or the Array is empty, it will

#


2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2180

def self.copy_lecture_information_file_to_default_location(
    i = nil
  )
  if i.is_a? Array
    i = nil if i.empty?
  end
  if i.nil?
    # ===================================================================== #
    # Scan for files called "lecture_information.yml" in this directory.
    # ===================================================================== #
    i = Dir['*.yml'].select {|entry| entry.include? 'lecture_information.yml' }
    i = i.first if i.is_a? Array
  end
  into = Studium.file_lecture_information
  if i
    if File.exist? i
      e "#{::Colours.rev}Now copying #{i} into #{into}."
      FileUtils.cp(i, into)
    else
      e 'No file exists at '+i+'.'
    end 
  else
    e 'No file called '+File.basename(into)+' could be found in this directory.'
  end
end

.copy_the_last_backup_of_file_lecture_informationObject

#

Studium.copy_the_last_backup_of_file_lecture_information

This method will simply copy a backup we have at the backup-directory location, onto my home system.

#


6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6124

def self.copy_the_last_backup_of_file_lecture_information
  require 'studium/colours/colours.rb'
  _ = log_dir?+'backups/lecture_information.yml'
  if File.exist? _
    e 'Copying '+Colours.sfile(_)+' to `'+
      RUBY_STUDIUM_HOME_DIR+'yaml/lecture_information/lecture_information.yml`.'
    copy_file(_, RUBY_STUDIUM_HOME_DIR+'yaml/')
  else
    e 'No file exists at `'+Colours.sfile(_)+'`.'
  end
end

.create_a_clean_lecture_information_file(be_verbose = true) ⇒ Object

#

Studium.create_a_clean_lecture_information_file

This method will create a clean ‘lecture_information.yml’ file.

#


2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2445

def self.create_a_clean_lecture_information_file(
    be_verbose = true
  )
  new_file_content = ''.dup
  _ = Studium.file_lecture_information?
  if File.exist? _
    File.readlines(_).each {|line|
      if line.include?('!ruby/symbol already_solved: ') and
        !line.include?('# ')
        line = " !ruby/symbol already_solved: false\n"
      end
      unless (line.include?('!ruby/symbol already_solved_at:')) or
             (line.include?('!ruby/symbol grade: ')) and
             !line.include?('#   ') # <- To not chop off the header-section of file lecture_information.yml
        new_file_content << line
      end
    }
    into = Studium.log_dir?+'lecture_information/lecture_information.yml'
    if be_verbose
      e "Storing this new content in `#{Colours.sfile(into)}`."
    end
    write_what_into(new_file_content, into)
  else
    e "No file exists at `#{_}."
  end
end

.create_a_pdf_file_for_this_exam_topic(the_exam_topic) ⇒ Object

#

Studium.create_a_pdf_file_for_this_exam_topic

#


14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/studium/utility_scripts/pdf/hexapdf_support.rb', line 14

def self.create_a_pdf_file_for_this_exam_topic(the_exam_topic)
  begin
    require 'hexapdf'
  rescue LoadError; end
  begin
    require 'pdf_paradise/hexapdf/hexapdf.rb'
  rescue LoadError; end
  the_exam_topic = the_exam_topic.first if the_exam_topic.is_a? Array
  dataset = ::Studium.return_dataset_for_this_topic(the_exam_topic)
  doc = HexaPDF::Document.new
  doc.add_this_font(:hack)

  page = doc.pages.add # Add a new page.
  canvas = page.canvas
  canvas.font('Hack-Regular', size: 10)

  start_index = 800
  deduct = 20
  dataset.each {|this_exam_question_answer_line|
    new_y_position = start_index - deduct
    deduct *= 2
    canvas.text(this_exam_question_answer_line, at: [10, new_y_position])
    if new_y_position < 50
      page = doc.pages.add # Add a new page.
      canvas = page.canvas
      canvas.font('Hack-Regular', size: 10)
      deduct = 20
    end
  }
  doc.write(the_exam_topic+'.pdf', optimize: true) 
end

.create_an_archive_of_the_exam_questionsObject

#

Studium.create_an_archive_of_the_exam_questions

This method will create an archive of the exam questions, into the current working directory (Dir.pwd).

The name of the archive will be like this:

exams_topics-11.11.2018_295345_questions.tar.xz

First comes the hh:mm:ss, then comes the dd:mm:yyyy format, then come the number of questions.

This method can also be called from the commandline. Issue the following command for this:

studium --create-an-archive-of-the-exam-questions
#


2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2647

def self.create_an_archive_of_the_exam_questions
  # ======================================================================= #
  # Keep a reference to the starting-directory:
  # ======================================================================= #
  starting_directory = "#{return_pwd}/".squeeze '/'
  target = DIRECTORY_EXAM_TOPICS
  cd_to_this_directory = File.dirname(target)
  e "Changing directory into `#{cd_to_this_directory}` next."
  Dir.chdir(cd_to_this_directory)
  name_of_the_archive = 'exam_topics_'+
                        dd_mm_yyyy+'_'+
                        Studium.n_questions_available?.to_s+'_questions.tar.xz'
  _ = 'tar cfJv '+name_of_the_archive+' '+File.basename(target)
  esystem _
  Dir.chdir(starting_directory)
  old_target = File.dirname(target)+'/'+name_of_the_archive
  new_target = starting_directory+File.basename(old_target)
  FileUtils.mv(old_target, new_target)
  if File.exist? new_target
    e 'The archive can be seen at: '+new_target
  end
end

.create_file(i) ⇒ Object

#

Studium.create_file

#


2598
2599
2600
2601
2602
2603
2604
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2598

def self.create_file(i)
  begin
    FileUtils.touch(i)
  rescue Errno::ENOENT => error
    pp error
  end
end

.create_pdf_file_for_this_exam_topic(i = ARGV, &block) ⇒ Object

#

Studium.create_pdf_file_for_this_exam_topic

Note that this method will also return an Array of the .pdf files that were created.

#


336
337
338
339
340
341
342
343
# File 'lib/studium/utility_scripts/pdf/create_pdf_file_for_this_exam_topic.rb', line 336

def self.create_pdf_file_for_this_exam_topic(i = ARGV, &block)
  array = []
  [i].flatten.compact.each {|this_pdf_file|
    _ = Studium::CreatePdfFileForThisExamTopic.new(this_pdf_file, &block)
    array << _.store_where?
  }
  return array
end

.crimson(i = '', use_colours = Colours.use_colours?) ⇒ Object

#


1591
1592
1593
1594
1595
1596
# File 'lib/studium/colours/colours.rb', line 1591

def self.crimson(
    i = '', use_colours = Colours.use_colours?
  )
  return ::Studium::Colours.crimson(i) if use_colours
  return i
end

.csv_directory?Boolean

#

Studium.csv_directory?

Pointer to the csv/ subdirectory of the studium project.

#

Returns:

  • (Boolean)


1219
1220
1221
# File 'lib/studium/constants/constants.rb', line 1219

def self.csv_directory?
  "#{project_base_directory?}csv/"
end

.d10Object

#

Studium.d10

#


1395
1396
1397
1398
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1395

def self.d10
  Studium::ShowUpcomingExams.new('--autostud') { :do_not_exit } if Studium.is_on_roebe?
  Studium.show_upcoming_exams(10)
end

.d100Object

#

Studium.d100

#


1363
1364
1365
1366
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1363

def self.d100
  Studium::ShowUpcomingExams.new('--autostud') { :do_not_exit } if Studium.is_on_roebe?
  Studium.show_upcoming_exams(100)
end

.d15Object

#

Studium.d15

#


1387
1388
1389
1390
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1387

def self.d15
  Studium::ShowUpcomingExams.new('--autostud') { :do_not_exit } if Studium.is_on_roebe?
  Studium.show_upcoming_exams(15)
end

.d150Object

#

Studium.d150

#


1355
1356
1357
1358
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1355

def self.d150
  Studium::ShowUpcomingExams.new('--autostud') { :do_not_exit } if Studium.is_on_roebe?
  Studium.show_upcoming_exams(150)
end

.d20Object

#

Studium.d20

#


1379
1380
1381
1382
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1379

def self.d20
  Studium::ShowUpcomingExams.new('--autostud') { :do_not_exit } if Studium.is_on_roebe?
  Studium.show_upcoming_exams(20)
end

.d25Object

#

Studium.d25

#


1371
1372
1373
1374
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1371

def self.d25
  Studium::ShowUpcomingExams.new('--autostud') { :do_not_exit } if Studium.is_on_roebe?
  Studium.show_upcoming_exams(25)
end

.d3Object

#

Studium.d3

#


1411
1412
1413
1414
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1411

def self.d3
  Studium::ShowUpcomingExams.new('--autostud') { :do_not_exit } if Studium.is_on_roebe?
  Studium.show_upcoming_exams(3)
end

.d5Object

#

Studium.d5

#


1403
1404
1405
1406
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1403

def self.d5
  Studium::ShowUpcomingExams.new('--autostud') { :do_not_exit } if Studium.is_on_roebe?
  Studium.show_upcoming_exams(5)
end

.darkgreen(i = '') ⇒ Object

#

Studium.darkgreen

#


1617
1618
1619
1620
# File 'lib/studium/colours/colours.rb', line 1617

def self.darkgreen(i = '')
  return ::Studium::Colours.darkgreen(i) if Colours.use_colours?
  return i
end

.date_sanitizer(i = ARGV) ⇒ Object

#

Studium.date_sanitizer

#


319
320
321
# File 'lib/studium/check_and_sanitize/date_sanitizer.rb', line 319

def self.date_sanitizer(i = ARGV)
  Studium::DateSanitizer.new(i)
end

.datum?Boolean

#

Studium.datum?

#

Returns:

  • (Boolean)


805
806
807
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 805

def self.datum?
  Time.now.strftime('%d.%m.%Y') # => "15.10.2020"
end

.default_readlines(i, use_this_encoding = Studium.encoding?) ⇒ Object

#

Studium.default_readlines

#


1623
1624
1625
1626
1627
1628
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1623

def self.default_readlines(
    i,
    use_this_encoding = Studium.encoding?
  )
  return File.readlines(i, encoding: use_this_encoding)
end

.delay_for_exam_questions?Boolean

#

Studium.delay_for_exam_questions?

#

Returns:

  • (Boolean)


2809
2810
2811
# File 'lib/studium/exams/question_answer/question_answer.rb', line 2809

def self.delay_for_exam_questions?
  ::Studium::DEFAULT_DELAY
end

.determine_curricula(i = ARGV) ⇒ Object

#

Studium.determine_curricula

#


392
393
394
# File 'lib/studium/curricula/determine_curricula/misc.rb', line 392

def self.determine_curricula(i = ARGV)
  Studium::DetermineCurricula.new(i)
end

.determine_exam_directory(i = ARGV) ⇒ Object

#

Studium.determine_exam_directory

The argument to this method should be a number (or a String representing a number), such as 3 or “3”.

#


1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1693

def self.determine_exam_directory(
    i = ARGV
  )
  if i.is_a? Array
    i = i.first
  end
  base_dir = Studium.studium_directory_at_home
  # ======================================================================= #
  # Next, we must determine the correct directory to use. This hopefully
  # can work if the user has designated the correct number for the given
  # directory at hand, such as, say, "95823".
  #
  # Our first, naive approach will be to simply obtain an array of ALL
  # the directories at hand.
  # ======================================================================= #
  array_possible_directories = Dir["#{base_dir}UNI_WIEN/*"].select {|entry|
    File.directory?(entry)
  }
  array_possible_directories << Dir["#{base_dir}BOKU_WIEN/*"].select {|entry|
    File.directory?(entry)
  } # ^^^ add BOKU lectures
  array_possible_directories << Dir["#{base_dir}TU_WIEN/*"].select {|entry|
    File.directory?(entry)
  } # ^^^ add TU lectures
  array_possible_directories << Dir["#{base_dir}MEDUNI_WIEN/*"].select {|entry|
    File.directory?(entry)
  } # ^^^ add meduni lectures
  array_possible_directories << Dir["#{base_dir}VETMED_WIEN/*"].select {|entry|
    File.directory?(entry)
  } # ^^^ add vetmed lectures
  array_possible_directories.flatten!
  # ======================================================================= #
  # First, load up the file 'exams.yml'.
  # ======================================================================= #
  dataset = File.read(
    FILE_EXAMS,
    encoding: ::Studium.main_encoding?
  )
  use_this_regex = /^(# === \(#{i}\).+)/
  # ======================================================================= #
  # But check that the dataset really includes that number, before
  # continuing.
  # ======================================================================= #
  if dataset.include? "# === (#{i})"
    dataset =~ use_this_regex
    match_containing_the_full_line = $1.to_s.dup # <- Obtain the full line here.
    # ======================================================================= #
    # Next, obtain the number of the directory at hand. This can be a bit
    # tricky because there may be multiple numbers. So next follows a 
    # list of entries that are assumed to be correct:
    #   ' 301212, '
    #   ' 301.212, '
    # ======================================================================= #
    match_containing_the_full_line =~ / (\d{3}\.?\d{3}), / # <- The dot is for TU Lectures.
    use_this_number = $1.to_s.dup
    selection = array_possible_directories.select {|line|
      line =~ /#{use_this_number}/
    }
    if selection.empty? # In this case we found nothing.
      opn; e "No match was found to the given number at `#{use_this_number.to_s}`."
      opn; e 'Does a local directory exist, starting with this number?'
    else
      # ===================================================================== #
      # Else return the matches.
      # ===================================================================== #
      return selection # <- This will be an Array containing one or more elements.
    end
  else
    nil # This means that the dataset did not include a numbered entry, such as "# === (35)".
  end
end

.determine_local_directory_of_this_lecture(i) ⇒ Object

#

Studium.determine_local_directory_of_this_lecture

This method can be used to determine the local path of a directory associated with a given lecture at hand.

The first argument should be the name of the lecture, including its LVA-id number.

This method can work on a given input-string alone.

#


1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1641

def self.determine_local_directory_of_this_lecture(i)
  base_dir = Studium.studium_directory_at_home.dup
  if i.is_a? Array
    i = i.first
  end
  i = i.to_s.dup
  if i.include? 'VO '
    i.gsub!(/VO /,'')
  end
  i.tr!(' ','_')
  # ======================================================================= #
  # Sanitize the name of the lecture:
  # ======================================================================= #
  i.delete!(':/(),') # Get rid of ':','/','(',')', ','.
  if i.end_with? '.'
    i.chop!
  end
  if i.include? '_-_'
    i.gsub!(/_-_/,'_')
  end
  if i.include? '_+_' # Replace '_+_' with '_'
    i.gsub!(/_\+_/,'_')
  end
  if i.include? '__'
    i.squeeze!('_')
  end
  # ======================================================================= #
  # Next match against different universities - keep on trying until
  # we have found the correct one:
  # ======================================================================= #
  a = (base_dir+"VETMED_UNI/#{i}/").squeeze('/')
  b = (base_dir+"TU_WIEN/#{i}/").squeeze('/')
  c = (base_dir+"UNI_WIEN/#{i}/").squeeze('/')
  d = (base_dir+"BOKU_WIEN/#{i}/").squeeze('/')
  if    File.directory? a
    i = a
  elsif File.directory? b
    i = b
  elsif File.directory? c
    i = c
  elsif File.directory? d
    i = d
  end
  return i # ← Return our result.    
end

.determine_the_log_directoryObject

#

Studium.determine_the_log_directory

On my system, this usually defaults to “/Depot/Studium/” but sometimes you may have to use another directory, so we will require a way to automatically determine where that directory resides.

#


20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/studium/logging/log_directory.rb', line 20

def self.determine_the_log_directory
  # ======================================================================= #
  # Hardcoded default. The yaml file will overrule this entry, if it exists.
  # ======================================================================= #
  _ = '/Depot/Studium/'
  yaml_file = "#{yaml_directory?}log_dir.yml"
  if File.exist? yaml_file
    # ===================================================================== #
    # Obtain the content of the log_dir here. This used to be YAML.load_file()
    # but I want to also store comments here sometimes, so this is why
    # File.readlines() is used instead..
    # ===================================================================== #
    _ = File.readlines(yaml_file).first
    if _.include? '~'
      # =================================================================== #
      # In this case assume that the user wanted to use File.expand_path().
      # This must be rescued, as in a .cgi environment this may fail
      # via: expand_path': couldn't find login name -- expanding `~' (ArgumentError)
      # =================================================================== #
      begin
        _ = File.expand_path(_)
      rescue ArgumentError
        _ = _.sub(/~/, '/root/')
      end
    end
  end
  _ = _.dup if _.frozen?
  _.strip!
  _ << '/' unless _.end_with? '/' # Ensure a trailing '/' token there.
  # ======================================================================= #
  # Next, change this directory if we are in www-mode and we have
  # insufficient permissions.
  # ======================================================================= #
  if is_in_www_mode? and !File.writable?(File.dirname(_))
    _ = '/tmp/studium/'
  end
  return _
end

.directory_to_the_exam_topics?Boolean

#

Studium.directory_to_the_exam_topics?

This method is a getter for the actual @exam_topics - which must be a directory.

This may return a directory, such as e. g.:

/home/x/programming/ruby/src/studium/lib/studium/exam_topics/
#

Returns:

  • (Boolean)


778
779
780
# File 'lib/studium/constants/constants.rb', line 778

def self.directory_to_the_exam_topics?
  @exam_topics
end

.disable_coloursObject

#

Studium.disable_colours

#


1541
1542
1543
# File 'lib/studium/colours/colours.rb', line 1541

def self.disable_colours
  ::Studium::Colours.disable_colours
end

.display_available_topics(optional_limit_to_this = nil) ⇒ Object

#

Studium.display_available_topics

#


6170
6171
6172
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6170

def self.display_available_topics(optional_limit_to_this = nil)
  ::Studium::Exams.display_available_topics(optional_limit_to_this)
end

.does_this_course_require_mandatory_presence(i, ignore_these_types = nil) ⇒ Object

#

Studium.does_this_course_require_mandatory_presence

The first argument should be the type of the lecture at hand, as String, such as ‘VO’ or ‘VU’ or ‘SE’.

The (optional) second argument can be used to ignore certain lecture types for the given query at hand.

#


5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5770

def self.does_this_course_require_mandatory_presence(
    i,
    ignore_these_types = nil
  )
  i = i.first if i.is_a? Array
  ignore_these_types = [ignore_these_types].flatten.compact
  if ignore_these_types
    array_copy = ARRAY_LECTURE_TYPES_THAT_ARE_MANDATORY_CONTINUOUS_ASSESSMENT.dup
    ignore_these_types.each {|this_type|
      array_copy.reject! {|line| line == this_type.to_s }
    }
    array_copy.include? i
  else
    ARRAY_LECTURE_TYPES_THAT_ARE_MANDATORY_CONTINUOUS_ASSESSMENT.include? i
  end
end

.does_this_line_include_a_html_colour?(i = nil) ⇒ Boolean

#

Studium.does_this_line_include_a_html_colour?

#

Returns:

  • (Boolean)


5909
5910
5911
5912
5913
5914
5915
5916
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5909

def self.does_this_line_include_a_html_colour?(i = nil)
  if Object.const_defined?(:Colours) and
    ::Colours.respond_to?(:does_this_line_include_a_html_colour?)
    ::Colours.does_this_line_include_a_html_colour?(i)
  else
    false
  end
end

.download_archive_of_the_exam_questions(use_this_url = Studium::Exams.remote_ftp_url?+FILE_EXAM_TOPICS_ARCHIVE) ⇒ Object

#

Studium.download_archive_of_the_exam_questions

This will use a hardcoded URL by default to download the exam_topics.tar.xz archive.

#


2676
2677
2678
2679
2680
2681
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2676

def self.download_archive_of_the_exam_questions(
    use_this_url = Studium::Exams.remote_ftp_url?+FILE_EXAM_TOPICS_ARCHIVE
  )
  _ = "wget #{use_this_url}"
  esystem _
end

.download_exam_dataset(remote_url = ::Studium.remote_url?) ⇒ Object

#

Studium.download_exam_dataset

This method can be used to download the exam dataset from a remote URL.

Note that you may have to pass the proper remote URL into this method, as first argument if you do not want to make use of the default remote URL (which is tailored to my own use case of course).

Alternatively, you could also invoke Studium::Exams.set_remote_exams_url() to set to another remote URL, which is then automatically passed to the first argument - see the below code for this.

Presently this method requires “wget”, but this could also be replaced with a pure ruby solution. I just did not feel that it is needed for now, since this method will probably be used only very, very sparingly so, by only very few people.

You can invoke this method from the commandline, by issuing a command such as:

studium --download-exam-dataset
#


3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3054

def self.download_exam_dataset(
    remote_url = ::Studium.remote_url?
  )
  # ======================================================================= #
  # First, we will cd to the local exam-dir directory.
  # ======================================================================= #
  cd :exam_directory
  e 'We will work in the directory '+
    Colours.sdir((Dir.pwd+'/').squeeze('/'))+
    ' next.'
  # ======================================================================= #
  # Next we will download the dataset from the remote URL:
  # ======================================================================= #
  e 'Now attempting to download all exams from the remote URL:'
  e
  e "  #{Colours.sfancy(remote_url)}"
  e
  remote_dataset = open(remote_url).read.split("\n")
  use_this_regex = /<a href=".+">(.+)<\/a>/
  remote_dataset.map! {|line|
    line =~ use_this_regex
    $1.to_s.dup
  }
  remote_dataset.compact!
  remote_dataset.reject! {|line|
    line.empty? or
    (line.strip == 'Parent') or
    line.include?('Parent Directory')
  }
  remote_dataset.each {|this_file|
    complete_url = remote_url+this_file
    cmd = "wget #{complete_url}"
    e 'Now downloading the remote file `'+
      Colours.sfile(complete_url)+'`'
    e 'into the directory '+
      ::Colours.sdir((Dir.pwd+'/').squeeze('/'))
    File.delete(this_file) if File.exist?(this_file) and File.file?(this_file)
    system cmd
  }
  # ======================================================================= #
  # Next, we will copy the content of this directory to my home directory,
  # before running a "r2" action on it.
  # ======================================================================= #
  if is_on_roebe?
    target_dir_at_home =
      ::Studium::RUBY_STUDIUM_HOME_DIR+'exam_topics/'
    # ===================================================================== #
    # Enter the ^^^ above defined directory.
    # ===================================================================== #
    if File.exist? target_dir_at_home
      cd target_dir_at_home
      remote_dataset.each {|name_of_the_file|
        this_file = Studium.exam_topics_directory?+name_of_the_file
        # ================================================================= #
        # Get rid of files that already exist with the same name.
        # ================================================================= #
        File.delete(name_of_the_file) if File.exist? name_of_the_file
        new_target = (Dir.pwd+'/'+File.basename(name_of_the_file)).squeeze '/'
        copy_file(this_file, new_target)
      }
      cd RUBY_SRC_STUDIUM
      begin
        require 'roebe/toplevel_methods/rinstall2.rb'
      rescue LoadError; end
      Roebe.r2 # Do a r2-installation here.
    end
  end  
end

.download_exam_topics(i = ::Studium::Exams.remote_url?) ⇒ Object

#

Studium.download_exam_topics

This method can be used to download the exam_topics from the remote FTP host. This allows us to, for instance, populate the Studium dataset with these exam topics at hand.

We do not actually need FtpParadise for this - we can just use open-uri instead.

#


2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2995

def self.download_exam_topics(
    i = ::Studium::Exams.remote_url? # This is "http://shevegen.square7.ch/exam_topics/"
  )
  regex_to_use = />(\w+)<\/a>/ # URL: http://rubular.com/r/jEjMHYQcHQ
  require 'open-uri'
  e 'Downloading the exam topics via open-uri() from this '\
    'host next: '+simp(i)
  # ======================================================================= #
  # Open the remote files next.
  # ======================================================================= #
  dataset = URI.open(i).read.split("\n").select {|line|
    line.include? '<img src="/icons-sys/unknown.png" alt="[   ]"> <a href="'
  }
  Dir.chdir(::Studium.log_dir?)
  FileUtils.mkdir_p('exam_topics/') unless File.directory? 'exam_topics/'
  Dir.chdir('exam_topics/')
  e 'We will store into the directory `'+Dir.pwd+'`.'
  dataset.each {|line|
    line =~ regex_to_use
    match = $1.to_s.dup
    unless match.include? '.' # This checks for files such as "index.html".
      the_remote_url = i+match
      unless the_remote_url.end_with? '/'
        puts 'Now downloading the exam-topic `'+simp(the_remote_url)+
             '` into `'+Dir.pwd+'/`.'
        local_file = match.to_s
        File.delete(local_file) if File.exist? local_file
        esystem("wget #{the_remote_url}")
      end
    end
  }
end

.e(i = '') ⇒ Object

#

Studium.e

#


12
13
14
# File 'lib/studium/toplevel_methods/e_and_esystem.rb', line 12

def self.e(i = '')
  puts i
end

.editor?Boolean

#

Studium.editor?

#

Returns:

  • (Boolean)


2138
2139
2140
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2138

def self.editor?
  @use_this_editor
end

.enable_coloursObject

#

Studium.enable_colours

#


1548
1549
1550
# File 'lib/studium/colours/colours.rb', line 1548

def self.enable_colours
  ::Studium::Colours.enable_colours
end

.encoding?Boolean

#

Studium.encoding?

The main encoding to use for this project.

#

Returns:

  • (Boolean)


70
71
72
# File 'lib/studium/encoding/encoding.rb', line 70

def self.encoding?
  @use_this_encoding
end

.ensure_that_the_html_directory_existsObject

#

Studium.ensure_that_the_html_directory_exists

This is for all .html files that are generated.

#


28
29
30
31
32
33
34
35
# File 'lib/studium/logging/html_log_directory.rb', line 28

def self.ensure_that_the_html_directory_exists
  _ = log_directory_for_html_files?
  begin
    FileUtils.mkdir_p(_) unless Dir.exist? _
  rescue Errno::EACCES => error
    e 'Permission denied for '+_+'. (Error: '+error.class.to_s+')'
  end
end

.ensure_that_the_log_directory_exists(this_directory = @log_directory) ⇒ Object

#

Studium.ensure_that_the_log_directory_exists

This method ensures that the log directory actually exists.

In total it will create the subdirectory, then the directory exam_topics/ inside that directory, and then the directory where the daily-questions-solved are stored.

#


22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# File 'lib/studium/logging/ensure_that_the_log_directory_exists.rb', line 22

def self.ensure_that_the_log_directory_exists(
    this_directory = @log_directory
  )
  begin
    FileUtils.mkdir_p(this_directory) unless Dir.exist? this_directory
    # ===================================================================== #
    # Next, create the exam_topics/ subdirectory:
    # ===================================================================== #
    _ = "#{this_directory}exam_topics/"
    FileUtils.mkdir_p(_) unless Dir.exist? _
    ensure_that_the_html_directory_exists
    target_directory = File.dirname(Studium.file_daily_questions_solved?)
    FileUtils.mkdir_p(target_directory) unless Dir.exist? target_directory
  rescue Errno::EACCES => error
    e "Can not create the directory #{_} as we lack "\
      "the required permissions."
    pp error
  end
end

.esystem(i = '') ⇒ Object

#

Studium.esystem

This method essentially combines e, which is an alias to puts for the most part, and system(), into one new method called “esystem()” - or rather Studium.esystem().

#


23
24
25
26
27
28
29
30
31
32
# File 'lib/studium/toplevel_methods/e_and_esystem.rb', line 23

def self.esystem(
    i = ''
  )
  if i.is_a? Array
    i.each {|entry| esystem(entry) }
  else
    e i
    system i
  end
end

.exam_bubble(this_topic = ARGV) ⇒ Object

#

Studium.exam_bubble

#


436
437
438
# File 'lib/studium/exams/exam_bubble/exam_bubble.rb', line 436

def self.exam_bubble(this_topic = ARGV)
  Studium::Exams::ExamBubble.new {{ use_this_topic: this_topic }}
end

.exam_registration_at(optional_input = nil) ⇒ Object

#

Studium.exam_registration_at

#


234
235
236
# File 'lib/studium/exams/exam_registration_at/exam_registration_at.rb', line 234

def self.exam_registration_at(optional_input = nil)
  Studium::Exams::ExamRegistrationAt[optional_input]
end

.exam_topic_number?(i = 1) ⇒ Boolean

#

Studium.exam_topic_number?

#

Returns:

  • (Boolean)


3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3410

def self.exam_topic_number?(
    i = 1
  )
  if i.is_a? Array
    i = i.first # Only work on the first entry given here, if we work on an Array.
  end
  i = 1 if i.nil? # This is the default value.
  use_this_file = Studium.file_ten_aliases
  if File.exist? use_this_file
    i = i.to_i
    dataset = YAML.load_file(use_this_file)
    # ======================================================================= #
    # dataset will look like t his:
    #
    #   {1=>["neurobiologie?", 18.06],
    #    2=>["bioinformatik?", 0.2],
    #
    # ======================================================================= #
    if dataset.has_key? i
      return dataset[i].first
    else
      nil
    end
  else
    return nil
  end
end

.exam_topic_path_for(i) ⇒ Object

#

Studium.exam_topic_path_for

This method must always return the correct path for an exam topic via File.absolute_path().

Usage example:

Studium.exam_topic_path_for('allgemeine_genetik')
#


116
117
118
119
120
121
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 116

def self.exam_topic_path_for(i)
  i = i.to_s.dup
  i = Studium.exam_topics_directory?+i
  i = File.absolute_path(i)
  return i
end

.exam_topics_directory?Boolean

#

Studium.exam_topics_directory?

#

Returns:

  • (Boolean)


689
690
691
# File 'lib/studium/constants/constants.rb', line 689

def self.exam_topics_directory?
  "#{Studium.project_base_directory?}exam_topics/"
end

.examsObject

#

Studium.exams

#


16
17
18
# File 'lib/studium/exams/exams.rb', line 16

def self.exams # Method to Namespace mapping.
  Studium::Exams
end

.exams_per_month(i = ARGV, &block) ⇒ Object

#

Studium.exams_per_month

Easier module-method to instantiate a new ExamsPerMonth object.

#


2434
2435
2436
# File 'lib/studium/exams/exams_per_month/exams_per_month.rb', line 2434

def self.exams_per_month(i = ARGV, &block)
  ::Studium::ExamsPerMonth.new(i = ARGV, &block)
end

.expand_these_lectures(i) ⇒ Object

#

Studium.expand_these_lectures

This will return an Array, rather than report anything.

#


511
512
513
# File 'lib/studium/utility_scripts/expand_time_range/expand_time_range.rb', line 511

def self.expand_these_lectures(i)
  Studium::ExpandTimeRange.new(i) { :do_not_report_anything }.array?
end

.expand_time_range(i, &block) ⇒ Object

#

Studium.expand_time_range

Simpler accessor-method to the functionality made available through class Studium::ExpandTimeRange.

#


502
503
504
# File 'lib/studium/utility_scripts/expand_time_range/expand_time_range.rb', line 502

def self.expand_time_range(i, &block)
  Studium::ExpandTimeRange.new(i, &block)
end

.extract_archive_of_the_exam_questionsObject

#

Studium.extract_archive_of_the_exam_questions (extract tag)

This method will extract the archive file holding the exams.

#


2688
2689
2690
2691
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2688

def self.extract_archive_of_the_exam_questions
  _ = "tar -xvf #{FILE_EXAM_TOPICS_ARCHIVE}"
  esystem _
end

.file_all_registered_upcoming_exams(use_this_as_log_dir = log_dir? ) ⇒ Object

#

Studium.file_all_registered_upcoming_exams

In the long run this method should replace the constant called FILE_ALL_REGISTERED_UPCOMING_EXAMS.

#


1249
1250
1251
1252
1253
# File 'lib/studium/constants/constants.rb', line 1249

def self.file_all_registered_upcoming_exams(
    use_this_as_log_dir = log_dir?
  )
  "#{use_this_as_log_dir}all_registered_upcoming_exams.yml"
end

.file_allowed_themes_for_coursesObject

#

Studium.file_allowed_themes_for_courses

#


1171
1172
1173
# File 'lib/studium/constants/constants.rb', line 1171

def self.file_allowed_themes_for_courses
  "#{project_yaml_directory?}allowed_themes_for_courses/allowed_themes_for_courses.yml"
end

.file_array_allowed_entries_for_the_file_lecture_informationObject

#

Studium.file_array_allowed_entries_for_the_file_lecture_information

This method will return a path such as the following one:

/home/Programs/Ruby/2.7.1/lib/ruby/site_ruby/2.7.0/studium/yaml/lecture_aliases.yml
#


1131
1132
1133
1134
# File 'lib/studium/constants/constants.rb', line 1131

def self.file_array_allowed_entries_for_the_file_lecture_information
  "#{project_yaml_directory?}"\
  "array_allowed_entries_for_the_file_lecture_information.yml"
end

.file_bachelor_informatik_und_molekulare_biologieObject

#

Studium.file_bachelor_informatik_und_molekulare_biologie

#


1592
1593
1594
1595
# File 'lib/studium/constants/constants.rb', line 1592

def self.file_bachelor_informatik_und_molekulare_biologie
  "#{project_curricula_yaml_directory?}individual/"\
  "bachelor_informatik_und_molekulare_biologie.yml"
end

.file_cd_aliasesObject

#

Studium.file_cd_aliases

#


1869
1870
1871
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1869

def self.file_cd_aliases
  FILE_CD_ALIASES
end

.file_current_examsObject

#

Studium.file_current_exams

Feedback for the current-exams file, via this method.

Where all current exams are kept.

If the environment has a value defined for STUDIUM_YAML then we will use that. Otherwise, we will simply hardcode to the absolute path.

#


1692
1693
1694
# File 'lib/studium/constants/constants.rb', line 1692

def self.file_current_exams
  "#{project_yaml_directory?}current_exams.yml"
end

.file_curriculaObject

#

Studium.file_curricula

This would expand to the location:

/Programs/Ruby/2.5.0/lib/ruby/site_ruby/2.5.0/studium/yaml/curricula.yml

on my system.

#


1664
1665
1666
# File 'lib/studium/constants/constants.rb', line 1664

def self.file_curricula
  "#{yaml_directory?}curricula.yml"
end

.file_daily_questions_solved?Boolean

#

Studium.file_daily_questions_solved?

This method denotes where the file “daily_questions_solved.yml” is to be stored. On my home system, this will make use of a different path, hence why there is a check. The reason for this is because I regularly back this file up, so that I can compare results over different years more easily.

#

Returns:

  • (Boolean)


1026
1027
1028
1029
1030
1031
1032
# File 'lib/studium/constants/constants.rb', line 1026

def self.file_daily_questions_solved?
  if ::Studium.is_on_roebe?
    "#{RUBY_SRC_STUDIUM_LIB}studium/yaml/daily_questions_solved/daily_questions_solved.yml"
  else # else use this default
    "#{log_dir?}daily_questions_solved/daily_questions_solved.yml"
  end
end

.file_directory_to_the_exam_topicsObject

#

Studium.file_directory_to_the_exam_topics

Keep track of the directory to the exam topics.

This will be hardcoded to return e. g.:

/Programs/Ruby/2.4.1/lib/ruby/site_ruby/2.4.0/studium/yaml/directory_to_the_exam_topics.yml
#


616
617
618
# File 'lib/studium/constants/constants.rb', line 616

def self.file_directory_to_the_exam_topics
  "#{project_yaml_directory?}directory_to_the_exam_topics.yml"
end

.file_exams?Boolean

#

Studium.file_exams?

#

Returns:

  • (Boolean)


1718
1719
1720
# File 'lib/studium/constants/constants.rb', line 1718

def self.file_exams?
  @file_exams
end

.file_for_exam_questionsObject

#

Studium.file_for_exam_questions

Easier module-method to query where the exam questions are stored.

This may give a result such as:

/Programs/Ruby/2.4.1/lib/ruby/site_ruby/2.4.0/studium/yaml/file_for_exam_questions.yml
#


1678
1679
1680
# File 'lib/studium/constants/constants.rb', line 1678

def self.file_for_exam_questions
  "#{yaml_directory?}file_for_last_exam_question.yml"
end

.file_grouped_themesObject

#

Studium.file_grouped_themes

#


1149
1150
1151
# File 'lib/studium/constants/constants.rb', line 1149

def self.file_grouped_themes
  "#{yaml_directory?}grouped_themes/grouped_themes.yml"
end

.file_holidaysObject

#

Studium.file_holidays

The holidays.yml file keeps track of holidays at different universities in Austria.

#


1142
1143
1144
# File 'lib/studium/constants/constants.rb', line 1142

def self.file_holidays
  "#{project_yaml_directory?}holidays/holidays.yml"
end

.file_important_exams?Boolean

#

Studium.file_important_exams?

#

Returns:

  • (Boolean)


1209
1210
1211
# File 'lib/studium/constants/constants.rb', line 1209

def self.file_important_exams?
  "#{project_yaml_directory?}important_exams.yml"
end

.file_indi2Object

#

Studium.file_indi2

#


1573
1574
1575
# File 'lib/studium/constants/constants.rb', line 1573

def self.file_indi2
  FILE_BACHELOR_INFORMATIK_UND_BIOTECHNOLOGIE_UNTER_BERÜCKSICHTIGUNG_IMMUNANALYTISCH_MOLEKULARMEDIZINISCHER_ASPEKTE
end

.file_last_question_asked?(use_this_as_the_log_directory = log_dir? ) ⇒ Boolean

#

Studium.file_last_question_asked?

Note that this method will return a “dynamic” result, which allows the user to use another log-directory.

#

Returns:

  • (Boolean)


418
419
420
421
422
423
424
# File 'lib/studium/constants/constants.rb', line 418

def self.file_last_question_asked?(
    use_this_as_the_log_directory =
      log_dir?
  )
  # "#{use_this_as_the_log_directory}last_question_asked.md"
  "#{use_this_as_the_log_directory}information_pertaining_to_the_last_exam_question_asked/last_exam_question_answer.md"
end

.file_last_topic?Boolean

#

Studium.file_last_topic?

#

Returns:

  • (Boolean)


1302
1303
1304
# File 'lib/studium/constants/constants.rb', line 1302

def self.file_last_topic?
  "#{log_dir?}last_topic/last_topic.md"
end

.file_lecture_aliasesObject

#

Studium.file_lecture_aliases

#


1202
1203
1204
# File 'lib/studium/constants/constants.rb', line 1202

def self.file_lecture_aliases
  "#{project_yaml_directory?}lecture_aliases.yml"
end

.file_lecture_information?Boolean

#

Studium.file_lecture_information?

Note that a certain environment variable will always overrule the result of the following method.

#

Returns:

  • (Boolean)


972
973
974
975
976
977
978
979
980
981
# File 'lib/studium/constants/constants.rb', line 972

def self.file_lecture_information?
  # ======================================================================= #
  # First check for the ENV variable STUDIUM_FILE_LECTURE_INFORMATION:
  # ======================================================================= #
  if ENV.has_key? 'STUDIUM_FILE_LECTURE_INFORMATION'
    return ENV['STUDIUM_FILE_LECTURE_INFORMATION'].dup
  else
    return @file_lecture_information
  end
end

.file_log_directoryObject

#

Studium.file_log_directory

#


81
82
83
# File 'lib/studium/logging/log_directory.rb', line 81

def self.file_log_directory
  "#{project_yaml_directory?}log_dir.yml"
end

.file_main_topic?Boolean

#

Studium.file_main_topic?

#

Returns:

  • (Boolean)


1316
1317
1318
# File 'lib/studium/constants/constants.rb', line 1316

def self.file_main_topic?
  "#{yaml_directory?}main_topic/main_topic.yml"
end

.file_master_bioinformatics_and_nanobiotechnology_in_molecular_medicineObject

#

Studium.file_master_bioinformatics_and_nanobiotechnology_in_molecular_medicine

This is at the BOKU.

#


1373
1374
1375
1376
# File 'lib/studium/constants/constants.rb', line 1373

def self.file_master_bioinformatics_and_nanobiotechnology_in_molecular_medicine
  "#{project_curricula_yaml_directory?}individual/"\
  "master_bioinformatics_and_nanobiotechnology_in_molecular_medicine.yml"
end

.file_max_statsObject

#

Studium.file_max_stats

#


1119
1120
1121
# File 'lib/studium/constants/constants.rb', line 1119

def self.file_max_stats
  "#{project_yaml_directory?}max_stats/max_stats.yml"
end

.file_mitteilungsblätterObject

#

Studium.file_mitteilungsblätter

#


1239
1240
1241
# File 'lib/studium/constants/constants.rb', line 1239

def self.file_mitteilungsblätter
  "#{yaml_directory?}mitteilungsblätter/mitteilungsblätter.yml"
end

.file_passed_exams_per_monthObject

#

Studium.file_passed_exams_per_month

This method is only useful on my home system really.

#


516
517
518
# File 'lib/studium/constants/constants.rb', line 516

def self.file_passed_exams_per_month
  "#{ROEBE_STUDIUM_DIR}yaml/passed_exams_per_month.csv"
end

.file_passwordsObject

#

Studium.file_passwords

This is only useful on my home system. It should probably be moved into its own file, such as roebe.rb.

#


372
373
374
# File 'lib/studium/constants/constants.rb', line 372

def self.file_passwords
  '/home/x/data/personal/yaml/passwords/passwords.yml'
end

.file_read_with_proper_encoding(this_file) ⇒ Object

#

Studium.file_read_with_proper_encoding

Make sure that we will use the main encoding that is used in the whole project, via this method here.

#


94
95
96
97
98
99
100
101
102
103
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 94

def self.file_read_with_proper_encoding(this_file)
  if this_file.is_a? Array
    this_file = this_file.first
  end
  dataset = File.read(
    this_file,
    encoding: ::Studium.main_encoding?
  )
  return dataset
end

.file_statistics?Boolean

#

Studium.file_statistics?

#

Returns:

  • (Boolean)


1309
1310
1311
# File 'lib/studium/constants/constants.rb', line 1309

def self.file_statistics?
  "#{Studium.yaml_directory?}statistics.yml"
end

.file_ten_aliasesObject

#

Studium.file_ten_aliases

#


1037
1038
1039
# File 'lib/studium/constants/constants.rb', line 1037

def self.file_ten_aliases
  "#{log_dir?}ten_aliases.yml"
end

.file_twenty_aliasesObject

#

Studium.file_twenty_aliases

#


1044
1045
1046
# File 'lib/studium/constants/constants.rb', line 1044

def self.file_twenty_aliases
  "#{log_dir?}twenty_aliases.yml"
end

.filter_away_invalid_questions(i, optional_argument_we_used_this_file = nil) ⇒ Object

#

Studium.filter_away_invalid_questions

This method will filter away invalid questions - that is, lines that start with a ‘#’ or lines that are completely empty.

The input to this method should be an Array.

This method will be re-used by several different classes.

The second argument is optional. If given, it shall denote the name/path to the file.

#


6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6255

def self.filter_away_invalid_questions(
    i,
    optional_argument_we_used_this_file = nil
  )
  require 'studium/colours/colours.rb'
  # ======================================================================= #
  # Check the first entry for its encoding. This is necessary in the
  # event that the local C library is broken.
  # ======================================================================= #
  # encoding_of_this_file = i.first.encoding.to_s
  # if encoding_of_this_file.include? 'US-ASCII'
  #   i = ensure_main_encoding(i)
  # end
  # ======================================================================= #
  # We may also check for incorrect entries in that file, if we have
  # set a certain constant to true. The next check ensures this.
  # ======================================================================= #
  if CHECK_FOR_INCORRECT_ENTRIES_IN_THE_QUESTION_ANSWER_FILE_THAT_SHOULD_BE_COMMENTS
    if i.any? {|line|
        line.start_with?(/[A-Za-z]{1}#/) # Exactly one character.
      }
      e ::Colours.rev+'Note that in the file'
      e "  `#{::Colours.sfile(optional_argument_we_used_this_file)}`"
      e ::Colours.rev+'there appears to be a wrong line/entry.'
      # =================================================================== #
      # Try to auto-correct it if we are on a Roebe-system.
      # =================================================================== #
      if is_on_roebe? and optional_argument_we_used_this_file
        modified_dataset = i.map {|entry|
          if entry.start_with?(/[A-Za-z]{1}#/)
            entry[0,1] = '' unless entry.start_with?('#')
          end
          entry
        }
        e ::Colours.rev+
          ::Colours.crimson('Autocorrecting')+
          ::Colours.rev+' this erroneous file, as we are on a roebe-system.'
        e ::Colours.rev+"Saving into `#{sfile(optional_argument_we_used_this_file)}`."
        write_what_into(
          modified_dataset,
          optional_argument_we_used_this_file
        )
      end
    end
  end
  array = i.reject {|line|
    line.start_with?('#') or # Get rid of comments.
    line.strip.empty? # Get rid of empty lines.
  } # Comments can not hold real questions.
  array
end

.find_corresponding_exam_title(i, be_verbose = true) ⇒ Object

#

Studium.find_corresponding_exam_title

This will return the corresponding exam title. It will pass the input through Studium.find_corresponding_exam_topic().

Usage examples:

title = Studium.find_corresponding_exam_title('technische_grundlagen_der_informatik') # => "Technische Grundlagen der Informatik"
title = Studium.find_corresponding_exam_title('mphysio') # => "Mikrobielle Physiologie"
#


2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 2762

def self.find_corresponding_exam_title(
    i, be_verbose = true
  )
  i = i.to_s.downcase
  # ======================================================================= #
  # First, pass the input through a filter:
  # ======================================================================= #
  i = ::Studium.find_corresponding_exam_topic(i, be_verbose)
  # ======================================================================= #
  # Next we can pass it in via a simple menu here:
  # ======================================================================= #
  i = case i
  # ======================================================================= #
  # === basic_virology
  # ======================================================================= #
  when 'basic_virology'
    'Virologie Allgemein'
  # ======================================================================= #
  # === advanced_topics_in_plant_sciences
  # ======================================================================= #
  when /^advanced(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?plant(_|-| |,)?sciences\??$/i,
       /^advanced(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?plant$/i
     'Advanced topics in plant sciences'
  # ======================================================================= #
  # === basic_chemistry
  # ======================================================================= #
  when 'basic_chemistry'
    'Chemie'
  # ======================================================================= #
  # === allgemeine_mikrobiologie
  # ======================================================================= #
  when 'allgemeine_mikrobiologie'
    'Allgemeine Mikrobiologie'
  # ======================================================================= #
  # === embryologie_und_entwicklung
  # ======================================================================= #
  when 'embryologie_und_entwicklung'
    'Entwicklungsbiologie'
  # ======================================================================= #
  # === computer
  # ======================================================================= #
  when 'computer',
    /^computer(_|-| |,)?science$/i
    'Computer Science'
  # ======================================================================= #
  # === Meteorologie und Atmosphäre
  # ======================================================================= #
  when /^meteorologie(_|-| |,)?und(_|-| |,)?atmosphäre$/i
    'Meteorologie und Atmosphäre'
  # ======================================================================= #
  # === pflanzenwissenschaften
  # ======================================================================= #
  when 'pflanzenwissenschaften',
       /^struktur(_|-| |,)?und(_|-| |,)funktion(_|-| |,)?der$/i
    'Struktur und Funktion der Pflanzen'
  when 'allgemeine_genetik'
    'Allgemeine Genetik'
  # ======================================================================= #
  # === Basic Biotechnology
  # ======================================================================= #
  when 'basic_biotechnology',
       /^basic(_|-| |,)?biotechnology$/i
    'Biotechnologie'
  # ======================================================================= #
  # === neurobiology
  # ======================================================================= #
  when 'neurobiology'
    'Neurobiologie'
  when 'zoologie'
    'Allgemeine Zoologie'
  # ======================================================================= #
  # === medizin
  # ======================================================================= #
  when 'medizin',
       /^medizin(_|-| |,)?und(_|-| |,)?biomedizinische(_|-| |,)?technik$/i
    'Medizin und biomedizinische Technik'
  # ======================================================================= #
  # === protein engineering
  # ======================================================================= #
  when 'protein_engineering'
    'Protein Engineering'
  # ======================================================================= #
  # === organische_chemie
  # ======================================================================= #
  when 'organische_chemie'
    'Organische Chemie'
  when 'analytische_chemie_1'
    'Analytische Chemie'
  # ======================================================================= #
  # === ecology
  # ======================================================================= #
  when 'ecology'
    'Ökologie'
  # ======================================================================= #
  # === physiologie
  # ======================================================================= #
  when 'physiologie',
       /^physiology(_|-| |,)?and(_|-| |,)?histology$/i
    'Physiology and Histology'
  # ======================================================================= #
  # === vektoren
  # ======================================================================= #
  when 'vektoren',
       /^vectors(_|-| |,)?and(_|-| |,)?gene(_|-| |,)?therapy$/i
    'Vektoren in der Gentechnologie'
  # ======================================================================= #
  # === ageing
  # ======================================================================= #
  when 'ageing'
    'Aging'
  when 'bioprozesstechnik'
    'Bioprozesstechnik'
  when 'technische_mikrobiologie'
    'TU Wien Microbiology'
  # === cellbiology
  when 'cellbiology'
    'Cellbiology'
  when 'physikalische_chemie'
    'Physikalische Chemie'
  when 'analytische_chemie_2'
    'Analytische Chemie 2'
  when 'gentechnik',/gentechnik_?und_?praktische_?biochemie$/
    'Gentechnik und praktische Biochemie'
  when 'festkörperchemie','festkÖrperchemie',
       'geochemistry',
       'festkörper'
    'Festkörper Chemie und Geochemie'
  when 'geologie',
       'geologie_und_mineralogie'
    'Geologie und Mineralogie'
  when 'anorganische_chemie'
    'Anorganische Chemie'
  when 'law','rechtsgrundlagen'
    'Rechtsgrundlagen'
  when 'organische_chemie_2'
    'Organische Chemie 2'
  when 'biologie_des_wasser','wasserkunde'
    'Wasserkunde'
  when 'technische_chemie'
    'Technische Chemie'
  when 'signal_transduction',
       /^signal(_|-| |,)?transduction(_|-| |,)?and(_|-| |,)?laser(_|-| |,)?systems$/i
    'Signaltransduktion und Lasersysteme'
  when 'paleobiology'
    'Paläobiologie'
  when 'medizinische_chemie',
       /^medizinische(_| )?chemie(_| )?und(_| )?pharmazie$/
    'Medizinische Chemie und Pharmazie'
  when 'cancerbiology'
    'Cancer'
  # ======================================================================= #
  # === cytogenetik
  # ======================================================================= #
  when 'cytogenetik',
       /^cytogenetics(_|-| |,)?and(_|-| |,)?chromosome(_|-| |,)?biology$/i         
    'Cytogenetics and Chromosome Biology'
  # ======================================================================= #
  # === urea_cycle
  # ======================================================================= #
  when /^urea(_|-| |,)?cycle\??$/i
    'The Urea Cycle'
  # ======================================================================= #
  # === erste_hilfe
  # ======================================================================= #
  when /^erste(_|-| |,)?hilfe\??$/i
    'Erste Hilfe'
  # ======================================================================= #
  # === statistik
  # ======================================================================= #
  when 'statistik',
      /^qastatistik\??$/i
    'Statistik'
  when 'basic_biochemistry'
    'Basic Biochemistry'
  when 'advanced_biochemistry'
    'Advanced Biochemistry'
  when 'fortgeschrittene_physik'
    'Fortgeschrittene Physik'
  # ======================================================================= #
  # === advanced_biotechnology
  # ======================================================================= #
  when 'advanced_biotechnology'
    'Advanced Biotechnology'
  # ======================================================================= #
  # === bioanalytik
  # ======================================================================= #
  when 'bioanalytik',
       /^bioanalytik(_|-| |,)?und(_|-| |,)?biosensoren$/
    'Bioanalytik und Biosensoren'
  # ======================================================================= #
  # === /^genomics(_|-| |,)?and(_|-| |,)?metagenomics$/
  # ======================================================================= #
  when 'genomics',
      /^genomics(_|-| |,)?and(_|-| |,)?metagenomics$/
    'Genomik und Metagenomik'
  # ======================================================================= #
  # === netzwerke
  # ======================================================================= #
  when /^netzwerke\??$/i,
       /^-?-?computer(_|-| |,)?networks$/
    'Computer networks'
  # ======================================================================= #
  # === clinical_microbiology
  # ======================================================================= #
  when /^clinical(_|-| |,)?microbiology$/
    'Clinical Microbiology'
  # ======================================================================= #
  # === molekulare_medizin
  # ======================================================================= #
  when 'molekulare_medizin'
    'Molekulare Medizin'
  # ======================================================================= #
  # === technisches_zeichnen
  # ======================================================================= #
  when /^technisches(_|-| |,)?zeichnen$/i
    'Technisches Zeichnen'
  # ======================================================================= #
  # === evolution
  # ======================================================================= #
  when 'evolution',
      /^evolution(_|-| |,)?and(_|-| |,)?evolutionary(_|-| |,)?genetics$/i
    'Evolution and Evolutionary Genetics'
  # ======================================================================= #
  # === rna_and_dna
  # ======================================================================= #
  when 'rna_and_dna'
    'DNA und RNA'
  # ======================================================================= #
  # === research_topics_in_immunobiology
  # ======================================================================= #
  when 'research_topics_in_immunobiology'
    'Research topics in Immunobiology'
  # ======================================================================= #
  # === prokaryote_genetics
  # ======================================================================= #
  when 'prokaryote_genetics'
    'Prokaryote Genetics'
  when 'fortgeschrittene_gentechnik'
    'Fortgeschrittene Gentechnik'
  when 'fortgeschrittene_genetik'
    'Fortgeschrittene Genetik'
  when 'pcr'
    'PCR'
  when 'populationsgenetik'
    'Populationsgenetik'
  # ======================================================================= #
  # === ecogenetics
  # ======================================================================= #
  when 'ecogenetics'
    'Ökogenetik'
  # ======================================================================= #
  # === chemisches_labor
  # ======================================================================= #
  when /^chemisches(_|-| |,)?labor$/i
    'Chemisches Labor'
  # ======================================================================= #
  # === theoretische_chemie
  # ======================================================================= #
  when 'theoretische_chemie'
    'Theoretische Chemie'
  # ======================================================================= #
  # === plant_biotechnology
  # ======================================================================= #
  when 'plant_biotechnology'
    'Plant Biotechnology'
  when 'advanced_virology'
    'Advanced Virology'
  when 'microbial_ecology'
    'Mikrobielle Ökologie'
  # ======================================================================= #
  # === the_cellcycle
  # ======================================================================= #
  when 'the_cellcycle',
       /^the(_|-| |,)?cell(_|-| |,)?cycle$/i
    'The Cellcycle'
  when 'bioressourcenmanagement'
    'Bioressourcenmanagement'
  when /^object(_|-| |,)?oriented(_|-| |,)?modeling$/i
    'Objekt-orientiertes Modellieren'
  when 'technical_ecology'
    'Technische Ökologie'
  when 'agrar_ecology'
    'Agrarökologie'
  when 'veterinary_medicine'
    'Veterinärmedizin'
  when 'advanced_chemistry'
    'Advanced Chemistry'
  when 'landtechnik'
    'Grundlagen der Landtechnik'
  when 'agrarmarkt'
    'Agrarmärkte'
  when 'human_ecology'
    'Humanökologie'
  when 'quality_management'
    'Quality Management'
  # ======================================================================= #
  # === artificial_intelligence
  # ======================================================================= #
  when 'artificial_intelligence'
    'Artificial Intelligence'
  when 'translational_control',
       /^translation_?ribosomes_?and_?translational_?control$/
    'Translation, Ribosomes and Translational Control'
  when 'posttranslationale_modifikation_von_proteinen'
    'Posttranslationale Modifikation von Proteinen'
  when 'stemcells'
    'Stammzellen'
  # ======================================================================= #
  # === plant_breeding
  # ======================================================================= #
  when 'plant_breeding'
    'Pflanzenzüchtung (Plant Breeding)'
  when 'aminoacids'
    'Amino Acids'
  # ======================================================================= #
  # === enzymes
  # ======================================================================= #
  when 'enzymes',
      /^enzymes(_|-| |,)?and(_|-| |,)?cofactors$/i
    'Enzymes and Cofactors'
  when 'advanced_microbiology'
    'Advanced Microbiology'
  when 'antibodies',/^antibodies(_|-| |,)?and(_|-| |,)?antigens$/
    'Antibodies and Antigens'
  when 'molecular_biology_of_plants',
       /^molecular(_|-| |,)?biology(_|-| |,)?of(_|-| |,)?the$/i
    'Molecular Biology of the Plant'
  when 'lebensmitteltechnologie'
    'Lebensmitteltechnologie'
  when 'universe','the_universe'
    'The Universe'
  when 'advanced_cellbiology'
    'Advanced Cell Biology'
  # === insulin
  when 'insulin',
       /^insulin(_|-| |,)?and(_|-| |,)?diabetes$/
    'Insulin and Diabetes'
  # === rna_seq
  when 'rna_seq'
    'RNA Seq'
  # === innate_immunity
  when 'innate_immunity'
    'Innate Immunity'
  when 'genetische_krankheiten'
    'Genetische Krankheiten'
  when 'systematische_zoologie'
    'Systematische Zoologie'
  when /^betriebssysteme?$/
    'Betriebssysteme'
  when 'the_c_programming_language'
    'The C Programming Language'
  when 'fish'
    'FISH - Fluorescence in-situ hybridization'
  when 'ruby_on_rails'
    'Ruby on Rails'
  when 'viral_vectors'
    'Virale Vektoren'
  when 'plant_development'
    'Plant Development'
  when 'grassland_cultivation','grünlandwirtschaft'
    'Grünlandbewirtschaftung (Grassland cultivation)'
  when 'ecological_agriculture'
    'Ökologische Landwirtschaft (Ecological Agriculture)'
  when 'the_european_union'
    'The European Union'
  when 'lipids'
    'Lipide'
  when 'nucleotide_sequencing'
    'Nucleotide Sequencing'
  when 'databases','datenbanken','database',
       /^databases(_|-| |,)?and(_|-| |,)?sql$/
    'Databases and SQL'
  when 'biological_therapeutics'
    'Biological Therapeutics'
  # ======================================================================= #
  # === alcohols
  # ======================================================================= #
  when 'alcohols','alkohole'
    'Alkohole'
  # ======================================================================= #
  # === mikrobielle_physiologie
  # ======================================================================= #
  when 'mikrobielle_physiologie'
    'Mikrobielle Physiologie'
  # ======================================================================= #
  # === technische_grundlagen_der_informatik
  # ======================================================================= #
  when /^technische(_|-| |,)?grundlagen(_|-| |,)?der(_|-| |,)?informatik$/i
    'Technische Grundlagen der Informatik'
  # ======================================================================= #
  # === patent_law
  # ======================================================================= #
  when /^patent(_|-| |,)?law\??$/i
    'Patent Law'
  # ======================================================================= #
  # === the_c_plus_plus_programming_language
  # ======================================================================= #
  when 'the_c_plus_plus_programming_language'
    'The C++ programming language'
  # ======================================================================= #
  # === semisynthese_von_proteinen_und_nukleotiden
  # ======================================================================= #
  when 'semisynthese_von_proteinen_und_nukleotiden',
       'semisynthese_von_proteinen'
    'Semisynthese von Proteinen und Nukleotiden'
  # ======================================================================= #
  # === naturschutz
  # ======================================================================= #
  when 'naturschutz',
       /^nature(_|-| |,)?conservation(_|-| |,)?and(_|-| |,)?biodiversity(_|-| |,)?$/i
    'Naturschutz und Biodiversität'
  # ======================================================================= #
  # === biochips
  # ======================================================================= #
  when 'biochips',
       /^biochips(_|-| |,)?and(_|-| |,)?microarray$/i
    'Biochips and Microarray'
  # ======================================================================= #
  # === urbanism
  # ======================================================================= #
  when 'urbanism','urbanism_and_traffic'
    'Urbanism and Traffic'
  # ======================================================================= #
  # === vaccines_and_vaccination
  # ======================================================================= #
  when 'vaccines_and_vaccination'
    'Vaccines and Vaccination'
  # ======================================================================= #
  # === glycolysis
  # ======================================================================= #
  when 'glycolysis',
       /^glycolysis\??$/i
    'Die Glykolyse'
  # ======================================================================= #
  # === gluconeogenesis
  # ======================================================================= #
  when 'gluconeogenesis',
       'gluco',
       /^gluconeogenesis\??$/i
    'Die Gluconeogenesis'
  # ======================================================================= #
  # === rnai
  # ======================================================================= #
  when /^RNAi$/i,/^RNAi(_|-| |,)?siRNA(_|-| |,)?and(_|-| |,)?miRNA$/i,
       /^miRNA$/i
    'RNAi, siRNA and miRNA'
  # ======================================================================= #
  # === mikrobielle_lebensgemeinschaften
  # ======================================================================= #
  when /^mikrobielle(_|-| |,)?lebensgemeinschaften$/
    'Mikrobielle Lebensgemeinschaften'
  # ======================================================================= #
  # === theoretische_informatik
  # ======================================================================= #
  when /^theoretische(_|-| |,)?informatik$/
    'Theoretische Informatik'
  # ======================================================================= #
  # === javascript
  # ======================================================================= #
  when 'javascript'
    'JavaScript'
  # ======================================================================= #
  # === system_biology
  # ======================================================================= #
  when 'system_biology',
       /^system(_|-| |,)?biology(_|-| |,)?and(_|-| |,)?synthetic(_|-| |,)?biology$/
    'System Biology and Synthetic Biology'
  # ======================================================================= #
  # === architecture
  # ======================================================================= #
  when 'architecture',
       'architektur'
    'Architektur'
  # ======================================================================= #
  # === dna_replication
  # ======================================================================= #
  when 'dna_replication'
    'DNA Replication'
  # ======================================================================= #
  # === endospores_and_spores
  # ======================================================================= #
  when 'endospores_and_spores',
       /^endosporen(_|-| |,)?und(_|-| |,)?sporen$/i
    'Endosporen und Sporen'
  # ======================================================================= #
  # === the_bacterial_cell_wall
  # ======================================================================= #
  when 'the_bacterial_cell_wall'
    'The bacterial cell wall'
  # ======================================================================= #
  # === biofilms
  # ======================================================================= #
  when 'biofilms'
    'Biofilme'
  # ======================================================================= #
  # === bacteriophages
  # ======================================================================= #
  when 'bacteriophages','phages'
    'Bakteriophagen'
  # ======================================================================= #
  # === dna_mutation_and_dna_repair
  # ======================================================================= #
  when /^dna(_|-| |,)?mutation(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repa?i?r?$/,
       'dna_mutation_and_dna_repair',
       'mutation'
    'DNA Mutation and DNA Repair'
  # ======================================================================= #
  # === the_interferon_system
  # ======================================================================= #
  when /^the(_|-| |,)?interferon(_|-| |,)?system$/i
    'The Interferon system'
  # ======================================================================= #
  # === pharmazeutische_biotechnologie
  # ======================================================================= #
  when /^pharmazeutische(_|-| |,)?biotechnologie$/i,
       /^pharmaceutical(_|-| |,)?biotechnology$/i
    'Pharmaceutical Biotechnology'
  # ======================================================================= #
  # === molekulare_infektionsbiologie
  # ======================================================================= #
  when /^molekulare(_|-| |,)?infektionsbiologie$/i,
       /^parasitic(_|-| |,)?diseases(_|-| |,)?and(_|-| |,)?molecular(_|-| |,)?infection(_|-| |,)?biology$/i
    'Parasitic Diseases and Molecular Infection Biology'
  # ======================================================================= #
  # === structural_bioinformatics
  # ======================================================================= #
  when /^structural(_|-| |,)?bioinformatics$/i
    'Structural Bioinformatics'
  # ======================================================================= #
  # === computer_graphics
  # ======================================================================= #
  when /^computer(_|-| |,)?graphics$/i,
       /^computer(_|-| |,)?vision(_|-| |,)?and(_|-| |,)?computer(_|-| |,)?graphics$/i
    'Computer Graphics'
  # ======================================================================= #
  # === food_microbiologiy
  # ======================================================================= #
  when /^food(_|-| |,)?microbiology$/i,
       /^food(_|-| |,)?microbiology(_|-| |,)?and(_|-| |,)?food(_|-| |,)?biotechnology$/i
    'Food Microbiology and Food Biotechnology'
  when 'chemische_technologie_anorganischer_stoffe'
    'Chemische Technologie anorganischer Stoffe'
  # ======================================================================= #
  # === HTML
  # ======================================================================= #
  when 'html'
    'HTML'
  # ======================================================================= #
  # === splicing_exons_and_introns
  # ======================================================================= #
  when /^splicing_exons_and_introns$/i
    'Splicing, Exons and Introns'
  # ======================================================================= #
  # === cell_cultures
  # ======================================================================= #
  when /^cell(_|-| |,)?cultures$/i
    'Cell cultures'
  # ======================================================================= #
  # === chemotaxis_and_motility_in_prokaryotes
  # ======================================================================= #
  when /^chemotaxis(_|-| |,)?and(_|-| |,)?motility(_|-| |,)?in(_|-| |,)?prokaryotes\??$/i,
       /^chemotaxie?s(_|-| |,)?quorum(_|-| |,)?sensing(_|-| |,)?and(_|-| |,)?motility(_|-| |,)?in(_|-| |,)?prokaryotes\??$/i
    'Chemotaxis, Quorum sensing and motility in prokaryotes'
  # ======================================================================= #
  # === cellular_transport_and_protein_secretion
  # ======================================================================= #
  when /^cellular(_|-| |,)?transport/i,
       /^cellular(_|-| |,)?transport(_|-| |,)?and(_|-| |,)?protein(_|-| |,)?secretion$/i
    'Cellular transport and protein secretion'
  # ======================================================================= #
  # === elisa
  # ======================================================================= #
  when /^elisa$/i
    'ELISA'
  # ======================================================================= #
  # === light_microscopy
  # ======================================================================= #
  when /^light(_|-| |,)?microscopy$/i
    'Light Microscopy'
  # ======================================================================= #
  # === electron_microscopy
  # ======================================================================= #
  when /^electron(_|-| |,)?microscopy$/i
    'Electron Microscopy'
  # ======================================================================= #
  # === mikroskopie
  # ======================================================================= #
  when 'mikroskope','mikroskopie',
       /^imaging(_|-| |,)?and(_|-| |,)?microscopy$/i
    'Imaging and Microscopy'
  # ======================================================================= #
  # === scientific_writing
  # ======================================================================= #
  when /^scientific(_|-| |,)?writing$/i,
       /^scientific(_|-| |,)?writing(_|-| |,)?and(_|-| |,)?publishing$/i
    'Scientific writing and publishing'
  # ======================================================================= #
  # === peroxisomes
  # ======================================================================= #
  when /^peroxisomes$/i,
       /^peroxisomes(_|-| |,)?glycosomes(_|-| |,)?and(_|-| |,)?lysosomes\??$/i
    'Peroxisomes, Glycosomes and Lysosomes'
  # ======================================================================= #
  # === the_microbiome
  # ======================================================================= #
  when /^the(_|-| |,)?microbiome$/i
    'The Microbiome'
  # ======================================================================= #
  # === elektrotechnik
  # ======================================================================= #
  when /^elektrotechnik$/i,
       /^elektrotechnik(_|-| |,)?und(_|-| |,)?elektrizität$/i
    'Elektrotechnik und Elektrizität'
  # ======================================================================= #
  # === cytokines
  # ======================================================================= #
  when /^cytokines$/i,
       /^chemokines(_|-| |,)?and(_|-| |,)?cytokines$/i
    'Chemokines and Cytokines'
  # ======================================================================= #
  # === advanced_immunology
  # ======================================================================= #
  when /^advanced(_|-| |,)?immunology\??$/i
    'Advanced Immunology'
  # ======================================================================= #
  # === archaeo-viruses
  # ======================================================================= #
  when /^archaeo(_|-| |,)?viruses\??$/i
    'Viruses of Archaea'
  # ======================================================================= #
  # === fluorescence_microscopy
  # ======================================================================= #
  when /^fluorescence(_|-| |,)?microscopy\??$/i
    'Fluorescence Microscopy'
  # ======================================================================= #
  # === sport_und_sportverletzungen
  # ======================================================================= #
  when /^sport(_|-| |,)?und(_|-| |,)?sportverletzungen$/i
    'Sport und Sportverletzungen'
  # ======================================================================= #
  # === citric_acid_cycle
  # ======================================================================= #
  when /^citric(_|-| |,)?acid(_|-| |,)?cycle$/i
    'Citric Acid Cycle'
  # ======================================================================= #
  # === mess_und_regeltechnik
  # ======================================================================= #
  when /^messtechnik(_|-| |,)?und(_|-| |,)?regeltechnik$/i
    'Messtechnik und Regeltechnik'
  # ======================================================================= #
  # === cellular_vesicles
  # ======================================================================= #
  when /^cellular(_|-| |,)?vesicles$/i
    'Cellular Vesicles'
  # ======================================================================= #
  # === lebensmittel_und_getränke
  # ======================================================================= #
  when /^lebensmittel(_|-| |,)?und(_|-| |,)?getränke$/i,
       /^lebensmittel$/i
    'Lebensmittel und Getränke'
  # ======================================================================= #
  # === biomedical_studies
  # ======================================================================= #
  when /^biomedical(_|-| |,)?studies$/i
    'Biomedical Studies'
  # ======================================================================= #
  # === abfall
  # ======================================================================= #
  when 'abfall',
       'abfall_als_ressource'
    'Abfall als Ressource'
  # ======================================================================= #
  # === linux_and_unix
  # ======================================================================= #
  when /^linux(_|-| |,)?and(_|-| |,)?unix\??$/i
    'Linux and Unix'
  # ======================================================================= #
  # === python (and more)
  # ======================================================================= #
  when 'python','archaea','cyanobacteria','naturstoffe',
       'biopolymers',
       'bionik',
       'vitamine',
       'biomembranes',
       /^transcription$/,
       'pflanzenanatomie',
       'toxikologie',
       'forensik',
       'tierzucht',
       'biomarkers',
       'forstwirtschaft',
       'java', # === java
       'strukturbiologie',
       'geschichte',
       'wissenschaft',
       /^geography$/i,
       /^geographie$/i,
       'informatik',
       /^excel$/i,
       'sexualbiologie',
       'betriebswirtschaftslehre',
       'klima',
       'macroeconomics',
       'biomaterials',
       'elektronenmikroskopie',
       'allergie',
       'prozesstechnik',
       'glykomik',
       'glyoxylatzyklus',
       'weinbau',
       'fungi',
       'crispr',
       'yeast',
       'ruby',
       'ethik',
       'physik',
       'anatomie',
       'obstbau',
       'hormone',
       'nanotechnologie',
       'management',
       'bauwesen',
       'economy',
       'nutztierethologie',
       'genexpression',
       'apoptosis',
       'immunologie',
       'biophysik',
       'pflanzenbau',
       'elektrophorese',
       'insekten',
       /^chemische(_|-| |,)?technologie(_|-| |,)?organischer(_|-| |,)?stoffe$/i,
       'hygiene',
       'cellulose',
       'immunanalytik',
       'immunoassay',
       'microcontrollers',
       'mitochondria',
       'pflanzenschutz',
       /^projektmanagement$/i,
       'mathematics',
       'algorithms',
       'psychologie',
       'stickstofffixierung',
       'epigenetik',
       'pentosephosphatweg',
       'bioelektrochemie',
       'glycogen',
       'proteolyse',
       'proteomik',
       'metabolismus',
       'geometrie',
       'audio',
       'umweltbiotechnologie',
       'parasitologie',
       'bodenkunde',
       'atomemissionsspektrometrie',
       'bioinformatics',
       'kryptographie',
       'phytochemie',
       'bodenmikrobiologie',
       'pathologie',
       'thermodynamics',
       'verfahrenstechnik',
       'anthropologie',
       'marketing',
       'biologie',
       'birds',
       'mixed',
       'verhaltensbiologie',
       'protozoans',
       'agrarphysik',
       'robotics',
       'sozialbiologie',
       'umweltchemie',
       'neuroanatomie',
       'programming',
       'technik',
       'soziologie',
       'archaeology'
    i.capitalize
  end
  return i
end

.find_corresponding_exam_topic(i, be_verbose = true, &block) ⇒ Object

#

Studium.find_corresponding_exam_topic

This method will expand from any input towards a (hopefully) locally existing file under the exam_topics/ directory.

The match that will be returned, must be downcased, because all the files in the exam_topics/ directory are also downcased.

Do not forget that when you add an entry here, to also add the title in the same file.

You can also use a Symbol, as the last example shows in the Usage examples that come next.

Usage examples:

x = Studium.find_corresponding_exam_topic('imm')            # => "immunologie"
x = Studium.find_corresponding_exam_topic('mphysio')        # => "mikrobielle_physiologie"
x = Studium.find_corresponding_exam_topic('bioinformatics') # => "bioinformatics"
x = Studium.find_corresponding_exam_topic(:bioinformatics)  # => "bioinformatics"
x = Studium.find_corresponding_exam_topic('anachem2')       # => analytische_chemie_2
x = Studium.find_corresponding_exam_topic('bioinf')         # => "bioinformatics"
x = Studium.find_corresponding_exam_topic(:amg1)            # => "allgemeine_genetik"
#


73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 73

def self.find_corresponding_exam_topic(
    i,
    be_verbose = true,
    &block
  )
  case be_verbose
  # ======================================================================= #
  # === :be_verbose
  # ======================================================================= #
  when :be_verbose
    be_verbose = true
  # ======================================================================= #
  # === :be_quiet
  # ======================================================================= #
  when :be_quiet
    be_verbose = false
  end
  # ======================================================================= #
  # === Handle blocks given to this method
  # ======================================================================= #
  if block_given?
    yielded = yield
    case yielded
    # ===================================================================== #
    # === :be_quiet
    # ===================================================================== #
    when :be_quiet
      be_verbose = false
    end
  end
  if i.is_a?(Array) and i.empty? # Assume ARGV Array given here.
    i = :rand # Use a default assignment for random input in this case.
  end
  begin
    i = i.first if i.is_a? Array
    i = i.to_s.downcase # Always work with Strings past this point.
  rescue ArgumentError => error
    e 'An error was encountered on line 55, in the file '+
      __FILE__
    pp error
    pp i
    e i.encoding.to_s
    exit # ← We exit here so that we can debug this situation.
  end
  # ======================================================================= #
  # We chop away from input that contains ' ('.
  # ======================================================================= #
  if i.include? ' ('
    i = i[0, i.index(' (')]
  end
  i = DEFAULT_TOPIC if i == 'def' # This constant is defined in the file constants.rb.
  i = i.chomp.delete('?') # Make the input a bit prettier.
  case i # (Case tag, case tag)
  when 'rand',
       'random',
       'random_question',
       'random_topic' # Fetch a random question here.
    # ===================================================================== #
    # We semi-"cheat" here by simply reading in the available files.
    # ===================================================================== #
    i = File.basename(
          Dir[directory_to_the_exam_topics?+'*'].sample
        ) # We need the constant EXAM_TOPICS here.
  end
  i = 
  case i # case tag
  # ======================================================================= #
  # === allgemeine_genetik
  # ======================================================================= #
  when '1',
       'schweyen',
       'schw',
       's',
       'amg',
       'mg',
       'genetik',
       'gen',
       'fragen_amg',
       'allgemeine_genetik',
       'amg1',
       'am',
       'genetics',
       /^allgemeine(-|_| |,)?genetik$/i,
       'agm'
    'allgemeine_genetik'
  # ======================================================================= #
  # === basic_chemistry
  # ======================================================================= #
  when '2',
       'chem',
       'chemie',
       'chemi',
       'chem1',
       'chemie1',
       /^-?-?basic(_|-| |,)?chemistry/,
       'basic chemistry',
       /^chemistry\??$/i
     'basic_chemistry'
  # ======================================================================= #
  # === mixed
  # ======================================================================= #
  when '3',
       'misc',
       'mixed',
       'misc?',
       /^-?-?qamisc(_|-| |,)?$/i
    'mixed'
  # ======================================================================= #
  # === mikrobiologie1
  # ======================================================================= #
  when '4','wagner','w',
       'mikrobio?',
       'mikrobio',
       'mikrobiologie',
       'mo',
       'witte',
       'allgemeine_mikrobiologie',
       'allgemeinemikrobiologie',
       'moll',
       'amm',
       'amm1',
       'allgemeine mikrobiologie',
       'microbiology1',
       'mikrobiologie1',
       /^witte1?\??$/i,
       /^bacteria$/i,
       /^basic(_|-| |,)?microbiology$/i
    'allgemeine_mikrobiologie'
  # ======================================================================= #
  # === entwicklungsbiologie
  # ======================================================================= #
  when '5',
       'entwicklungsbiologie','embryologie_und_entwicklung', 
       'embryologie','emb','entwicklung',
       'entw',
       'devel',
       'embroy',
       /embryo?/,
       'devbio',
       /^developmental(_|-| |,)?biology$/i,
       'entwicklungsgenetik',
       'ebio',
       'dev',
       'embryologieundentwicklung',
       'embryologie und entwicklung',
       'modellorganismen'
    'embryologie_und_entwicklung'
  # ======================================================================= #
  # === computer
  # ======================================================================= #
  when '6','computer','computer_fragen',
       'fragenübercomputer',
       'fragen über computer',
       'computerfragen',
       'computer fragen',
       'compu',
       /^computer(_|-| |,)?science$/i
    'computer_science'
  # ======================================================================= #
  # === pflanzenwissenschaften
  # ======================================================================= #
  when '7','plant',
       'ab2',
       'pflanzen',
       'fragen_ab2',
       'plants',
       'pflanzenwissenschaft',
       'pflanzenwissenschaften',
       /^struktur(_|-| |,)?und(_|-| |,)funktion(_|-| |,)?der(_|-| |,)?pflanzen?$/i,
       /^struktur(_|-| |,)?und(_|-| |,)funktion(_|-| |,)?der$/i,
       /^qa(_|-| |,)?ab2$/i,
       /^pflanze1$/i,
       'ab',
       'strukturundfunktionderpflanzen',
       /^botanik\??$/i
    'pflanzenwissenschaften'
  # ======================================================================= #
  # === immunologie
  # ======================================================================= #
  when '8',
       'immuno',
       'fragen_immunologie',
       'immunologie',
       'imm',
       'immunology',
       'imuno',
       'immuno1',
       'imm1',
       'immun',
       /^basic(_|-| |,)?immunology$/i,
       /^qa(_|-| |,)?imm1?$/i
    'immunologie'
  # ======================================================================= #
  # === virologie
  # ======================================================================= #
  when '9','virologie','vir','virus',
       'viruses',
       'v',
       'vi',
       'viros',
       'virologieallgemein',
       'basic_virology',
       'basicvirology',
       'bvirus',
       'vir1',
       'basic virology',
       'virology1',
       'virus1',
       /^Virologie(-|_| |,)?Allgemein$/i,
       /^basic(-|_| |,)?virology$/i,
       /^qavirus\??$/i 
    'basic_virology'
  # ======================================================================= #
  # === genexpression
  # ======================================================================= #
  when '10',
       'genexpression',
       /^genexo?$/i,
       'genx',
       'fragen_genex',
       'def',
       'default',
       'genexpresse',
       'genex1',
       'enex',
       'gneex'
    'genexpression'
  # ======================================================================= #
  # === basic_biotechnology
  # ======================================================================= #
  when '11',
       'biotech',
       'bio',
       'btech',
       'biotechnologie_tu_wien',
       'biotechnologietuwien',
       'fragen_biotechnologie_tu_wien',
       /^basic(_|-| |,)?biotech$/i,
       /^basic(_|-| |,)?biotechnology$/i,
       /^biotechnologie$/i,
       'biotech1',
       'biotehc',
       'bech1',
       'biotechnology1',
       'bach1'
    'basic_biotechnology'
  # ======================================================================= #
  # === bioinformatik
  # ======================================================================= #
  when '12',
       'bioinformatik',
       'bioinf',
       'bioinfo',
       'bioinformatics',
       'binf',
       'bioinfor',
       'bioinformatic',
       /bioinf1$/i
    'bioinformatics'
  # ======================================================================= #
  # === verhalten
  # ======================================================================= #
  when '13',
       'neuro',
       'neurobiologie',
       'neruo',
       'neurobiology',
       'neuron',
       /neurologie\??$/i,
       /cognitive\??$/i
    'neurobiology'
  # ======================================================================= #
  # === physics
  # ======================================================================= #
  when '14',
       /physi(k|c)?$/,
       'array_fragen_physik',
       'fragen_physik',
       'physics',
       /^qaphysik\??$/i,
       /^physik1$/i
    'physik'
  # ======================================================================= #
  # === mathematics
  # ======================================================================= #
  when '15','math',
       'mat',
       'mathematik',
       'mathematic',
       'array_math',
       'mathematics',
       'basic_math',
       /^qa?math\??$/,
       /mathematik1$/i,
       /math1$/i,
       'mathe'
    'mathematics'
  # ======================================================================= #
  # === zoology
  # ======================================================================= #
  when '16',
       'zoologie','ab4',
       'zoo',
       'tiere',
       'array_zoologie',
       'zoology',
       /^allgemeine(_|-| |,)?zoologie$/i,
       /^animals?$/i
    'zoologie'
  # ======================================================================= #
  # === nanotech
  # ======================================================================= #
  when '17',
       'nanotech',
       'nanotechnologie',
       'nanotechnology',
       'nanobiotechnologie',
       'array_fragen_nanotechnologie',
       /^fragen_?nanotechnologie/,
       'nano',
       'anno',
       'nanobiotech',
       'nanomedicine',
       /^qa?(_|-| |,)?nano\??$/i
    'nanotechnologie'
  # ======================================================================= #
  # === medizin
  # ======================================================================= #
  when '18',
       'medizin',
       'fragen_medizin',
       'medicine',
       'biomed',
       'biomedizin',
       'biomedicine',
       /^medizin(_|-| |,)?und(_|-| |,)?biomedizinische(_|-| |,)?technik$/i,
       /^medizin(_|-| |,)?und(_|-| |,)?biomedizinisc$/i,
       /^qamedizin$/i
    'medizin_und_biomedizinische_technik'
  # ======================================================================= #
  # === organische_chemie
  # ======================================================================= #
  when '19','orgc',
       'organische_chemie',
       'org',
       'fragen_organische_chemie',
       'organische chemie',
       'orgc1',
       'org1',
       'organischechemie',
       'orgch',
       'organic_chemistry1',
       'ogc',
       /^organic(_|-| |,)?chemistry$/i
    'organische_chemie'
  # ======================================================================= #
  # === analytische_chemie
  # ======================================================================= #
  when '20',
       'ana',
       'analytische_chemie',
       'analyt',
       'analytischechemie',
       'fragen_analytische_chemie',
       'analytik',
       /analytische(_|-| |,)?chemie(_|-| |,)?1$/,
       'analytische chemie',
       'analytical_chemistry',
       'analyticchemistry',
       'analytical_chem',
       'anachem'
    'analytische_chemie_1'
  # ======================================================================= #
  # === ökologie
  # ======================================================================= #
  when '21','ecology','fragen_ecology','e',
       'ecology?',
       'öko',
       'ökologie',
       'ecol',
       'eco',
       'Ökologie'
    'ecology'
  # ======================================================================= #
  # === physiologie
  # ======================================================================= #
  when '22',
       'ab3',
       'physiologie',
       'phys',
       'fragen_physiologie',
       'physio','physiology',
       'histologie',
       'histology',
       'physi',
       /^physiology(_|-| |,)?and(_|-| |,)?histology/i,
       /^qapysio\??$/i,
       /^qaphysio\??$/i
    'physiology_and_histology'
  # ======================================================================= #
  # === vektor
  # ======================================================================= #
  when '23',
       'vektor',
       'vector','vectors','vektoren',
       'fragen_vektoren',
       'genetherapy',
       'gentherapie',
       'vektorenindergentechnologie',
       'genthera',
       'vektoren in der gentechnologie',
       'vektors',
       'gene_therapy',
       'viral_vectors',
       'gentherapy',
       'viralvectors',
       /^vektoren(_|-| |,)?in(_|-| |,)?der(_|-| |,)?gentechnologie$/i,
       /^vektoren(_|-| |,)?in(_|-| |,)?der(_|-| |,)?gentechno$/i,
       /^vectors(_|-| |,)?and(_|-| |,)?gene(_|-| |,)?therapy$/i
    'vectors_and_gene_therapy'
  # ======================================================================= #
  # === phytochemie
  # ======================================================================= #
  when '24','fragen_phytochemie','phytochem','phytochemie'
    'phytochemie'
  # ======================================================================= #
  # === aging
  # ======================================================================= #
  when '25',
       'aging',
       'age',
       'ageing'
    'ageing'
  # ======================================================================= #
  # === bioprozesstechnik
  # ======================================================================= #
  when '26',
       'bioprozesstechnik',
       'bioprozess',
       'bioverfahren',
       'bioverfahrenstechnik',
       'bioprocess'
    'bioprozesstechnik'
  # ======================================================================= #
  # === mikrobio_tuwien
  # ======================================================================= #
  when '27',
       'tuwien_microbiology','microbiology',
       'tuwien',
       'mikrobio_tuwien',
       'micro',
       'tuwien_microbio',
       'tuwienmicrobiology',
       'tuwien_micro',
       'technische_mikrobiologie',
       'technischemikrobiologie',
       'tu wien microbiology',
       'technische mikrobiologie',
       'tumicrobiologie',
       'tumicro',
       'tuwienmikro',
       'tuwien_mikrobiologie',
       'tuwienmikrobiologie',
       /^tu(_|-| |,)?microbiology$/,
       /^tu(_|-| |,)?microbio$/,
       /^tu(_|-| |,)?wien(_|-| |,)?microbiology$/
    'technische_mikrobiologie'
  # ======================================================================= #
  # === cellbiology
  # ======================================================================= #
  when '28',
       'cellbiology','cell','cellbio','zell',
       'clel',
       'zellbiologietierischersysteme',
       'methodeninderzellbiologie',
       'cel',
       'cell1',
       'cellbio1'
    'cellbiology'
  # ======================================================================= #
  # === physikalische_chemie
  # ======================================================================= #
  when '29','physikalische_chemie','physchemie','pchemie',
       'physikalischechemie',
       'physikalische chemie',
       /^physchem$/i
    'physikalische_chemie'
  # ======================================================================= #
  # === verfahrenstechnik
  # ======================================================================= #
  when '30',
       'verfahrenstechnik'
    'verfahrenstechnik'
  # ======================================================================= #
  # === analytische_chemie_2
  # ======================================================================= #
  when '31',
       'ana2',
       /^analytische(_|-| |,)chemie(_|-| |,)2$/i,
       /^ana(_|-| |,)chem2$/i,
       'anachem2'
    'analytische_chemie_2'
  # ======================================================================= #
  # === gentechnik
  # ======================================================================= #
  when '32',
       'gentechnik',
       'gentechnik1',
       /^gene?tech?$/,
       /^gene?tech1?$/,
       /^gene?tehc?$/,
       /^praktische(_|-| |,)?biochemie$/,
       /^gentechnik(_|-| |,)?und(_|-| |,)?praktische(_|-| |,)?biochemie$/,
       /^gentechnik(_|-| |,)?und(_|-| |,)?praktische(_|-| |,)?$/,
       /^gentechnik(_|-| |,)?und(_|-| |,)?praktische\??$/
    'gentechnik_und_praktische_biochemie'
  # ======================================================================= #
  # === economy
  # ======================================================================= #
  when '33',
       'economy',
       'ökonomie',
       'ökonom',
       'ökonomie?',
       'ecomoy',
       /^qaeconomy\??$/i
    'economy'
  # ======================================================================= #
  # === geschichte
  # ======================================================================= #
  when '34','geschichte',
       'history',
       /^qa(_|-| |,)?geschichte\??$/
    'geschichte'
  # ======================================================================= #
  # === festkörperchemie
  # ======================================================================= #
  when '35','festkoerper_chemie',
       'fest',
       'festkoerper',
       'festkörper_chemie',
       'festkörper chemie',
       'festkoerperchemie',
       'festkoerper chemie',
       'festkörperchemie',
       'festkÖrperchemie',
       'geochemistry',
       'geochem',
       'geochemist',
       'festkörper',
       /^festkörperchemie(_|-| |,)?und(_|-| |,)?geochemie$/i,
       /^festkörper(_|-| |,)?chemie(_|-| |,)?und(_|-| |,)?geochemie$/i,
       /^festkörper(_|-| |,)?chemie(_|-| |,)?und(_|-| |,)?geo$/i
    'geochemistry'
  # ======================================================================= #
  # === geologie
  # ======================================================================= #
  when '36','geologie',
       'array_geologie',
       'array_fragen_geologie',
       'geo',
       /^geologie(_|-| |,)?und(_|-| |,)?mineralogie$/i,
       /^geology\??$/i,
       /^fragen_?geologie/,'mineralogie',
       'mineral',
       'ego',
       /^qageo\??/
    'geologie_und_mineralogie'
  # ======================================================================= #
  # === anorganische_chemie
  # ======================================================================= #
  when '37','ano','anorganische_chemie','anorganischechemie',
       'anorganisch','achem','array_anorganische_chemie',
       'anon',
       /anon1$/,
       'anorganische chemie',
       'anon_chem',
       'anorg',
       /anon_?chemie$/,
       /anonchem/
    'anorganische_chemie'
  # ======================================================================= #
  # === law
  # ======================================================================= #
  when '38','array_law','law','arraylaw','lawandorder',
       'law and order',
       'recht',
       'rechtsgrundlagen'
    'rechtsgrundlagen'
  # ======================================================================= #
  # === organische_chemie2
  # ======================================================================= #
  when '39','orgc2','organische_chemie2','org2',
       'fragen_organische_chemie2',
       'organischechemie2',
       'organische_chemie_2',
       'organische chemie 2',
       'organic_chemistry2'
    'organische_chemie_2'
  # ======================================================================= #
  # === wasserkunde
  # ======================================================================= #
  when '40','wasserkunde',
       'biologie_des_wasser',
       'biologiedeswasser',
       'water',
       'wasser',
       'watter',
       'biologiedeswassers',
       'biologie des wassers',
       'biologie des wasser'
    'wasserkunde'
  # ======================================================================= #
  # === technische_chemie
  # ======================================================================= #
  when '41',
        /^-?-?technische(_|-| |,)?chemi?e?$/i,
        /^-?-?qa(_|-| |,)?technische(_|-| |,)?chemi?e?$/i,
       'tech',
       'technologie_chemie',
       /tu_?chem/
    'technische_chemie'
  # ======================================================================= #
  # === biologie
  # ======================================================================= #
  when '42',
       'biologie',
       'biology',
       /^-?-?qa(_|-| |,)?biologie$/i
    'biologie'
  # ======================================================================= #
  # === umwelt
  # ======================================================================= #
  when '43','umwelt','umweltchemie','uchem'
    'umweltchemie'
  # ======================================================================= #
  # === signal_transduction
  # ======================================================================= #
  when '44','signal','ldigc',
       'signaling',
       'laser',
       /^signal(_|-| |,)?transduction$/i,
       /^signal(_|-| |,)?transduction(_|-| |,)?and(_|-| |,)?laser(_|-| |,)?systems$/i,
       /^signal(_|-| |,)?transduktion(_|-| |,)?und(_|-| |,)?lasersysteme$/i,
       /^signal(_|-| |,)?transduktion(_|-| |,)?und(_|-| |,)?la$/i
    'signal_transduction_and_laser_systems'
  # ======================================================================= #
  # === paläobiologie
  # ======================================================================= #
  when '45',
       'paleo',
       'paläobiology',
       'paleobiology',
       'paläo',
       'paläobiologie'
    'paleobiology'
  # ======================================================================= #
  # === lebensmittel
  # ======================================================================= #
  when '46',
       'lebensmittel',
       'food',
       'foodsies',
       /^lebensmittel(_|-| |,)?und(_|-| |,)?getränke$/i,
       /^ern\??$/i
    'lebensmittel_und_getränke'
  # ======================================================================= #
  # === medchem
  # ======================================================================= #
  when '47',
       'medchem',
       'medchems',
       'main',
       /^medizinische(_| )?chemie$/i,
       /^medizinische(_| )?chemie(_| )?und(_| )?pharmazie$/i,
       /^medizinische(_| )?chemie(_| )?und(_| )?p$/i
    'medizinische_chemie_und_pharmazie'
  # ======================================================================= #
  # === cancerbiology
  # ======================================================================= #
  when '48','cancer','krebs','cancerbiology',
       'tumor',
       'oncology',
       'onkologie',
       'onco',
       'cacner',
       /^qacancer\??$/i
    'cancerbiology'
  # ======================================================================= #
  # === cytogenetik
  # ======================================================================= #
  when '49',
       'cytogenetik',
       'cyto',
       'cgen',
       'cytobio',
       'chromo',
       'chromosomenbiologie',
       'cytogen',
       'cytogenetics',
       'chromosomen',
       'cytologie',
       'cytology',
       /^cytogenetics(_|-| |,)?and(_|-| |,)?chromosome(_|-| |,)?biology$/i,
       /^cytogenetics(_|-| |,)?and(_|-| |,)?chromoso$/i
    'cytogenetics_and_chromosome_biology'
  # ======================================================================= #
  # === biostatistik
  # ======================================================================= #
  when '50','biostatistik','biostat',
       'stats',
       'stat',
       'statistik',
       'statistic',
       'statistics',
       'statistk?',
       /^qastat\??$/i,
       /^qastatistik\??$/i
    'statistik'
  # ======================================================================= #
  # === biochemie
  # ======================================================================= #
  when '51',
       'biochemie',
       'biochem',
       'bchem',
       'biochemistry',
       'einfuehrung_biochemie',
       'basic_biochemistry',
       'biochem1',
       'bem1',
       'basicbiochemistry',
       'basic biochemistry',
       'bem',
       'grundlagenderbiochemie',
       'ebm',
       'bme',
       /^basic(_|-| |,)?biochemistry\??$/i
    'basic_biochemistry'
  # ======================================================================= #
  # === advanced_biochemistry
  # ======================================================================= #
  when '52','biochemie2',
       /biochem2\??$/i,
       'bchem2',
       'biochemistry2',
       'biochemie_ii','biochemie_master','bem2',
       /advanced(_|-| |,)?biochemistry\??$/i,
       'bemchem2',
       'biochemiefürbiologen'
    'advanced_biochemistry'
  # ======================================================================= #
  # === fortgeschrittene_physik
  # ======================================================================= #
  when '53',
       'physik2',
       'fortgeschrittene_physik',
       /fortgeschrittene(_|-| |,)?physik/
    'fortgeschrittene_physik'
  # ======================================================================= #
  # === bioelektrochemie
  # ======================================================================= #
  when '54',
       'bioelektrochemie',
       'bioele',
       'bioelek'
    'bioelektrochemie'
  # ======================================================================= #
  # === advanced_biotechnology
  # ======================================================================= #
  when '55',
       /^biotech2$/,
       /^advanced(_|-| |,)?biotechnology$/,
       /^advanced(_|-| |,)?biotechn$/,
       'bech2',
       'biotechnology2'
    'advanced_biotechnology'
  # ======================================================================= #
  # === epigenetik
  # ======================================================================= #
  when '56','epigenetik','epi','epigenetics',
       /epigen/ # <-- This should suffice for now.
    'epigenetik'
  # ======================================================================= #
  # === bioanalytik
  # ======================================================================= #
  when '57',
       'bioanalytik',
       'bioana',
       'bioanalytics',
       'bioanalytic',
       /^bioanalytik(_|-| |,)?und(_|-| |,)?biosensoren?$/,
       /^bioanalytik(_|-| |,)?und(_|-| |,)?biosensor$/
    'bioanalytik_und_biosensoren'
  # ======================================================================= #
  # === genomics
  # ======================================================================= #
  when '58',
       'genomics',
       'genomik',
       'genome',
       'genom',
       'genomes',
       'metagenomics',
       /^genomics(_|-| |,)?and(_|-| |,)?metagenomics$/,
       /^genomik(_|-| |,)?und(_|-| |,)?metagenomik$/,
       /^genomies$/
    'genomics_and_metagenomics'
  # ======================================================================= #
  # === clinical_microbiology
  # ======================================================================= #
  when '59','clinical_microbiology','clinicalbac','clinical_micro',
       'clinicalmicrobiology','clinical',
       'clinic',
       'clinical microbiology',
       'clini',
       'clinci',
       'clinical_microscopy',
       /^clinical(_|-| |,)?microbiologie\??$/i,
       /^medmikro\??$/i
    'clinical_microbiology'
  # ======================================================================= #
  # === mikrobielle_physiologie
  # ======================================================================= #
  when '60',
       /^mikrobielle_?physiologie/i,
       'mikphysio',
       'mikphysiologie',
       'mphysio',
       'molekulare_physiologie_industrieller_mikroorganismen',
       'molekulare_physiologie',
       'molphysio',
       'molekularephysiologieindustriellermikroorganismen',
       'molekulare physiologie industrieller mikroorganismen',
       'mikphys',
       'mpyhs',
       'mphys',
       'mphysiologie',
       /^-?-?mikrobielle(_|-| |,)?physiologie\??$/i,
       /^-?-?mphyi?s?io?$/i,
       /^-?-?mphyios$/i
     'mikrobielle_physiologie'
  # ======================================================================= #
  # === molekulare_medizin
  # ======================================================================= #
  when '61',
       /^-?-?molekulare(_|-| |,)?medizin$/i,
       'molmed',
       'molmed1',
       'molekularemedizin',
       'molmed2'
    'molekulare_medizin'
  # ======================================================================= #
  # === evolution
  # ======================================================================= #
  when '62','evolution',
       'evo',
       'eov',
       'ev',
       /^evolution(_|-| |,)?and(_|-| |,)?evolutionary(_|-| |,)?genetics$/i,
       /^evolution(_|-| |,)?and(_|-| |,)?evolutionary?$/i,
       /^qaevo\??$/i
    'evolution_and_evolutionary_genetics'
  # ======================================================================= #
  # === artificial_intelligence
  # ======================================================================= #
  when '63',
       /^artificial$/i,
       /^artificial(_|-| |,)?intelligence\??$/i,
       /^AI$/i
    'artificial_intelligence'
  # ======================================================================= #
  # === ethik
  # ======================================================================= #
  when '64',
       'ethik',
       'ethics',
       'ethic',
       'umweltethik',
       'bioethik'
    'ethik'
  # ======================================================================= #
  # === hygiene
  # ======================================================================= #
  when '65',
       'hygiene',
       'hyg',
       'hyge',
       'hy'
    'hygiene'
  # ======================================================================= #
  # === rna
  # ======================================================================= #
  when '66','rna','dna','rna_and_dna','rna and dna',
       'rnaanddna',/^mRNA$/i,
       /^qarna\??$/i,
       /^dna(_|-| |,)?und(_|-| |,)?rna$/i,
       /^tRNA$/i
    'rna_and_dna'
  # ======================================================================= #
  # === research_topics_in_immunobiology
  # ======================================================================= #
  when '67',
       'research',
       /^research(_|-| |,)?topics$/i,
       /^research(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?immuno?b?i?o?l?o?g?y$/i
    'research_topics_in_immunobiology'
  # ======================================================================= #
  # === fungi
  # ======================================================================= #
  when '68',
       'pilz',
       'pilze',
       'fungus',
       /^fungi$/i,
       /^qa(_|-| |,)?fungi$/i
    'fungi'
  # ======================================================================= #
  # === prok
  # ======================================================================= #
  when '69',
       'prokaryotes',
       'prokarya',
       'prokaryote_genetics',
       'prokaryotegenetics',
       'bac',
       'prok',
       'prokaryote genetics',
       'ecoli',
       'pgenetics',
       'prokaroytic_genetics',
       /^prokaryote(_|-| |,)?genetics$/i,
       /^prok(_|-| |,)?genetics$/i,
       /^prok(_|-| |,)?gen$/i,
       /^prok1$/i,
       /^qaprok\??$/i
    'prokaryote_genetics'
  # ======================================================================= #
  # === wissenschaft
  # ======================================================================= #
  when '70','wissenschaft','science','sci'
    'wissenschaft'
  # ======================================================================= #
  # === anthropologie
  # ======================================================================= #
  when '71','anthropologie','anthro','ant','an'
    'anthropologie'
  # ======================================================================= #
  # === fortgeschrittene_gentechnik
  # ======================================================================= #
  when '72',
       'gentech2',
       'gentechnik2',
       'fortgeschrittene_gentechnik',
       'fortgeschrittenegentechnik',
       'fortgeschrittene gentechnik',
       'methoden',
       /^fortgeschrittene(_|-| |,)?gentechn$/i
    'fortgeschrittene_gentechnik'
  # ======================================================================= #
  # === fortgeschrittene_genetik
  # ======================================================================= #
  when '73',
       'amg2',
       'fortgeschrittene_genetik',
       'mg2',
       'fortgeschrittenegenetik',
       'fortgeschrittene genetik',
       'genetics2',
       'dna2',
       'am2',
       'agm2'
    'fortgeschrittene_genetik'
  # ======================================================================= #
  # === pcr
  # ======================================================================= #
  when '74','pcr'
    'pcr'
  # ======================================================================= #
  # === sex
  # ======================================================================= #
  when '75',
       'sex',
       'fortpflanzung',
       'sexualbiologie',
       /^-?-?sexbio\??$/i
    'sexualbiologie'
  # ======================================================================= #
  # === populationsgenetik
  # ======================================================================= #
  when '76','populationsgenetik','popgen','evolutionsgenetik',
       'population',
       'population_genetics'
    'populationsgenetik'
  # ======================================================================= #
  # === ökogenetik
  # ======================================================================= #
  when '77','ökogenetik','ökogen','ecogen','ecogenetics',
       'ECOGENETICS','Ökogenetik'
    'ecogenetics'
  # ======================================================================= #
  # === pathologie
  # ======================================================================= #
  when '78','pathologie',
       'patho','pathos','PATHOLOGIE',
       'pathology',
       'pathophysio',
       'pathophysiologie',
       /^qapatho\??$/i,
       /^pathophysiology\??$/i
    'pathologie'
  # ======================================================================= #
  # === allergie
  # ======================================================================= #
  when '79',
       'allergie',
       'allergy',
       'allergien',
       'allergen',
       'allergies',
       /^allerge$/i
    'allergie'
  # ======================================================================= #
  # === structural_biology
  # ======================================================================= #
  when '80','proteinstruktur',
       'struktur',
       'strukturbiologie',
       'strukturbio',
       'strukt',
       'struct',
       'struk',
       'strubi',
       'struktbio',
       'strubio',
       'strub',
       /^structure\??$/i,
       /^structural(_|-| |,)?biology/,
       /^struktur(_|-| |,)?biologie\??$/i
    'strukturbiologie'
  # ======================================================================= #
  # === chemisches_labor
  # ======================================================================= #
  when '81',
       /^chemisches(_|-| |,)?labor$/i,
       'labor',
       'chemisches labor',
       'chemlabor',
       'chemlabor?',
       'safety'
    'chemisches_labor'
  # ======================================================================= #
  # === theoretische_chemie
  # ======================================================================= #
  when '82','theoretische_chemie','theoretische chemie labor',
       'theoretischechemie','theoretische chemie',
       'theochem'
    'theoretische_chemie'
  # ======================================================================= #
  # === plant_biotechnology
  # ======================================================================= #
  when '83',
       'plant_biotech',
       'plant_biotechnology',
       'plant biotechnology',
       'plantbiotechnology',
       'pbtech',
       'pbio',
       'plantbiotech',
       /^pflanzen(_|-| |,)?biotech$/i
    'plant_biotechnology'
  # ======================================================================= #
  # === bodenkunde
  # ======================================================================= #
  when '84',
       'boden',
       'bodne',
       /^bodenkunden?$/i
    'bodenkunde'
  # ======================================================================= #
  # === advanced_virology
  # ======================================================================= #
  when '85',/advanced_?virology/,
       'vir2',
       'virology2',
       'large_viruses',
       'largeviruses',
       'large viruses',
       'virus2',
       /^advanced(_|-| |,)?virology$/i
    'advanced_virology'
  # ======================================================================= #
  # === microbial_ecology
  # ======================================================================= #
  when '86',
       'microbial_ecology','miceco',
       'mikrobielleökologie',
       'mikrobielle ökologie',
       'mikrobielle Ökologie',
       'microbialecology',
       'mikrobielleÖkologie',
       'microbial ecology',
       'meco',
       /^mikrobielle(_|-| |,)?ökologie$/i
    'microbial_ecology'
  # ======================================================================= #
  # === metabolismus
  # ======================================================================= #
  when '87','metabolismus','met','meta','metabolism',
       /^metabolismus\??$/i
    'metabolismus'
  # ======================================================================= #
  # === the_cellcycle
  # ======================================================================= #
  when '88','cellcycle','cellcyc','cycle?','the_cellcycle',
       'the cellcyle',
       'thecellcyle',
       /^cycle$/i,
       /^the(_|-| |,)?cell(_|-| |,)?cycle$/i,
       /^the(_|-| |,)?cellcycle$/i,
       /^the(_|-| |,)?cellcyle$/i,
       /^cell(_|-| |,)?cycle$/i
    'the_cellcycle'
  # ======================================================================= #
  # === bioressourcenmanagement
  # ======================================================================= #
  when '89',
       'bioressourcenmanagement',
       'ubrm',
       'UBRM',
       'ubr',
       'ubm',
       'bioress',
       'bioressourcen'
    'bioressourcenmanagement'
  # ======================================================================= #
  # === technische_ökologie
  # ======================================================================= #
  when '90',
       'technical_ecology',
       'technische_ökologie',
       'technische ökologie',
       'tueco',
       'technischeÖkologie',
       'technische Ökologie',
       'technicalecology',
       'technical ecology',
       'nachhaltigkeit',
       /^technische(_|-| |,)?ökologie$/i
    'technical_ecology'
  # ======================================================================= #
  # === agrarökologie
  # ======================================================================= #
  when '91',
       'agrarökologie',
       'agrar',
       'agrarwissenschaften',
       'agrarwissenschaft',
       'agrarÖkologie',
       'agrar_ecology',
       'agraröko',
       'agrarecology',
       'agrar ecology'
    'agrar_ecology'
  # ======================================================================= #
  # === anatomie
  # ======================================================================= #
  when '92',
       'anatomie',
       'anatomy',
       'anat',
       'anatom',
       /^-?-?qanatomie\??$/
    'anatomie'
  # ======================================================================= #
  # === obst_und_weinbau
  # ======================================================================= #
  when '93','obst','obstbau',
       'obst_und_weinbau','obst und weinbau',
       'obstundweinbau'
    'obstbau'
  # ======================================================================= #
  # === veterinärmedizin
  # ======================================================================= #
  when '94','vetmed','vet','veterinarymedicine',
       'veterinärmedizin','veterinary medicine',
       'veterinary_medicine'
    'veterinary_medicine'
  # ======================================================================= #
  # === advanced_chemistry
  # ======================================================================= #
  when '95','chemie2',
       'advanced_chemistry',
       'advancedchemistry',
       'basicchemistry',
       'chemistry2',
       'chem2',
       'ch2m',
       'advanced chemistry'
    'advanced_chemistry'
  # ======================================================================= #
  # === landtechnik
  # ======================================================================= #
  when '96',
       'landtechnik',
       'grundlagenderlandtechnik',
       /^grundlagen(_|-| |,)?der(_|-| |,)?landtechnik$/i,
       /^grundlagen(_|-| |,)?der(_|-| |,)?landtechni$/i
    'landtechnik'
  # ======================================================================= #
  # === agrarmärkte
  # ======================================================================= #
  when '97',
       'agrarmärkte',
       'agrarmarkt',
       'agrarm',
       'agrarmarkte'
    'agrarmarkt'
  # ======================================================================= #
  # === agrarphysik
  # ======================================================================= #
  when '98',
       'agrarphysik'
    'agrarphysik'
  # ======================================================================= #
  # === humanökologie
  # ======================================================================= #
  when '99','humanökologie',
       'humaneco',
       'humanecology',
       'human ecology',
       'human_ecology'
    'human_ecology'
  # ======================================================================= #
  # === quality_management
  # ======================================================================= #
  when '100',
       /^quality(_|-| |,)?management$/,
       /^qmanagement\??$/,
       /^qualitätsmanagement$/,
       'quality',
       'qual',
       'management',
       'qman'
    'quality_management'
  # ======================================================================= #
  # === translational_control
  # ======================================================================= #
  when '101',
       'translational_control',
       'transcon',
       'translationalcontrol',
       'transcon?',
       'translational control',
       'translation',
       /^translation(_|-| |,)?(_|-| |,)?ribosomes(_|-| |,)?and(_|-| |,)?translational(_|-| |,)?control$/,
       /^translation(_|-| |,)?(_|-| |,)?ribosomes(_|-| |,)?an$/,
       /^translation(_|-| |,)?(_|-| |,)?ribosomes(_|-| |,)?and(_|-| |,)?$/,
       /^ribosomes?$/i
    'translation_ribosomes_and_translational_control'
  # ======================================================================= #
  # === audio
  # ======================================================================= #
  when '102','audio','audio?'
    'audio'
  # ======================================================================= #
  # === umweltbiotechnologie
  # ======================================================================= #
  when '103',
       'umweltbio',
       'umweltbiotechnologie',
       'umweltbiotech',
       'ubiotech'
    'umweltbiotechnologie'
  # ======================================================================= #
  # === posttranslationale_modifikation_von_proteinen
  # ======================================================================= #
  when '104','posttrans',
       'posttranslational','genex2',
       'post',
       'posttranslationalemodifikationvonproteinen',
       'posttranslationale modifikation von proteinen',
       'posttranslationale_modifikation_von_proteinen',
       /^PTMs?\??$/i,
       /^posttranslationale(_|-| |,)?modifi\??$/i,
       /^posttranslational(_|-| |,)?modification(_|-| |,)?of(_|-| |,)?_proteins$/i,
       /^posttranslationale(_|-| |,)?modifik$/i
    'posttranslationale_modifikation_von_proteinen'
  # ======================================================================= #
  # === bodenmikrobiologie
  # ======================================================================= #
  when '105',
       'bodenmikrobiologie','boden_mikrobiologie',
       'soil_biology',
       'soil_microbiology'
    'bodenmikrobiologie'
  # ======================================================================= #
  # === pflanzenschutz
  # ======================================================================= #
  when '106','pflanzenschutz','pflanzenschutz?',
       'pschutz'
    'pflanzenschutz'
  # ======================================================================= #
  # === stammzellen
  # ======================================================================= #
  when '107','stem','ste','stem_cells','stemcells',
       'stammzellen','stamm','stem_cells?','stemcell'
    'stemcells'
  # ======================================================================= #
  # === plant_breeding
  # ======================================================================= #
  when '108',
       'pflanzenzüchtung',
       'pflanzenzuechtung',
       'plant_breeding',
       'plant_zucht',
       /pflanzenzÜchtung/i,
       'pflanzenzucht',
       'pzucht',
       /^-?-?plant(_|-| |,)?breeding$/i
    'plant_breeding'
  # ======================================================================= #
  # === insects
  # ======================================================================= #
  when '109','insects','insekten','insect','ins',
       'schmetterlinge','schmetterling'
    'insekten'
  # ======================================================================= #
  # === mikroskopie
  # ======================================================================= #
  when '110',
       'microscope',
       'mikros',
       'mikroskop',
       'mikroskope',
       'mscope',
       'mikroskopie',
       'microscop',
       'microscopy',
       'mopy',
       'moby',
       'imaging',
       /^microscopes$/i,
       /^imaging(_|-| |,)?and(_|-| |,)?microscopy$/i,
       /^imaging\??$/i,
       /^imagining\??$/i,
       /^qa(_|-| |,)?mopy\??$/i
    'imaging_and_microscopy'
  # ======================================================================= #
  # === aminoacids
  # ======================================================================= #
  when '111','aminoacids','aminosäuren','aminoacid',
       'amino_acids','Amino Acids','aa','amino',
       'amino acids',
       /^aminoacids\??$/i
    'aminoacids'
  # ======================================================================= #
  # === enzymes
  # ======================================================================= #
  when '112','enzymes','enzyme','enzym','ee','Enzymes',
       'enz','ezn',
       /^enzymes(_|-| |,)?and(_|-| |,)?cofactors\??$/i
    'enzymes_and_cofactors'
  # ======================================================================= #
  # === proteomik
  # ======================================================================= #
  when '113','proteomik','proteomic','proteomics',
       'proteome','proteom'
    'proteomik'
  # ======================================================================= #
  # === advanced_microbiology
  # ======================================================================= #
  when '114',
       'schäffer_mikrobiologie',
       'schäffermikrobiologie',
       'schäffer mikrobiologie',
       'schäffer','schäff',
       'schäffer?',
       'schÄffermikrobiologie',
       'advanced_microbiology',
       'advancedmicrobiology',
       'advanced microbiology',
       'amm2',
       'mikrobiologie2',
       'witte2',
       /^microbiology2\??$/i
    'advanced_microbiology'
  # ======================================================================= #
  # === plant_anatomy
  # ======================================================================= #
  when '115',
       'pflanzenanatomie',
       'plant_anatomy?',
       'panatomy',
       'plantanatomy?',
       'plant_anatomy',
       'plantanatomy',
       'panatomie',
       'pflanzenphysiologie',
       'plantphysiologie',
       'ab2anatomie',
       'plantanatomie',
       /^panatome$/i,
       /^qa(_|-| |,)?plant(_|-| |,)?anatomy$/i
    'pflanzenanatomie'
  # ======================================================================= #
  # === antibodies_and_antigens
  # ======================================================================= #
  when '116','antibodies','anti','antibody',
       /^abody?$/i,
       'body',
       'antikörper','antigens',
       /^antibodies(_|-| |,)?and(_|-| |,)?antigens$/i,
       /^antigens\??$/i,
       /^antibodies\??$/i,
       'abodies'
    'antibodies_and_antigens'
  # ======================================================================= #
  # === molecular_biology_of_plants
  # ======================================================================= #
  when '117',
       'molecular_biology_of_plant',
       'molecular_biology_of_plants',
       'molecularbiologyofplants',
       'molplants?',
       'molplants',
       'plantmol?',
       'plantmol',
       'plantmolbio',
       'molecular biology of plants',
       /^molecular(_|-| |,)?biology(_|-| |,)?of(_|-| |,)?the_?$/i,
       /^molecular(_|-| |,)?biology(_|-| |,)?of(_|-| |,)?the(_|-| |,)?plants?$/i,
       /^qa(_|-| |,)?molplants?$/i
    'molecular_biology_of_plants'
  # ======================================================================= #
  # === lebensmitteltechnologie
  # ======================================================================= #
  when '118',
       /^lebensmitteltechnologie/i
    'lebensmitteltechnologie'
  # ======================================================================= #
  # === advanced_cell_biology
  # ======================================================================= #
  when '119',
       /^advanced(_|-| |,)?cell(_|-| |,)?biology$/,
       'cell2',
       'cellbiology2',
       'cellbio2'
    'advanced_cellbiology'
  # ======================================================================= #
  # === insulin
  # ======================================================================= #
  when '120','insulin','insuline','insulin?','diabetes',
       /^insulin(_|-| |,)?and(_|-| |,)?diabetes$/i
    'insulin_and_diabetes'
  # ======================================================================= #
  # === microarray
  # ======================================================================= #
  when '121','microarray','microarrays',
       'biochips',
       'biochip',
       /^biochips(_|-| |,)?and(_|-| |,)?microarray$/i
    'biochips'
  # ======================================================================= #
  # === rna_seq
  # ======================================================================= #
  when '122','rnaseq','rna_seq','rna_seq?','rna seq'
    'rna_seq'
  # ======================================================================= #
  # === innate_immunity
  # ======================================================================= #
  when '123',
       /^innate$/i,
       /^innate(_|-| |,)?immunity\??$/i,
       /^innate(_|-| |,)?immunology$/i,
       /^innate(_|-| |,)?immuno$/i
    'innate_immunity'
  # ======================================================================= #
  # === psychologie
  # ======================================================================= #
  when '124','psychologie',
       'psychology',
       /^-?-?qa(_|-| |,)?psychologie\??$/i
    'psychologie'
  # ======================================================================= #
  # === genetische_krankheiten
  # ======================================================================= #
  when '125','genetische_krankheiten','genetischekrankheiten',
       'genetic_diseases',
       'geneticdiseases','genetic_disease',
       'gendisease',
       'disease',
       'digene',
       'disgene',
       'gendis',
       'geneticdisease',
       /^genetische(_|-| |,)?krankheiten?$/i,
       /^gen(_|-| |,)?disease\??$/i,
       /^gen(_|-| |,)?dise?$/i
    'genetische_krankheiten'
  # ======================================================================= #
  # === hormone
  # ======================================================================= #
  when '126','hormone','hormon','hormones','hor'
    'hormone'
  # ======================================================================= #
  # === systematische_zoologie
  # ======================================================================= #
  when '127',
       /^systematische(_|-| |,)?zoologie?$/i,
       /^qa(_|-| |,)?syszoo?$/i,
       'syszoo','sys_zoo',
       'szoo',
       'syszo',
       'sysz',
       'syzoo'
    'systematische_zoologie'
  # ======================================================================= #
  # === betriebssysteme
  # ======================================================================= #
  when '128',
       /^betriebssysteme?$/i,
       /^OS\??$/i,
       /^operating(_|-| |,)?systems?$/i
    'betriebssysteme'
  # ======================================================================= #
  # === informatik
  # ======================================================================= #
  when '129','informatik','informatics',
       'informatic',
       /^qainf\??$/i
    'informatik'
  # ======================================================================= #
  # === c_programming
  # ======================================================================= #
  when '130','c','c_programming',
       /^the(_|-| |,)?c(_|-| |,)?programming(_|-| |,)?language?$/i,
       'cprog',
       'cprogramming',
       /^qaC\??$/i
    'the_c_programming_language'
  # ======================================================================= #
  # === abfall
  # ======================================================================= #
  when '131',
       'abfall',
       /^abfall(_|-| |,)?als(_|-| |,)?ressource$/i
    'abfall_als_ressource'
  # ======================================================================= #
  # === fish
  # ======================================================================= #
  when '132',
       'fish',
       /^fish(_|-| |,)?(_|-| |,)?(_|-| |,)?fluorescence(_|-| |,)?in(_|-| |,)?si$/i,
       /^fish(_|-| |,)?(_|-| |,)?(_|-| |,)?fluorescence(_|-| |,)?in(_|-| |,)?situ(_|-| |,)?hybridization$/i
    'fish'
  # ======================================================================= #
  # === ruby_on_rails
  # ======================================================================= #
  when '133','ruby_on_rails','ror',
       'rubyonrails',
       'ruby-on-rails',
       /rails$/
    'ruby_on_rails'
  # ======================================================================= #
  # === chemische_technologie_anorganischer_stoff
  # ======================================================================= #
  when '134',
       'chemtech',
       'chemtech1',
       'chemt',
       'materialkunde',
       'material_sciences',
       /^chem(_|-| |,)?anorg\??$/i,
       'chemanon',
       /^chemische(_|-| |,)?technologie(_|-| |,)?anorganischer(_|-| |,)?stoffe$/,
       /^chemische(_|-| |,)?technologie(_|-| |,)?anor$/,
       /^techchem1$/i
    'chemische_technologie_anorganischer_stoffe'
  # ======================================================================= #
  # === biophysik
  # ======================================================================= #
  when '135',
       /^biophysik$/,
       /^biophysics?$/i
    'biophysik'
  # ======================================================================= #
  # === pflanzenbau
  # ======================================================================= #
  when '136',
       /pflanzenba?u?/,'pbau'
    'pflanzenbau'
  # ======================================================================= #
  # === plant_development
  # ======================================================================= #
  when '137',
       /^plant(_|-| |,)?development$/,
       /^plant_?dev\??/,
       'pdev',
       /^devbio(_|-| |,)?plants$/i
    'plant_development'
  # ======================================================================= #
  # === glykomik
  # ======================================================================= #
  when '138',
       /^-?-?glykomik$/i,
       /^-?-?glycomics$/i,
       /^-?-?sugar/,
       /^-?-?glykans\??$/,
       'zucker'
    'glykomik'
  # ======================================================================= #
  # === Grünlandbewirtschaftung
  # ======================================================================= #
  when '139',
       /^Grünlandbewirtschaftung$/i,
       /^grassland(_|-| |,)?cultivation$/,
       /^grünlandwirtschaft$/i,
       /^grünlandbewirtschaftung(_|-| |,)?\(?$/i,
       'grün',
       'grünland'
    'grassland_cultivation'
  # ======================================================================= #
  # === ökologische_landwirtschaft
  # ======================================================================= #
  when '140',
       /^Ökologische ?Landwirtschaft$/i,'ökoland',
       'ökologische_landwirtschaft',
       /ecological_?agriculture/,
       /^ökologische(_|-| |,)?landwirtschaf$/
    'ecological_agriculture'
  # ======================================================================= #
  # === the_european_union
  # ======================================================================= #
  when '141',
       /^the(_|-| |,)?european(_|-| |,)?union$/i,
       'european_union',
       'europeanunion',
       'eu?',
       'eu',
       /^the(_|-| |,)?eu$/
    'the_european_union'
  # ======================================================================= #
  # === lipids
  # ======================================================================= #
  when '142',
       'lipids',
       'lipid','fett',
       'lipide'
     'lipids'
  # ======================================================================= #
  # === nucleotide_sequencing
  # ======================================================================= #
  when '143',
       /^nucleotide(_|-| |,)?sequencing$/i,
       /^NGS\??$/i,
       'sequencing',
       'sequenzierung','nucleotideseq','seq2',
       'nusequencing'
     'nucleotide_sequencing'
  # ======================================================================= #
  # === databases
  # ======================================================================= #
  when '144',
       /^databases\??$/i,
       /^datenbanken\??$/i,
       /^databases(_|-| |,)?and(_|-| |,)?sql$/i,
       /database/,
       /^qasql\??$/,
       'datenbank',
       /^sql$/i
    'databases_and_sql'
  # ======================================================================= #
  # === tierzucht
  # ======================================================================= #
  when '145','tierzucht'
     'tierzucht'
  # ======================================================================= #
  # === biological_therapeutics
  # ======================================================================= #
  when '146',/^biological(_|-| |,)?therapeutics$/i,
       'biologics','biologica','biologika','ther',
       'therapeutics',
       'thera',
       'biothera',
       'kunert'
     'biological_therapeutics'
  # ======================================================================= #
  # === forstwirtschaft
  # ======================================================================= #
  when '147',/forstwirtschaft/i,'forst?','forst'
     'forstwirtschaft'
  # ======================================================================= #
  # === alcohols
  # ======================================================================= #
  when '148','alcohols','alcohol','alkohol','alk',
       /^alkohole$/i
     'alcohols'
  # ======================================================================= #
  # === klima
  # ======================================================================= #
  when '149','klima'
     'klima'
  # ======================================================================= #
  # === elektrotechnik
  # ======================================================================= #
  when '150',
       'elektrotechnik',
       'elektrizität',
       'echem',
       'elektro',
       'strom',
       /^elektrotechnik(_|-| |,)?und(_|-| |,)?elektrizität$/i
     'elektrotechnik_und_elektrizität'
  # ======================================================================= #
  # === weinbau
  # ======================================================================= #
  when '151','weinbau','wein'
     'weinbau'
  # ======================================================================= #
  # === technische_grundlagen_der_informatik
  # ======================================================================= #
  when '152',
       'technische_grundlagen_der_informatik',
       /^technische(_|-| |,)?informatik$/i,
       /^technische(_|-| |,)?grundlagen(_|-| |,)?der$/i,
       /^technische(_|-| |,)?grundlagen(_|-| |,)?der(_|-| |,)?informatik$/i,
       /^tech(_|-| |,)?computer\??$/i
    'technische_grundlagen_der_informatik'
  # ======================================================================= #
  # === c++
  # ======================================================================= #
  when '153',
       'c++',
       'the_c_plus_plus_programming_language',
       'cpp',
       'cepp',
       'qacpp',
       /^qaCpp\??$/i,
       /^qaC\+\+\??$/i,
       /^the(_|-| |,)?c\+\+(_|-| |,)?programming(_|-| |,)?language$/i,
       /^the(_|-| |,)?c\+\+(_|-| |,)?programming(_|-| |,)?langu?$/i
    'the_c_plus_plus_programming_language'
  # ======================================================================= #
  # === semisynthese
  # ======================================================================= #
  when '154',
       'semisynthese',
       'semisynthese_proteinen',
       'semisynth',
       'semi',
       /^semisynthese(_|-| |,)?von(_|-| |,)?proteinen(_|-| |,)?und(_|-| |,)?nukleotiden$/i,
       /^semisynthese(_|-| |,)?von(_|-| |,)?proteinen?$/i
    'semisynthese_von_proteinen_und_nukleotiden'
  # ======================================================================= #
  # === biomaterials
  # ======================================================================= #
  when '155','biomaterials','biomaterial','biomat','biom'
    'biomaterials'
  # ======================================================================= #
  # === naturschutz
  # ======================================================================= #
  when '156','naturschutz',
       'natur',
       'nature',
       /^nature(_|-| |,)?conservation(_|-| |,)?and(_|-| |,)?biodiversity(_|-| |,)?$/i,
       /^naturschutz(_|-| |,)?und(_|-| |,)?biodivers$/i,
       /^naturschutz(_|-| |,)?und(_|-| |,)?biodiversität$/i,
       /^qanatur\??$/i
     'nature_conservation_and_biodiversity'
  # ======================================================================= #
  # === biomembranes
  # ======================================================================= #
  when '157','biomembranes','biomembrane',
       /^membranes?$/
    'biomembranes'
  # ======================================================================= #
  # === vitamine
  # ======================================================================= #
  when '158','vitamine','vitamin','vitamins','vitamines'
    'vitamine'
  # ======================================================================= #
  # === python
  # ======================================================================= #
  when '159','python','pthon','pytho',
       'pyhton',
       'pythn',
       'qapy',
       'qapy?',
       'qpay',
       /^qa?python\??$/i
    'python'
  # ======================================================================= #
  # === archaea
  # ======================================================================= #
  when '160',
       'archaea'
    'archaea'
  # ======================================================================= #
  # === cyanobacteria
  # ======================================================================= #
  when '161','cyanobacteria','cyano'
    'cyanobacteria'
  # ======================================================================= #
  # === naturstoffe
  # ======================================================================= #
  when '162','naturstoffe'
    'naturstoffe'
  # ======================================================================= #
  # === biopolymers
  # ======================================================================= #
  when '163','biopolymers','biopolymer'
    'biopolymers'
  # ======================================================================= #
  # === bionik
  # ======================================================================= #
  when '164','bionik'
    'bionik'
  # ======================================================================= #
  # === urbanism
  # ======================================================================= #
  when '165','urbanism',/^urbanism(_|-| |,)?and(_|-| |,)?traffic$/
    'urbanism_and_traffic'
  # ======================================================================= #
  # === vaccination
  # ======================================================================= #
  when '166','vaccination',
       'vaccine',
       'vaccines',
       'vacca',
       'vakzin',
       'vacine',
       'vacc',
       /^vaccines(_|-| |,)?and(_|-| |,)?vaccination$/,
       /^vakzinierung$/,
       'vakzine',
       /^antigene\??$/
    'vaccines_and_vaccination'
  # ======================================================================= #
  # === crispr
  # ======================================================================= #
  when '167','crispr','crisp'
    'crispr'
  # ======================================================================= #
  # === java
  # ======================================================================= #
  when '168','java','qajava',
       /^qjava\??$/i
    'java'
  # ======================================================================= #
  # === yeast
  # ======================================================================= #
  when '169','yeast','ye'
    'yeast'
  # ======================================================================= #
  # === ruby
  # ======================================================================= #
  when '170',
       'ruby',
       /^qa?ruby\??$/i
    'ruby'
  # ======================================================================= #
  # === technisches_zeichnen
  # ======================================================================= #
  when '171',
       /^technisches(_|-| |,)?zeichnen$/i,
       'CAD',
       'cad'
    'technisches_zeichnen'
  # ======================================================================= #
  # === prozesstechnik
  # ======================================================================= #
  when '172',
       'prozesstechnik',
       'prozesstechnologie',
       'prozesskunde',
       'prozess',
       'prozess?'
    'prozesstechnik'
  # ======================================================================= #
  # === glykolyse
  # ======================================================================= #
  when '173',
       'glykolyse',
       'glycolysis',
       'glycolyse',
       'gly',
       'glyk',
       'gl',
       'glyc',
       'glyco',
       'glyko',
       /^glycolysis\??$/i,
       /^die(_|-| |,)?glykolyse$/i,
       /^glykolysis$/i
    'glycolysis'
  # ======================================================================= #
  # === rnai
  # ======================================================================= #
  when '174',
       /^RNAi$/i,
       /^miRNA$/i,
       /^siRNA$/i,
       /^RNAi(_|-| |,)?(_|-| |,)?siRNA(_|-| |,)?and(_|-| |,)?miRNA$/i
    'RNAi_siRNA_and_miRNA'
  # ======================================================================= #
  # === mikrobielle_lebensgemeinschaften
  # ======================================================================= #
  when '175',
       'mikrob_lebensgemeinschaften',
       'mikb',
       /^Lebensgemeinschaften$/i,
       /^Mikrobielle(_|-| |,)?Lebensgemeinschaften$/i,
       /^Mikrobielle(_|-| |,)?Lebensgemeins$/i
    'mikrobielle_lebensgemeinschaften'
  # ======================================================================= #
  # === theoretische_informatik
  # ======================================================================= #
  when '176',/^theoretische(_|-| |,)?informatik\??$/i,
       'theore',
       'theoinf',/^theo(_|-| |,)?inf/i,
       'tinf'
    'theoretische_informatik'
  # ======================================================================= #
  # === algorithms
  # ======================================================================= #
  when '177',/algorithms/,'algo','algorithm',
       'algorithmus',
       'alg'
    'algorithms'
  # ======================================================================= #
  # === javascript
  # ======================================================================= #
  when '178',
       'javascript'
    'javascript'
  # ======================================================================= #
  # === elektronenmikroskopie
  # ======================================================================= #
  when '179',
       'elektronenmikroskopie',
       'emopy',
       'tem'
     'elektronenmikroskopie'
  # ======================================================================= #
  # === bauwesen
  # ======================================================================= #
  when '180',
       'bauwesen'
     'bauwesen'
  # ======================================================================= #
  # === system_biology
  # ======================================================================= #
  when '181',
       /^system(_|-| |,)?biology$/,
       /systems?/i,
       'sysbio',
       'systemb',
       'sysbi',
       'systembio',
       'systembio?',
       /^systems(_|-| |,)?biology/i,
       /^system(_|-| |,)?biology(_|-| |,)?and(_|-| |,)?synthetic(_|-| |,)?biology$/,
       /^system(_|-| |,)?biology(_|-| |,)?and(_|-| |,)?synthe$/,
       /^synth$/i,
       /^systembiologie$/i,
       /^synthetic$/i,
       /^synthetic(_|-| |,)?biology$/i,
       /^synth(_|-| |,)?bio$/i
     'system_biology_and_synthetic_biology'
  # ======================================================================= #
  # === architektur
  # ======================================================================= #
  when '182',/^architektur$/,/^architecture$/
     'architecture'
  # ======================================================================= #
  # === biofilms
  # ======================================================================= #
  when '183',
       'biofilms',
       'biofilm',
       'biofilme'
    'biofilms'
  # ======================================================================= #
  # === dna_replikation
  # ======================================================================= #
  when '184',
       /^dna(_|-| |,)?repli(c|k)ation$/i,
       'replication',
       /^dna(_|-| |,)?repl?$/i
     'dna_replication'
  # ======================================================================= #
  # === immunanalytik
  # ======================================================================= #
  when '185',/^immunanalyti(c|k)$/i,
       'immunoanalytik',
       'immunoana',
       'immunana',
       'immuna',
       'immunoassay',
       /^immunoanalytics$/i
     'immunanalytik'
  # ======================================================================= #
  # === elektrophorese
  # ======================================================================= #
  when '186',
       /^elektrophorese$/i,
       /^electrophoresis\??$/i,
       /^gelele(c|k)?trophorese\??$/i,
       'gelelectrophoresis',
       'elektrophoresis',
       'gel',
       'sds','gele'
     'elektrophorese'
  # ======================================================================= #
  # === endospores
  # ======================================================================= #
  when '187',
       /^endospores(_|-| |,)?and(_|-| |,)?spores$/i,
       /^endosporen(_|-| |,)?und(_|-| |,)?sporen$/i,
       'endospores','spores',
       'endo',
       'endospore',
       'endosporen',
       /^spore\??$/i,
       /^endospores\??$/i
     'endospores_and_spores'
  # ======================================================================= #
  # === the_bacterial_cell_wall
  # ======================================================================= #
  when '188',/^the(_|-| |,)?bacterial(_|-| |,)?cell(_|-| |,)?wall$/i,
       'bacterial_cell_wall?',
       /^bacterial(_|-| |,)?cell(_|-| |,)?wall\??$/,
       /^cell(_|-| |,)?well$/,
       /^cell(_|-| |,)?wall$/
     'the_bacterial_cell_wall'
  # ======================================================================= #
  # === bacteriophages
  #
  # Everything about bacteriophages/phages.
  # ======================================================================= #
  when '189',
       'bacteriophages',
       'phages',
       'bakteriophagen',
       'phag',
       /^pha?gen?$/
    'bacteriophages'
  # ======================================================================= #
  # === mutation
  # ======================================================================= #
  when '190',
       /^mutation$/i,
       /^dna(_|-| |,)?repair$/i,
       /^dna(_|-| |,)?mutation(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repair$/i,
       /^dna(_|-| |,)?repair(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?mutation$/i,
       /^dna(_|-| |,)?mutations(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repair$/i,
       /^dna(_|-| |,)?mutations(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repa$/i,
       /^dna(_|-| |,)?mutation(_|-| |,)?and(_|-| |,)?dna(_|-| |,)?repa$/i,
       /^dna(_|-| |,)?mutations?$/i
    'dna_mutation_and_dna_repair'
  # ======================================================================= #
  # === apoptosis
  # ======================================================================= #
  when '191',
       'apoptosis',
       'aptoptosis',
       'apoptose',
       'zelltod'
    'apoptosis'
  # ======================================================================= #
  # === interferon
  # ======================================================================= #
  when '192','interferon','ifn','interferone',
       /^the(_|-| |,)?interferon(_|-| |,)?system$/i
    'the_interferon_system'
  # ======================================================================= #
  # === pharmazeutische_biotechnologie
  # ======================================================================= #
  when '193',
       'pharmabiotech',
       /^pharmazeutische(_|-| |,)?biotechnologie1$/i,
       /^pharmazeutische(_|-| |,)?biotechnologie$/i,
       /^pharmaceutical(_|-| |,)?biotechnology$/i,
       /^pharmaceutical(_|-| |,)?biotechnol$/i,
       /^pharma(_|-| |,)?biotech\??$/i,
       'pbiotech',
       'pharma',
       'parma',
       /^pbiotechnologie$/i,
       'pharmatech'
    'pharmaceutical_biotechnology'
  # ======================================================================= #
  # === molekulare_infektionsbiologie
  # ======================================================================= #
  when '194',
       'infektionsbiologie',
       'infektion',
       'infekt',
       'infek',
       'molinfekt',
       'molinf',
       'parasit',
       'parasiten',
       'parasitologie',
       /^molekulare(_|-| |,)?infektionsbiologie$/i,
       /^parasitic(_|-| |,)?diseases(_|-| |,)?and(_|-| |,)?molecular(_|-| |,)?infection(_|-| |,)?biology$/i,
       /^parasitic(_|-| |,)?diseases(_|-| |,)?and(_|-| |,)?mo$/i,
       /^parasites?$/i,
       /^infections?$/i,
       /^molecular(_|-| |,)?infection(_|-| |,)?biology$/i
    'parasitic_diseases_and_molecular_infection_biology'
  # ======================================================================= #
  # === structural_bioinformatics
  # ======================================================================= #
  when '195',
       /^structural(_|-| |,)?bioinformatics$/i,
       'struktbioinf',
       'structbioinf',
       'strubioinfo',
       'strubinf',
       'struktbioinfo',
       'strubiinf',
       'strubioinf',
       'strubioinformatic',
       'strubioinformatics',
       'strukturinformatik',
       'structbio',
       /^strukturbioinf\??$/,
       /bioinf2$/i # This variant may be changed eventually.
    'structural_bioinformatics'
  # ======================================================================= #
  # === food_microbiology
  # ======================================================================= #
  when '196',
       /^food(_|-| |,)?microbiology$/i,
       /^food(_|-| |,)?biotechnology$/i,
       /^food(_|-| |,)?microbiology(_|-| |,)?and(_|-| |,)?food(_|-| |,)?biotechnology$/i,
       /^food(_|-| |,)?microbiology(_|-| |,)?and(_|-| |,)?foo$/i,
       /^food(_|-| |,)?biotech$/i
    'food_microbiology_and_food_biotechnology'
  # ======================================================================= #
  # === projektmanagement
  # ======================================================================= #
  when '197',
       /^proje(c|k)tmanagement$/i,
       /^pmanagement$/i,
       'pman'
    'projektmanagement'
  # ======================================================================= #
  # === cell_cultures
  # ======================================================================= #
  when '198',
       /^cell(_|-| |,)?cultures?\??$/i,
       /^cell(_|-| |,)?culturing\??$/i,
       'cellu',
       'cellcu'
    'cell_cultures'
  # ======================================================================= #
  # === chemotaxis_and_motility_in_prokaryotes
  # ======================================================================= #
  when '199',
       /^chemotaxie?s(_|-| |,)?and(_|-| |,)?motility(_|-| |,)?in(_|-| |,)?prokaryotes\??$/i,
       /^chemotaxie?s(_|-| |,)?and(_|-| |,)?motility$/i,
       /^chemotaxie?s(_|-| |,)?and(_|-| |,)?motility_?$/i,
       /^chemotaxie?s,?(_|-| |,)?quorum(_|-| |,)?sensing(_|-| |,)?and(_|-| |,)?motility(_|-| |,)?in(_|-| |,)?prokaryotes\??$/i,
       /^chemotaxis\??$/i,
       /^quorum(_|-| |,)?sensing$/i,
       /^quorum\??$/i,
       'chemo?',
       'chemo',
       'flagella',
       /^flag\??$/i
    'chemotaxis_quorum_sensing_and_motility_in_prokaryotes'
  # ======================================================================= #
  # === cellular_transport_and_protein_secretion
  # ======================================================================= #
  when '200',
       /^cellular(_|-| |,)?transport$/i,
       /^cellular(_|-| |,)?transport(_|-| |,)?and(_|-| |,)?protein(_|-| |,)?secretion$/i,
       /^cellular(_|-| |,)?transport(_|-| |,)?and(_|-| |,)?pr$/i
    'cellular_transport_and_protein_secretion'
  # ======================================================================= #
  # === elisa
  # ======================================================================= #
  when '201',
       /^elisa$/i
    'elisa'
  # ======================================================================= #
  # === transcription
  # ======================================================================= #
  when '202',
       /^transc?ription$/i,
       /^transkription$/i,
       /^qa(_|-| |,)?transcription\??$/i
    'transcription'
  # ======================================================================= #
  # === toxikologie
  # ======================================================================= #
  when '203',
       /^toxikologie$/i,
       /^toxiko$/i,
       /^qatox\??$/i,
       'toxi',
       'tox',
       'toxin',
       'toxic'
    'toxikologie'
  # ======================================================================= #
  # === biomarkers
  # ======================================================================= #
  when '204',
       /^biomarkers?$/i,
       'bioma'
    'biomarkers'
  # ======================================================================= #
  # === fluorescence_microscopy
  # ======================================================================= #
  when '205',
       /^fluorescence(_|-| |,)?microscopy\??$/i,
       /^fluorescence(_|-| |,)?microscope\??$/i,
       'fluor'
    'fluorescence_microscopy'
  # ======================================================================= #
  # === html
  # ======================================================================= #
  when '206',
       /^html\??$/i
    'html'
  # ======================================================================= #
  # === scientific_writing
  # ======================================================================= #
  when '207',
       /^scientific(_|-| |,)?writing$/i,
       /^scientific(_|-| |,)?writing(_|-| |,)?and(_|-| |,)?publishing$/i,
       /^scientific(_|-| |,)?writing(_|-| |,)?and(_|-| |,)?pu$/i,
       'scientific'
    'scientific_writing_and_publishing'
  # ======================================================================= #
  # === geography
  # ======================================================================= #
  when '208',
       /^geography$/i,
       /^geographie$/i
    'geography'
  # ======================================================================= #
  # === excel
  # ======================================================================= #
  when '209',
       /^excel$/i
    'excel'
  # ======================================================================= #
  # === splicing
  # ======================================================================= #
  when '210',
       /^splicing$/i,
       /^introns$/i,
       /^exons$/i,
       /^splice$/i,
       /^spliceosome$/i,
       /^splicing(_|-| |,)?(_|-| |,)?exons(_|-| |,)?and(_|-| |,)?introns$/i,
       /^splicing(_|-| |,)?(_|-| |,)?exons(_|-| |,)?and(_|-| |,)?intro$/i
    'splicing_exons_and_introns'
  # ======================================================================= #
  # === the_microbiome
  # ======================================================================= #
  when '211',
       /^microbiome?$/i,
       /^the(_|-| |,)?microbiome$/i,
       /^human(_|-| |,)?microbiome\??$/i,
       'mome'
    'the_microbiome'
  # ======================================================================= #
  # === citratzyklus
  # ======================================================================= #
  when '212',
       'citratzyklus',
       /^citric(_|-| |,)?acid(_|-| |,)?cycle$/i,
       /^citric(_|-| |,)?cycle$/i,
       /^the(_|-| |,)?citric(_|-| |,)?acid(_|-| |,)?cycle$/i,
       /^CAC\??$/i,
       'citric',
       'citrat'
    'citric_acid_cycle'
  # ======================================================================= #
  # === peroxisomes
  # ======================================================================= #
  when '213',
       /^peroxisomes$/i,
       /^peroxisomes(_|-| |,)?(_|-| |,)?glycosomes(_|-| |,)?and(_|-| |,)?lysosomes$/i,
       /^peroxisomes(_|-| |,)?(_|-| |,)?glycosomes(_|-| |,)?a$/i
    'peroxisomes_glycosomes_and_lysosomes'
  # ======================================================================= #
  # === messtechnik_und_regeltechnik
  # ======================================================================= #
  when '214',
       'mess',
       /^messtechnik$/i,
       /^regeltechnik$/i,
       /^messtechnik(_|-| |,)?und(_|-| |,)?regeltechnik$/i,
       /^messtechnik(_|-| |,)?und(_|-| |,)?regeltech$/i
    'messtechnik_und_regeltechnik'
  # ======================================================================= #
  # === betriebswirtschaftslehre
  # ======================================================================= #
  when '215',
       /^betriebswirtschaftslehre\??$/i,
       /^betriebswirtschaf\??$/i,
       /^betrieb\??$/i,
       /^betriebswirtschaft\??$/i,
       /^qabetrieb\??$/i
    'betriebswirtschaftslehre'
  # ======================================================================= #
  # === forensik
  # ======================================================================= #
  when '216',
       /^forensik$/i
    'forensik'
  # ======================================================================= #
  # === gluconeogenesis
  # ======================================================================= #
  when '217','gluco',
       'gluconeo',
       'gluconeogenese',
       /^gluconeogenesis\??$/i,
       /^-?-?Die(_|-| |,)?gluconeogenesis\??$/i
    'gluconeogenesis'
  # ======================================================================= #
  # === netzwerke
  # ======================================================================= #
  when '218',
       /^netzwerke\??$/i,
       /^networks\??$/i,
       /^-?-?computer(_|-| |,)?networks$/
    'netzwerke'
  # ======================================================================= #
  # === advanced_topics_in_plant_sciences
  # ======================================================================= #
  when '219',
       /^advanced(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?plant(_|-| |,)?sciences\??$/i,
       /^advanced(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?plant(_|-| |,)?s?$/i,
       /^advanced(_|-| |,)?plants$/i,
       'pflanzen2',
       'plant2',
       'plant3',
       'plants2',
       'plants3'
    'advanced_topics_in_plant_sciences'
  # ======================================================================= #
  # === macroeconomics
  # ======================================================================= #
  when '220',
       /^macro(_|-| |,)?economics\??$/i,
       'macroeconomy',
       /^makroökonomie$/i
    'macroeconomics'
  # ======================================================================= #
  # === linux
  # ======================================================================= #
  when '221',
       /^linux\??$/i,
       /^linux(_|-| |,)?and(_|-| |,)?unix\??$/i
    'linux_and_unix'
  # ======================================================================= #
  # === object_oriented_modeling
  # ======================================================================= #
  when '222',
       /^object(_|-| |,)?oriented(_|-| |,)?modeling\??$/i,
       /^objekt(_|-| |,)?orientiertes(_|-| |,)?modellieren\??$/i,
       /^objekt(_|-| |,)?orientiertes(_|-| |,)?model\??$/i,
       /^OOP\??$/i
    'object_oriented_modeling'
  # ======================================================================= #
  # === patent_law
  # ======================================================================= #
  when '223',
       /^patent(_|-| |,)?law\??$/i,
       'plaw',
       'patent'
    'patent_law'
  # ======================================================================= #
  # === glyoxylatzyklus
  # ======================================================================= #
  when '224',
       /^glyoxylatzyklus\??$/i,
       /^glyoxylat\??$/i,
       'glyoxy'
    'glyoxylatzyklus'
  # ======================================================================= #
  # === the_universe
  # ======================================================================= #
  when '225',
       /^universe\??$/i,
       /^the(_|-| |,)?universe\??$/i
    'the_universe'
  # ======================================================================= #
  # === computer_graphics
  # ======================================================================= #
  when '226',
       /^computer(_|-| |,)?graphics\??$/i,
       /^computer(_|-| |,)?vision(_|-| |,)?and(_|-| |,)?computer(_|-| |,)?graphics\??$/i,
       /^computer(_|-| |,)?vision$/i,
       /^visual$/i
    'computer_vision_and_computer_graphics'
  # ======================================================================= #
  # === nutztierethologie
  # ======================================================================= #
  when '227',
       /^nutztierethologie\??$/i
    'nutztierethologie'
  # ======================================================================= #
  # === chemische_technologie_organischer_stoffe
  # ======================================================================= #
  when '228',
       'chemtech2',
       /^chem(_|-| |,)?org\??$/i,
       /^chemische(_|-| |,)?technologie(_|-| |,)?organischer(_|-| |,)?stoffe$/i,
       /^techorgc$/i,
       /^techchem2$/i
    'chemische_technologie_organischer_stoffe'
  # ======================================================================= #
  # === cellulose
  # ======================================================================= #
  when '229',
       /^cellulose$/i
    'cellulose'
  # ======================================================================= #
  # === microcontroller
  # ======================================================================= #
  when '230',
       /^mi(c|k)rocontrollers?$/i,
       /^electronics?$/i # <- This may be moved at a later point in time.
    'microcontrollers'
  # ======================================================================= #
  # === mitochondria
  # ======================================================================= #
  when '231',
       /^mitochondria$/i,
       /^mitochondrien$/i,
       /^mtDNA$/i
    'mitochondria'
  # ======================================================================= #
  # === stickstofffixierung
  # ======================================================================= #
  when '232',
       /^stickstofff?ixierung$/i,
       /^stickstofff?$/i
    'stickstofffixierung'
  # ======================================================================= #
  # === Protein Engineering
  # ======================================================================= #
  when '233',
       /^protein(_|-| |,)?engineering\??$/i
    'protein_engineering'
  # ======================================================================= #
  # === Cytokines
  # ======================================================================= #
  when '234',
       /^cytokines?\??$/i,
       /^chemokines?\??$/i,
       /^chemokines(_|-| |,)?and(_|-| |,)?cytokines$/i
    'chemokines_and_cytokines'
  # ======================================================================= #
  # === Urea cycle
  # ======================================================================= #
  when '235',
       /^urea(_|-| |,)?cycle\??$/i,
       /^the(_|-| |,)?urea(_|-| |,)?cycle\??$/i,
       /^urea\??$/i
    'urea_cycle'
  # ======================================================================= #
  # === Pentosephosphatweg
  # ======================================================================= #
  when '236',
       /^Pentosephosphatweg\??$/i,
       /^Pentosephosphat\??$/i,
       /^pentose$/,
       /^pentose(_|-| |,)?phospho?ate(_|-| |,)?pathway\??$/i
    'pentosephosphatweg'
  # ======================================================================= #
  # === Glykogen
  # ======================================================================= #
  when '237',
       /^Glykogen\??$/i,
       /^Glycogen\??$/i
    'glycogen'
  # ======================================================================= #
  # === Proteolyse
  # ======================================================================= #
  when '238',
       /^Proteolyse\??$/i,
       /^proteolysis\??$/i
    'proteolyse'
  # ======================================================================= #
  # === Geometrie
  # ======================================================================= #
  when '239',
       /^geometrie\??$/i,
       /^geometry\??$/i
    'geometrie'
  # ======================================================================= #
  # === Atomemissionsspektrometrie
  # ======================================================================= #
  when '240',
       /^atomemissionsspektrometrie\??$/i
    'atomemissionsspektrometrie'
  # ======================================================================= #
  # === Kryptographie
  # ======================================================================= #
  when '241',
       /^kryptographie\??$/i
    'kryptographie'
  # ======================================================================= #
  # === protozoans
  # ======================================================================= #
  when '242',
       /^protozoans?$/i,
       /^protista\??$/i,
       /^protists?$/i
    'protozoans'
  # ======================================================================= #
  # === Thermodynamics
  # ======================================================================= #
  when '243',
       /^thermodynamics\??$/i,
       /^thermodynamik?$/i,
       /^thermodynamic$/i
    'thermodynamics'
  # ======================================================================= #
  # === Cellular Vesicles
  # ======================================================================= #
  when '244',
       /^cellular(_|-| |,)?vesicles\??$/i
    'cellular_vesicles'
  # ======================================================================= #
  # === Meteorologie
  # ======================================================================= #
  when '245',
       /^meteorologie(_|-| |,)?und(_|-| |,)?atmosphäre$/i,
       /^meteorologie\??$/i,
       /^wetter\??$/i
    'meteorologie_und_atmosphäre'
  # ======================================================================= #
  # === erste_hilfe
  # ======================================================================= #
  when '246',
       /^erste(_|-| |,)?hilfe\??$/i,
       /^qaerste(_|-| |,)?hilfe\??$/i,
       /^erste$/i
    'erste_hilfe'
  # ======================================================================= #
  # === marketing
  # ======================================================================= #
  when '247',
       /^marketing$/i
    'marketing'
  # ======================================================================= #
  # === birds
  # ======================================================================= #
  when '248',
       /^birds$/i
    'birds'
  # ======================================================================= #
  # === advanced_immunology
  # ======================================================================= #
  when '249',
       /^advanced(_|-| |,)?immunology$/i,
       /^advanced(_|-| |,)?immuno?$/i,
       'imm2',
       /^qa(_|-| |,)?imm2?$/i
    'advanced_immunology'
  # ======================================================================= #
  # === archaeo_viruses
  # ======================================================================= #
  when '250',
       /^archaeo(_|-| |,)?viruses$/i,
       /^viruses(_|-| |,)?of(_|-| |,)?archaea$/i
    'archaeo_viruses'
  # ======================================================================= #
  # === light_microscopy
  # ======================================================================= #
  when '251',
       /^light(_|-| |,)?microscop(e|y)$/i,
       /^licht(_|-| |,)?mikroskop$/i
    'light_microscopy'
  # ======================================================================= #
  # === verhaltensbiologie
  # ======================================================================= #
  when '252',
       /^verhaltensbiologie$/i,
       /^cognition\??$/i,
       'verhalten',
       'ethologie'
    'verhaltensbiologie'
  # ======================================================================= #
  # === robotics
  # ======================================================================= #
  when '253',
       /^robotics?$/i,
       /^robotiks?$/i
    'robotics'
  # ======================================================================= #
  # === electron_microscopy
  # ======================================================================= #
  when '254',
       /^electron(_|-| |,)?microscopy$/i
    'electron_microscopy'
  # ======================================================================= #
  # === Sozialbiologie
  # ======================================================================= #
  when '255',
       /^Sozialbiologie$/i
    'sozialbiologie'
  # ======================================================================= #
  # === Neuroanatomie
  # ======================================================================= #
  when '256',
       /^Neuroanatomie$/i,
       /^qa(_|-| |,)?neuroanatomie\??$/i
    'neuroanatomie'
  # ======================================================================= #
  # === programming
  # ======================================================================= #
  when '257',
       /^programming\??$/i,
       /^qa(_|-| |,)?programming\??$/i
    'programming'
  # ======================================================================= #
  # === technik
  # ======================================================================= #
  when '258',
       /^technik\??$/i,
       /^qa(_|-| |,)?technik\??$/i
    'technik'
  # ======================================================================= #
  # === biomedical_studies
  # ======================================================================= #
  when '259',
       /^biomedical(_|-| |,)?studies\??$/i
    'biomedical_studies'
  # ======================================================================= #
  # === soziologie
  # ======================================================================= #
  when '260',
       /^soziologie\??$/i
    'soziologie'
  # ======================================================================= #
  # === sport-und-sportverletzungen
  # ======================================================================= #
  when '261',
       /^sport(_|-| |,)?und(_|-| |,)?sportverletzungen\??$/i
    'sport_und_sportverletzungen'
  # ======================================================================= #
  # === Archaeology
  # ======================================================================= #
  when '262',
       'archaeology',
       /^archaelogy\??$/i,
       /^archaelogie\??$/i,
       'latest',
       'last' # ← These two entries have to be adjusted manually to the last entry point. (last tag)
    'archaeology'
  else
    if be_verbose and !i.to_s.empty?
      pp caller()
      puts "In the method Studium.find_corresponding_exam_topic(), we did "\
           "not find any match for:"
      puts "  `#{i}` (Encoding: #{i.encoding.to_s}."
    end
    false # We did not find anything.
  end
end

.from_curriculum_id_to_university(i, report_unregistered_keys = true) ⇒ Object

#

Studium.from_curriculum_id_to_university

This method will translate from the curriculum-id to the corresponding university.

#


5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5105

def self.from_curriculum_id_to_university(
    i, report_unregistered_keys = true
  )
  if i.is_a? Array
    i = i.flatten.join(' ').strip
  end
  result = nil
  dataset_from_the_yaml_file = YAML.load_file(Studium.file_curricula)
  i = i.to_s.dup
  # i = ensure_main_encoding(i.to_s.dup)
  if dataset_from_the_yaml_file.has_key? i
    array_pointer = dataset_from_the_yaml_file[i]
    # ===================================================================== #
    # The name of the university is presently hardcoded at the second
    # position. In the past the following code used .last, but since
    # as of October 2019, the particular .yml file format was changed.
    # ===================================================================== #
    name_of_the_university = array_pointer[1]
    result = name_of_the_university
  else # Else report that the key is not registered.
    if report_unregistered_keys
      e "Key `#{i}` is not registered."
    end
  end
  result
end

.from_filename_to_curriculum_name(i) ⇒ Object

#

Studium.from_filename_to_curriculum_name

This method will translate from the filename to the curriculum name.

Usage example:

Studium.from_filename_to_curriculum_name('/usr/lib/ruby/site_ruby/3.2.0/studium/yaml/curricula/bachelor/bachelor_lmbt_033217.yml')
#


4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4509

def self.from_filename_to_curriculum_name(i)
  if i and File.exist? i
    _ = File.readlines(i)
    # ===================================================================== #
    # We assume the second line is the one containing the real name.
    # ===================================================================== #
    i = _[1].delete('#=').strip
  end
  return i
end

.generate_regexes_for_the_registered_lectures(i = ARGV) ⇒ Object

#

Studium.generate_regexes_for_the_registered_lectures

#


40
41
42
# File 'lib/studium/utility_scripts/regexes/generate_regexes_for_the_registered_lectures.rb', line 40

def self.generate_regexes_for_the_registered_lectures(i = ARGV)
  Studium::GenerateRegexesForTheRegisteredLectures.new(i)
end

.has_a_bachelor_curriculum?(array) ⇒ Boolean

#

Studium.has_a_bachelor_curriculum?

A bachelor curriculum most commonly starts with the three numbers ‘033’.

#

Returns:

  • (Boolean)


5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5535

def self.has_a_bachelor_curriculum?(array)
  if array.is_a? String
    array = [array] # Ad-hoc change here.
  end
  array.any? {|line|
    line.to_s.start_with?('033') # or
    # line.to_s.start_with?('196') # or # For diploma-curricula. Actually 196041 is Mastercurriculum Lehramt Biologie.
    # line.to_s.start_with?('199') # This is incorrect, though. See: Master Lehramt UF Chemie (199 504)
  } if array
end

.has_a_master_curriculum?(array) ⇒ Boolean

#

Studium.has_a_master_curriculum?

This method expects the input-argument to be an Array.

Since April 2020, if the input is a String then it will be converted into an Array.

#

Returns:

  • (Boolean)


5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5556

def self.has_a_master_curriculum?(array)
  if array.is_a? String
    array = [array]
  end
  array.any? {|line|
    line.to_s.start_with?('066') or
    line.to_s.start_with?('196') or # For diploma-curricula.
    line.to_s.start_with?('199')
  }
end

.has_this_lecture_been_already_passed_but_the_id_was_changed_lateron?(id_of_the_lecture, name_of_the_lecture) ⇒ Boolean

#

Studium.has_this_lecture_been_already_passed_but_the_id_was_changed_lateron?

Here we can check whether a lecture has already been passed.

You have to input the ID of the lecture at hand as the first argument and the name of the lecture as the second argument.

#

Returns:

  • (Boolean)


3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3391

def self.has_this_lecture_been_already_passed_but_the_id_was_changed_lateron?(
    id_of_the_lecture,
    name_of_the_lecture
  )
  file_lecture_aliases = Studium.file_lecture_aliases
  dataset = YAML.load_file(file_lecture_aliases) if File.exist?(file_lecture_aliases)
  # ======================================================================= #
  # This does not currently work.
  # ======================================================================= #
  if dataset.has_key?(id_of_the_lecture) and
     (dataset.fetch(id_of_the_lecture) == name_of_the_lecture)
    return true
  end
  return false # ← This is the default.
end

.has_this_module_been_completed?(i = "Zellbiologie, Genetik und evolutionäre Genetik des Menschen", use_this_dataset = nil) ⇒ Boolean

#

Studium.has_this_module_been_completed?

This method will return true if the module at hand (the argument to the method) has been completed successfully; and false otherwise.

The input to this method should be a String ideally, which should be the name of the module at hand, such as “Zellbiologie, Genetik und evolutionäre Genetik des Menschen”.

An Array can also be given, in which case it will be joined into a String.

#

Returns:

  • (Boolean)


2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2324

def self.has_this_module_been_completed?(
    i                = "Zellbiologie, Genetik und evolutionäre Genetik des Menschen",
    use_this_dataset = nil
  )
  i = i.join(' ').strip if i.is_a? Array
  if i.nil? or i.empty?
    # ===================================================================== #
    # Use a default value in this case.
    # ===================================================================== #
    i = "Zellbiologie, Genetik und evolutionäre Genetik des Menschen"
  end
  if use_this_dataset.nil?
    use_this_dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information_including_aliases
  end
  entries_with_the_proper_curriculum_module = use_this_dataset.select {|a,b|
    name_of_the_curriculum_module = b[:name_of_the_curriculum_module]
    next if name_of_the_curriculum_module.nil?
    name_of_the_curriculum_module.strip == i.strip
  }
  entries_with_the_proper_curriculum_module.all? {|a,b|
    already_solved = b[:already_solved]
    already_solved and (already_solved == true)
  }
end

.hh_mm_ssObject

#

Studium.hh_mm_ss

This will use the separator-token ‘_’ and return a String such as “18_57_36”.

#


703
704
705
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 703

def self.hh_mm_ss
  ::Time.now.strftime('%H_%M_%S')
end

.html_log_directory?Boolean

#

Studium.html_log_directory?

Query method to determine where we keep our autogenerated .html files.

This will yield towards a path such as “/root/Studium/html/”.

#

Returns:

  • (Boolean)


18
19
20
# File 'lib/studium/logging/html_log_directory.rb', line 18

def self.html_log_directory?
  "#{determine_the_log_directory}html/"
end

.infer_the_year_of_this_lecture(this_lecture, dataset_from_the_file_lecture_information) ⇒ Object

#

Studium.infer_the_year_of_this_lecture

#


2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2764

def self.infer_the_year_of_this_lecture(
    this_lecture,
    dataset_from_the_file_lecture_information
  )
  pointer = dataset_from_the_file_lecture_information[this_lecture]
  if pointer
    homepage = pointer[:homepage]
    homepage = homepage.first if homepage.is_a? Array
    if homepage
      if homepage.include? '=' # Handle cases such as: 'https://ufind.univie.ac.at/de/course.html?lv=301847&semester=2022S'
        splitted = homepage.split('=')
        homepage = splitted.last.to_s # Last entry.
        case homepage.size
        when 5, 6 # For BOKU courses such as: '297149', or Vetmed courses such as: '65119'
          # =============================================================== #
          # In this case we have to use another way to infer the
          # current semester.
          # =============================================================== #
          # We have to fetch entries such as:
          #
          #   - https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306097 # 2022W
          #
          # =============================================================== #
          raw_dataset = readlines_of(Studium.file_lecture_information)
          selection = raw_dataset.select {|line|
            line.include? splitted.join('=')
          }
          selection = selection.first if selection.is_a? Array
          selection.strip!
          if selection.include?('#')
            return selection.split('#').last.to_s
          end
        end
        # ================================================================= #
        # Still have to cover cases such as:
        #
        #   !ruby/symbol homepage:
        #   - https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306097 # 2022W
        #
        # ================================================================= #
        return homepage
      end
    end
  end
  return nil
end

.initialize_main_datasetObject

#

Studium.initialize_main_dataset

This method will always initialize the main dataset - call it only when you wish to keep that assignment on the toplevel, as the dataset is fairly big and may incur a bit of a “speed-penalty” due to that.

#


2543
2544
2545
2546
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2543

def self.initialize_main_dataset
  @main_dataset =
    return_sanitized_dataset_from_the_file_lecture_information
end

.initialize_the_main_dataset_unless_it_was_already_initializedObject

#

Studium.initialize_the_main_dataset_unless_it_was_already_initialized

#


2551
2552
2553
2554
2555
2556
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2551

def self.initialize_the_main_dataset_unless_it_was_already_initialized
  if @main_dataset.nil?
    initialize_main_dataset
  end
  return @main_dataset
end

.install_the_project_on_the_given_hostsystemObject

#

Studium.install_the_project_on_the_given_hostsystem

This method can be used to install the studium-project onto the given hostsystem.

#


18
19
20
21
22
23
24
25
# File 'lib/studium/toplevel_methods/install_the_project_on_the_given_hostsystem.rb', line 18

def self.install_the_project_on_the_given_hostsystem
  require 'studium/utility_scripts/regexes/generate_regexes_for_the_available_moodle_links.rb'
  require 'studium/utility_scripts/regexes/generate_regexes_for_the_registered_lectures.rb'
  rinstall2 { :be_quiet }
  generate_regexes_for_the_registered_lectures
  GenerateRegexesForTheAvailableMoodleLinks.new
  rinstall2 { :be_quiet }
end

.is_a_master_lecture?(this_lecture) ⇒ Boolean

#

Studium.is_a_master_lecture?

This method is supposed to return true if the given input is a master course, and false otherwise.

#

Returns:

  • (Boolean)


4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4616

def self.is_a_master_lecture?(this_lecture)
  if ::Studium.main_dataset?
    dataset_to_use = Studium.main_dataset?
  else
    dataset_to_use = Studium.return_sanitized_dataset_from_the_file_lecture_information
    Studium.main_dataset = dataset_to_use
  end
  if dataset_to_use.has_key?(this_lecture)
    # ===================================================================== #
    # Ok we have found this lecture registered. Now we grab the entry
    # and pass it into has_a_master_curriculum?().
    # ===================================================================== #
    pointer = dataset_to_use[this_lecture]
    these_curricula = pointer['curricula']
    has_a_master_curriculum?(these_curricula)
  else
    false
  end
end

.is_a_registered_curriculum?(i) ⇒ Boolean

#

Studium.is_a_registered_curriculum?

The input to this method must be as accurate as possible for the time being, as the _.any? check is very simplistic.

The input to this method can be an Array.

Usage example:

Studium.is_a_registered_curriculum?('agrar')
#

Returns:

  • (Boolean)


5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5220

def self.is_a_registered_curriculum?(i)
  # ======================================================================= #
  # If the input is an Array, such as:
  #
  #  ["/usr/lib/ruby/site_ruby/3.1.0/studium/yaml/curricula/bachelor/bachelor_biologie_basisblock_033630.yml",
  #   "/usr/lib/ruby/site_ruby/3.1.0/studium/yaml/curricula/bachelor/bachelor_biologie_mikrobiologie_und_genetik_033630.yml"]
  #
  # then we will need to make use of another check.
  # ======================================================================= #
  array = Studium.return_array_location_of_all_registered_curricula.
          compact.uniq
  if i.is_a? Array
    i.each {|inner_entry|
      return true if array.any? {|line| line.include?(inner_entry) } 
    }
    return false
  else
    return array.any? {|line| line.include?(i) }
  end
end

.is_a_vorbesprechungs_day?(i) ⇒ Boolean

#

Studium.is_a_vorbesprechungs_day?

This method will return a boolean.

The input should be a date, in dd.mm.yyyy format, such as “22.11.2011”.

#

Returns:

  • (Boolean)


306
307
308
309
310
# File 'lib/studium/utility_scripts/preparatory_meetings/preparatory_meetings.rb', line 306

def self.is_a_vorbesprechungs_day?(i)
  _ = ::Studium::PreparatoryMeetings.new(i) { :do_not_report_anything }
  array = _.return_the_preparatory_meetings
  return array.include? i
end

.is_on_roebe?Boolean

#

Studium.is_on_roebe?

#

Returns:

  • (Boolean)


12
13
14
# File 'lib/studium/toplevel_methods/roebe.rb', line 12

def self.is_on_roebe?
  ENV['IS_ROEBE'].to_s == '1'
end

.is_this_a_valid_html_colour?(i) ⇒ Boolean

#

Studium.is_this_a_valid_html_colour?

This method will delegate towards the Colours project, in order to determine whether something is a valid HTML colour or not.

#

Returns:

  • (Boolean)


1565
1566
1567
# File 'lib/studium/colours/colours.rb', line 1565

def self.is_this_a_valid_html_colour?(i)
  return ::Colours.is_this_a_valid_html_colour?(i)
end

.is_this_an_exam_topic?(i = :amg) ⇒ Boolean

#

Studium.is_this_an_exam_topic?

This method will determine whether the given input to this method is a valid exam topic or whether it is not.

Usage examples:

Studium.is_this_an_exam_topic?('rbroken') # => false
Studium.is_this_an_exam_topic?('amg1')    # => true
Studium.is_this_an_exam_topic?('amg11')   # => false
Studium.is_this_an_exam_topic?('bioinf')  # => true
#

Returns:

  • (Boolean)


41
42
43
44
45
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 41

def self.is_this_an_exam_topic?(i = :amg)
  expanded = find_corresponding_exam_topic(i, :be_quiet)
  return true if expanded
  return false
end

.is_this_day_a_holiday?(i) ⇒ Boolean

#

Studium.is_this_day_a_holiday?

#

Returns:

  • (Boolean)


137
138
139
140
# File 'lib/studium/utility_scripts/holidays/holidays.rb', line 137

def self.is_this_day_a_holiday?(i)
  _ = ::Studium::Holidays.new(:do_not_report_anything)
  _.is_this_day_a_holiday?(i)
end

.is_this_exam_topic_included?(this_exam_topic) ⇒ Boolean

#

Studium.is_this_exam_topic_included?

This method will return true if the given input at hand is included, that is, if we assume it to be an exam topic - or false otherwise, which is the default behaviour.

Usage examples:

Studium.is_this_exam_topic_included? 'amg'
Studium.is_this_exam_topic_included? 'bem2'
#

Returns:

  • (Boolean)


3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3906

def self.is_this_exam_topic_included?(
    this_exam_topic
  )
  return_value = false
  this_exam_topic = Studium.find_corresponding_exam_topic(this_exam_topic, :be_quiet) # This can be false.
  if this_exam_topic
    this_exam_topic = "#{Studium.directory_to_the_exam_topics?}"\
                      "#{File.basename(this_exam_topic)}"
    return_value = true if File.exist? this_exam_topic
  end
  return return_value
end

.is_this_exam_topic_registered?(this_topic) ⇒ Boolean

#

Studium.is_this_exam_topic_registered?

This method can be used to find out whether the given input is a registered exam topic or not.

Usage example:

Studium.is_this_exam_topic_registered?('rbroken')
#

Returns:

  • (Boolean)


3813
3814
3815
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3813

def self.is_this_exam_topic_registered?(this_topic)
  Studium.find_corresponding_exam_topic(this_topic, :be_quiet)
end

.is_this_homepage_registered?(i = ARGV) ⇒ Boolean

#

Studium.is_this_homepage_registered?

This method can be used to determine whether a given homepage of a lecture is registered within the Studium project or whether it is not.

#

Returns:

  • (Boolean)


3884
3885
3886
3887
3888
3889
3890
3891
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3884

def self.is_this_homepage_registered?(i = ARGV)
  if i.is_a? Array
    i = i.first
  end
  copy = i.dup
  copy = Studium.return_remote_homepage_of_this_lecture(copy)
  !(copy == i)
end

.is_this_lecture_a_practical_course?(i, optional_lecture_type = nil) ⇒ Boolean

#

Studium.is_this_lecture_a_practical_course?

This method will return true if the given input-lecture is a practical course, and false otherwise.

In order for this to work, the method requires that the first argument is the correct name (identifier) of the lecture at hand; the second argument is optional, but if given it will be used to query the constant called ARRAY_LECTURE_TYPES_THAT_ARE_MANDATORY_CONTINUOUS_ASSESSMENT.

If the second argument is given then the method will work very easily and quickly - we only have to check one constant.

If, however had, no second argument is given, then the method will have to determine the lecture-type from the dataset stored in the file lecture_information. This requires loading this dataset at the least once, and then storing it (if not nil) in the toplevel variable.

#

Returns:

  • (Boolean)


3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3942

def self.is_this_lecture_a_practical_course?(
    i,
    optional_lecture_type = nil
  )
  result = false
  if i.is_a? Array
    i = i.first
  end
  if optional_lecture_type.nil?
    Studium.initialize_main_dataset if Studium.main_dataset?.nil?
    dataset = Studium.main_dataset?
    pointer = dataset[i]
    if pointer.nil? and (i !~ /^\d+/)
      all_keys = dataset.keys
      if all_keys.any? {|entry| entry.include?(i) }
        selection_of_possible_alternative_lectures = all_keys.select {|inner_entry|
          inner_entry.include?(i)
        }
        # ================================================================= #
        # Now the selection may be an Array containing more than one
        # entry. If this is the case we will always return the shortest
        # entry for now, as we will assume that the shortest entry is
        # the most correct one. Otherwise the user has to specify a
        # better entry, if he/she wants a more accurate representation.
        # Thus, simply sort the array by size next.
        # ================================================================= #
        selection_of_possible_alternative_lectures = selection_of_possible_alternative_lectures.sort_by {|x|
          x.size
        }
        i = selection_of_possible_alternative_lectures.first
        pointer = dataset[i]
      end
    end
    optional_lecture_type = pointer[:type] if pointer
  end
  if optional_lecture_type
    result = ARRAY_LECTURE_TYPES_THAT_ARE_MANDATORY_CONTINUOUS_ASSESSMENT.include?(optional_lecture_type)
    return result
  end
end

.is_this_lecture_part_of_the_vector_curriculum(this_lecture = ARGV, modus_operandi = :be_strict) ⇒ Object

#

Studium.is_this_lecture_part_of_the_vector_curriculum

This method will return true or false, depending on whether the lecture at hand is part of the Vector curriculum or whether it is not.

The second argument determines whether this method will be strict, and return only true if the input-name (first argument) is exactly as registered; or whether it may :be_lenient, which means that it will try to find a similarly-named lecture. In the latter case, tokens such as ‘,’ will be ignored.

Presently leading numbers are ignored.

#


4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4932

def self.is_this_lecture_part_of_the_vector_curriculum(
    this_lecture   = ARGV,
    modus_operandi = :be_strict # The modus can be strict or lenient.
  )
  this_lecture = this_lecture.first if this_lecture.is_a? Array
  this_lecture = this_lecture.to_s.rstrip # Don't want any ' ' characters on the right hand side.
  # unless this_lecture.encoding.to_s.include? ::Studium.main_encoding?
  #   this_lecture = ensure_main_encoding(this_lecture)
  # end
  this_lecture.delete!('()')
  # ======================================================================= #
  # If the input starts with a number and has at the least one ' ', we chop
  # the number part away.
  # ======================================================================= #
  if this_lecture.start_with?(/\d+/) and this_lecture.include?(' ')
    this_lecture = this_lecture.split(' ')[1 .. -1].join(' ')
  end
  # ======================================================================= #
  # First, load up the two .yml files of the individual curriculum.
  # ======================================================================= #
  dataset = Studium.read_dataset_from_a_curriculum_file(
    :bachelor_vektor, :remove_comments_and_title
  )+
  Studium.read_dataset_from_a_curriculum_file(
    :master_vektor, :remove_comments_and_title
  )
  dataset.flatten!
  # ======================================================================= #
  # Sanitize all lectures there. To simplify, we will also get rid of all
  # '(' and ')' tokens.
  # ======================================================================= #
  dataset = dataset.map {|entry|
    entry = entry.to_s
    # unless entry.encoding.to_s.include? ::Studium.main_encoding?
    #   entry = ensure_main_encoding(entry)
    # end
    entry = entry.dup if entry.frozen?
    entry.delete!('()') # Remove both '(' and ')' tokens.
    case modus_operandi
    when :be_lenient
      entry.delete!(',:') # We get rid of ',' and ':' tokens.
    end
    entry.chop! if entry.end_with? '.' # Get rid of trailing '.'
    if (entry =~ /^\d{1}/) and
      entry.include?(' ')
      entry = entry.split(' ')[1..-1].join(' ')
    end
    entry
  }
  # ======================================================================= #
  # By default we do a "hard" check, without any lenience.
  # ======================================================================= #
  is_included_or_is_not_included = dataset.include? this_lecture
  case modus_operandi
  when :be_lenient
    # ===================================================================== #
    # In this case we will be more tolerant.
    # ===================================================================== #
    is_included_or_is_not_included = dataset.any? {|line|
      line.start_with?(this_lecture) or (line =~ /#{this_lecture}$/)
    }
  end
  return is_included_or_is_not_included
end

.is_this_lecture_registered_in_upcoming_exams?(i, file_important_exams = file_important_exams? ) ⇒ Boolean

#

Studium.is_this_lecture_registered_in_upcoming_exams?

This method will return true if the given input lecture is part of the registered upcoming exams file, and false otherwise.

#

Returns:

  • (Boolean)


2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2408

def self.is_this_lecture_registered_in_upcoming_exams?(
    i,
    file_important_exams = file_important_exams?
  )
  i = i.first if i.is_a? Array # Only handle the first entry for Arrays.
  i = i.dup if i.frozen?
  i.squeeze!(' ')
  # ======================================================================= #
  # Next we must load the dataset that is stored in the upcoming
  # important exams:
  # ======================================================================= #
  dataset = File.readlines(file_important_exams).reject {|line|
    line.start_with?('#') or line.to_s.strip.empty?
  }
  keys = dataset.map {|entry| entry.strip.squeeze(' ') }
  keys.include?(i)
end

.is_this_url_registered?(i) ⇒ Boolean

#

Studium.is_this_url_registered?

This method can be used to determine whether a given URL is registered within the Studium-namespace, or whether it is not.

#

Returns:

  • (Boolean)


11606
11607
11608
11609
# File 'lib/studium/toplevel_methods/return_remote_homepage_of_this_lecture.rb', line 11606

def self.is_this_url_registered?(i)
  remote_url = Studium.return_remote_url_of_this_lecture(i)
  !(remote_url == i) # If both are the same, then the URL is NOT registered.
end

.ja_oder_nein(i) ⇒ Object

#

Studium.ja_oder_nein

#


4193
4194
4195
4196
4197
4198
4199
4200
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4193

def self.ja_oder_nein(i)
  case i.to_s
  when 'true'
    return 'Ja'
  else
    return 'Nein'
  end
end

.konsole_support?Boolean

#

Studium.konsole_support?

Whether we have “konsole support” - which for now is just a check for colour-support.

#

Returns:

  • (Boolean)


1585
1586
1587
# File 'lib/studium/colours/colours.rb', line 1585

def self.konsole_support?
  Object.const_defined? :Colours
end

.last_saved_into_this_fileObject

#

Studium.last_saved_into_this_file

#


1067
1068
1069
# File 'lib/studium/constants/constants.rb', line 1067

def self.last_saved_into_this_file
  "#{log_dir?}last_saved_into_this_file.md"
end

.last_saved_into_which_file?Boolean

#

Studium.last_saved_into_which_file?

This method will always try to read in from the last saved file.

But sometimes, the file may not exist, in which case we will return nil.

#

Returns:

  • (Boolean)


4409
4410
4411
4412
4413
4414
4415
4416
4417
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4409

def self.last_saved_into_which_file?
  _ = ::Studium::LAST_SAVED_INTO_THIS_FILE
  if File.exist? _
    _ = File.read(_).chomp
  else
    _ = nil # In this case, the file does not exist.
  end
  return _
end

.last_topic?Boolean

#

Studium.last_topic?

Reader-method over the FILE_LAST_TOPIC constant. This one will determine the path dynamically, whereas the constant above will be always static.

#

Returns:

  • (Boolean)


1290
1291
1292
1293
1294
1295
1296
1297
# File 'lib/studium/constants/constants.rb', line 1290

def self.last_topic?
  target_file = file_last_topic?
  if File.exist? target_file
    File.read(target_file).chomp
  else
    e "No file exists at #{sfile(target_file)}."
  end
end

.lecture_information(i = Studium.file_lecture_information?) ⇒ Object

#

Studium.lecture_information

This method will simply load up the dataset from the file ‘lecture_information.yml’.

#


2433
2434
2435
2436
2437
2438
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2433

def self.lecture_information(
    i = Studium.file_lecture_information?
  )
  require 'yaml'
  return YAML.load_file(i)
end

.lectures_without_attribution_to_any_curriculumObject

#

Studium.lectures_without_attribution_to_any_curriculum

This method will return all entries in the file lecture_information.yml that have no attribution to any official curriculum.

#


4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4642

def self.lectures_without_attribution_to_any_curriculum
  dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
  dataset.select! {|a, inner_hash|
    curricula = inner_hash['curricula']
    # ===================================================================== #
    # Find empty curricula next:
    # ===================================================================== #
    curricula.any? {|entry|
      entry.is_a?(String) and entry.empty?
    }
  }
end

.libuiObject

#

Studium.libui

Simpler wrapper to start the libui-bindings.

#


2934
2935
2936
2937
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2934

def self.libui
  require 'studium/gui/libui/ask_exam_question/ask_exam_question.rb'
  ::Studium::GUI::Libui::AskExamQuestion.new
end

.lightgreen(i = '') ⇒ Object

#

Studium.lightgreen

#


1609
1610
1611
1612
# File 'lib/studium/colours/colours.rb', line 1609

def self.lightgreen(i = '')
  return ::Studium::Colours.lightgreen(i) if Colours.use_colours?
  return i
end

.lightsalmon(i = '') ⇒ Object

#

Studium.lightsalmon

#


1667
1668
1669
# File 'lib/studium/colours/colours.rb', line 1667

def self.lightsalmon(i = '')
  return ::Studium::Colours.lightsalmon(i)
end

.load_this_yaml_file(i = :indi2) ⇒ Object

#

Studium.load_this_yaml_file

#


399
400
401
# File 'lib/studium/curricula/determine_curricula/misc.rb', line 399

def self.load_this_yaml_file(i = :indi2)
  Studium::DetermineCurricula.new(i) { :do_not_report }.lectures?
end

.log_directory?Boolean

#

Studium.log_directory?

This will return the log directory. On my system this will default to “/Depot/Studium/”.

#

Returns:

  • (Boolean)


91
92
93
94
95
96
97
98
# File 'lib/studium/logging/log_directory.rb', line 91

def self.log_directory?
  # ======================================================================= #
  # In the past we also ensured that the log directory exists.
  # Since as of 11.12.2019 this has been disabled.
  # ======================================================================= #
  # Studium.ensure_that_log_dir_exists
  return @log_directory
end

.lva_dates_of_this_important_course(i) ⇒ Object

#

Studium.lva_dates_of_this_important_course

#


99
100
101
102
103
104
105
# File 'lib/studium/utility_scripts/lva_dates_of_the_important_courses.rb', line 99

def self.lva_dates_of_this_important_course(i)
  if i.is_a? Array
    i.each {|entry| lva_dates_of_this_important_course(entry) }
  else
    Studium::LvaDatesOfTheImportantCourses.new(i)
  end
end

.main_dataset?Boolean

#

Studium.main_dataset?

#

Returns:

  • (Boolean)


2524
2525
2526
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2524

def self.main_dataset?
  @main_dataset
end

.main_topic?(return_all_entries = false) ⇒ Boolean

#

Studium.main_topic?

This method will return the main topics (themes) that were assigned manually - in other words, exam topics that were used.

#

Returns:

  • (Boolean)


1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
# File 'lib/studium/constants/constants.rb', line 1326

def self.main_topic?(
    return_all_entries = false
  )
  require 'studium/requires/require_yaml.rb'
  case return_all_entries
  # ======================================================================= #
  # === :return_the_full_dataset
  # ======================================================================= #
  when :return_the_full_dataset
    return_all_entries = true
  end
  result = YAML.load_file(file_main_topic?)
  unless return_all_entries
    if result.is_a? Array
      result = result.first
    end
  end
  result
end

.mandatory_lectures_in_this_month(i) ⇒ Object

#

Studium.mandatory_lectures_in_this_month

#


305
306
307
# File 'lib/studium/utility_scripts/mandatory_lectures_in_this_month/mandatory_lectures_in_this_month.rb', line 305

def self.mandatory_lectures_in_this_month(i)
  Studium::MandatoryLecturesInThisMonth.new(i)
end

.map_curriculum_name_to_curriculum_number(this_curriculum_name) ⇒ Object

#

Studium.map_curriculum_name_to_curriculum_number

This method will map from a curriculum name to the corresponding curriculum number.

This method will return a String such as “033630”.

You can also provide a partial input such as:

Studium.map_curriculum_name_to_curriculum_number('master_biotech')
Studium.map_curriculum_name_to_curriculum_number(:bachelor_agrarwissenschaften) # => "033255"
Studium.map_curriculum_name_to_curriculum_number(:bachelor_lbt)
#


4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4254

def self.map_curriculum_name_to_curriculum_number(
    this_curriculum_name
  )
  if this_curriculum_name.is_a? Symbol
    # ===================================================================== #
    # Here we try to find a substitute, if the input is a Symbol.
    # ===================================================================== #
    this_curriculum_name = Studium.map_input_to_this_curriculum_filename(this_curriculum_name)
    if File.exist? this_curriculum_name
      this_curriculum_name = Studium.from_filename_to_curriculum_name(this_curriculum_name)
    end
  end
  this_curriculum_name = this_curriculum_name.to_s
  _ = YAML.load_file(Studium.file_curricula)
  inverted_dataset = _.invert
  # ======================================================================= #
  # The entries to the above dataset may be like this:
  #
  #   ["Mastercurriculum Lehramt UF Biologie und Umweltkunde", "Uni Wien"]=>
  #    "199502"
  # ======================================================================= #
  # We will build a new Hash, using only the first element of the above
  # key.
  # ======================================================================= #
  new_hash = Hash[inverted_dataset.map {|array, curriculum_number|
    [array.first, curriculum_number]
  }]
  unless new_hash.has_key? this_curriculum_name
    # ===================================================================== #
    # In this case we try to match the curriculum name.
    # ===================================================================== #
    possible_curriculum_name = Studium.map_partial_input_to_full_curriculum_name(this_curriculum_name)
    if new_hash.has_key? possible_curriculum_name
      this_curriculum_name = possible_curriculum_name
    end
  end
  # ======================================================================= #
  # Do some ad-hoc sanitizing next:
  # ======================================================================= #
  case this_curriculum_name
  when /Bachelorcurriculum(_|-| )?Mikrobiologie(_|-| )?und(_|-| )?Genetik$/i,
       /Biologie(_|-| )?Basisblock$/i
    this_curriculum_name = 'Bachelorcurriculum Biologie'
  end
  this_curriculum = new_hash[this_curriculum_name]
  unless this_curriculum
    e "No result for `#{this_curriculum_name}`." # Notify the user in this case.
  end
  return this_curriculum
end

.map_curriculum_number_to_curriculum_name(this_curriculum_number, reverse_order = false) ⇒ Object

#

Studium.map_curriculum_number_to_curriculum_name

This method will take a curriculum number and convert it into the long name of the curriculum at hand.

This method will return a String.

Usage examples:

Studium.map_curriculum_number_to_curriculum_name('033255') # => "Bachelorcurriculum Agrarwissenschaften"
Studium.map_curriculum_number_to_curriculum_name('/home/x/programming/ruby/src/studium/lib/studium/yaml/curricula/bachelor/bachelor_agrarwissenschaften_033255.yml') # => "Bachelorcurriculum Agrarwissenschaften"
#


4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4534

def self.map_curriculum_number_to_curriculum_name(
    this_curriculum_number,
    reverse_order = false
  )
  # ======================================================================= #
  # === Load the main dataset next, the file that keeps all curricula
  #
  # We need the proper encoding for the dataset from the
  # curricula-yaml file. This is no longer necessary since
  # as of June 2021. The old code was:
  #
  #   _ = ensure_main_encoding(YAML.load_file(Studium.file_curricula))
  #
  # In the future this comment will probably be removed.
  # ======================================================================= #
  _ = YAML.load_file(Studium.file_curricula)
  this_curriculum_number = this_curriculum_number.to_s
  # ======================================================================= #
  # Before we perform the actual conversion we will check whether the
  # input is a .yml file. If it is, and such a file can be found to
  # exist locally, we will apply a regex onto it to extract the real
  # curriculum number. This will not work in all cases, but for simple
  # input this should work fine.
  # ======================================================================= #
  if this_curriculum_number and this_curriculum_number.end_with?('.yml') and
    File.exist?(this_curriculum_number)
    # ===================================================================== #
    # Apply the regex next:
    # ===================================================================== #
    use_this_regex = /_(\d{6,6}).yml$$/
    this_curriculum_number =~ use_this_regex
    this_curriculum_number = $1.to_s.dup if $1
  end
  # ======================================================================= #
  # Perform the conversion next:
  # ======================================================================= #
  this_curriculum = _[this_curriculum_number]
  # ======================================================================= #
  # We must ensure that the main encoding is used. This is no longer
  # as important.
  # ======================================================================= #
  # this_curriculum = ensure_main_encoding(this_curriculum)
  if this_curriculum.is_a? Array
    this_curriculum = this_curriculum.first
  end
  return this_curriculum
end

.map_input_to_this_curriculum_filename(i) ⇒ Object

#

Studium.map_input_to_this_curriculum_filename

This method was added in December 2022.

It will translate from the given input to the file that will contain the actual curriculum that we are searching for.

Since as of June 2022 it is recommended to avoid using the old file-specific constants, and instead transition towards methods. This is a more elegant solution in the long run, in my opinion.

Usage examples:

x = Studium.map_input_to_this_curriculum_filename('genetik')
x = Studium.map_input_to_this_curriculum_filename('bachelor_informatik_curriculum')
x = Studium.map_input_to_this_curriculum_filename(:bachelor_lbt) # => "/usr/lib/ruby/site_ruby/3.2.0/studium/yaml/curricula/bachelor/bachelor_lmbt_033217.yml"
x = Studium.return_file_for_this_curriculum(:bachelor_ökologie_curriculum)
x = Studium.return_file_for_this_curriculum(:bachelor_vektor_curriculum)
x = Studium.return_file_for_this_curriculum('mbiotech')
#


1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1052

def self.map_input_to_this_curriculum_filename(i)
  base = "#{project_yaml_directory?}curricula/"
  i = i.first if i.is_a? Array
  case i
  # ======================================================================= #
  # === :random
  # ======================================================================= #
  when :random
    i = ARRAY_REGISTERED_CURRICULA.sample
  end
  i = i.to_s.dup
  if i.is_a?(String) and !File.exist?(i)
    if i.start_with? '--'
      i.sub!(/^--/, '')
    end
  end
  case i # As specified, we work only for strings. (case tag)
  # ======================================================================= #
  # === lbt
  #
  # This refers to the bachelor LMBT curriculum at the BOKU Vienna.
  #  
  # Invocation example:
  #
  #   handle lbt
  #
  # ======================================================================= #
  when /^-?-?lm?bt$/i,
       /^-?-?bachelor(_|-| )?lmbt(_|-| )?curriculum$/i,
       /^-?-?bachelor(_|-| )?lmbt(_|-| )?033217$/i,
       /^-?-?bachelor(_|-| )?lm?bt$/i,
       /^-?-?bachelor(_|-| )?boku(_|-| )?lmbt(_|-| )?curriculum$/i,
       /^-?-?bachelor(-|_)?lebensmittel(-|_)?(-|_)?und(-|_)?biotechnologie$/i,
       /^-?-?blbt$/i,
       /^11$/
    i = FILE_BOKU_BACHELOR_LMBT_CURRICULUM
  # ======================================================================= #
  # === bachelor_basisblock_biologie
  # ======================================================================= #
  when /bachelor(_|-| )?basisblock(_|-| )?biologie$/i,
       /bachelor(_|-| )?biologie(_|-| )?basisblock(_|-| )?curriculum$/i,
       /bachelor(_|-| )?biologie(_|-| )?basisblock$/i,
       /bachelor(_|-| )?biologie(_|-| )?basisblock(_|-| )?033630$/i,
       /bachelor(_|-| )?biologie$/i
    i = FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE
  # ======================================================================= #
  # === master_lmbt_curriculum
  # ======================================================================= #
  when /^-?-?master(_|-| )?lmbt(_|-| )?curriculum$/,
       /^-?-?master(_|-| )?lmbt(_|-| )?066418$/i,
       /^-?-?master(_|-| )?lmbt$/,
       /^-?-?master(_|-| )?biotech$/,
       /^-?-?mbiotech$/,
       /^-?-?master(_|-| )?lbt$/,
       /^-?-?mlbt$/
    i = FILE_MASTER_LMBT_CURRICULUM
  # ======================================================================= #
  # === bachelor_genetik_curriculum
  #
  # This one is also a conjugate curriculum, built upon the
  # "basisblock biologie".
  #
  # handle bgenetik
  # ======================================================================= #
  when /bachelor(_|-| )?biologie(_|-| )?mikrobiologie(_|-| )?und(_|-| )?genetik$/i,
       /bachelor(_|-| )?genetik(_|-| )?curriculum$/i,
       /^Bachelorcurriculum(_|-| )?Mikrobiologie(_|-| )?und(_|-| )?Genetik$/i,
       /bachelor(_|-| )?genetics$/i,
       /bachelor(_|-| )?genetik$/i,
       /bachelor(_|-| )?mikrobiologie$/i,
       /bachelor(_|-| )?microbiology$/i,
       /genetik(_|-| )?curriculum$/i,
       /bgenetik$/i,
       /geneti(c|k)$/,
       /geneti(c|k)s$/i,
       /^6$/
    i = [
      FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE,
      FILE_BACHELOR_GENETIK
    ]
  # ======================================================================= #
  # === master_vektor_curriculum
  # ======================================================================= #
  when /^master(_|-| )?vektor(_|-| )?curriculum$/,
       /^master(_|-| )?ve(c|k)tor$/,
       /^master(_|-| )?vektoren$/,
       /^master(_|-| )?vektor$/,
       /^master(_|-| )?vektorx(_|-| )?curriculum$/,
       /master$/,
       /^vector$/,
       /mvektorx$/,
       /mve(c|k)$/,
       /mve(c|k)tor$/,
       /default(_|-| )?input(_|-| )?file$/,
       /indi4$/,
       /individual(_|-| )?curriculum(_|-| )?indi4$/i,
       /master(_|-| )?molekularsimulatorisch(_|-| )?therapeutische(_|-| )?vektoren$/,
       /Mastercurriculum( |_|-)?Vector( |_|-)?based( |_|-)?strategies( |_|-)?in( |_|-)?Life( |_|-)?Sciences\,?( |_|-)?\(?Bio\)?Informatics\,?( |_|-)?Molecular( |_|-)?Medicine( |_|-)?and( |_|-)?Biotechnology$/i,
       'masterindividuell',
       'vectormaster',
       'mastervector',
       'mastervektorx',
       'master',
       /^mastervektoren$/,
       /^1$/
    i = "#{base}individual/master_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology.yml"
  # ======================================================================= #
  # === agrar
  #
  # This is the BOKU Bachelor Agrarwissenschaften curriculum.
  # ======================================================================= #
  when /b?agrar$/i, # === bagar
       /^bachelor(_|-| )?agrarwissenschaften(_|-| )?curriculum$/i,
       /^bachelor(_|-| )?agrarwissenschaften(_|-| )?033255$/i,
       /^bachelor(_|-| )?agrarwissenschafte?n?$/i,
       /^Agrarwissenschaften$/i,
       /aw$/i,
       /bachelor(_|-| )?AW$/i
    i = FILE_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM
  # ======================================================================= #
  # === bachelor_boku_ubrm_curriculum
  #
  # This is for the "bachelor_ubrm_033227.yml" curriculum.
  # ======================================================================= #
  when /bachelor(_|-| )?boku(_|-| )?UBRM(_|-| )?curriculum$/i,
       /bachelor(_|-| )?UBRM$/i,
       /bachelor(_|-| )?boku(_|-| )?UBRM$/i
    i = FILE_BACHELOR_UBRM_CURRICULUM
  # ======================================================================= #
  # === master_molbio2_curriculum                             (molbio2 tag)
  #
  # Usage example:
  #
  #   handle master-molbio2-curriculum
  #   handle master-molbio2
  #   handle molbio2
  #
  # ======================================================================= #
  when /master(_|-| )?molbio2(_|-| )?curriculum$/i,
       /master(_|-| )?molecular(_|-| )?biology(_|-| )?066865$/i,
       /master(_|-| )?molecular(_|-| )?biology$/i,
       /master(_|-| )?molbio2$/i,
       /^-?-?molbio(_|-)?master2/i,
       /molbio2$/i
    i = "#{base}master/master_molecular_biology_066865.yml"
  # ======================================================================= #
  # === master_molbio_curriculum                               (molbio tag)
  #
  # Usage example:
  #
  #   handle master-molbio
  #   handle molbio
  #
  # ======================================================================= #
  when /master(_|-| )?molbio(_|-| )?curriculum$/i,
       /master(_|-| )?molekulare(_|-| )?biologie(_|-| )?066834$/i,
       /master(_|-| )?molekulare(_|-| )?biologie$/i,
       /master(_|-| )?molbio$/i,
       /mastercurriculum(_|-| )?molekulare(_|-| )?biologie$/i,
       /^-?-?molbio(_|-)?master/i,
       /molbio$/i,
       /^2$/
    i = FILE_MASTER_MOLEKULARE_BIOLOGIE
  # ======================================================================= #
  # === bachelor_informatik_in_den_lebenswissenschaften
  #
  # handle informatik_in_den_lebenswissenschaften
  # ======================================================================= #
  # http://localhost/programming/ruby/src/studium/lib/studium/curricula/handle_curricula/handle_curricula.cgi#informatik_in_den_lebenswissenschaften
  # ======================================================================= #
  when /-?-?bachelor(_|-| )?informatik(_|-| )?in(_|-| )?den(_|-| )?lebenswissenschaften$/i,
       /-?-?informatik(_|-| )?in(_|-| )?den(_|-| )?lebenswissenschaften$/i
    i = "#{base}experimental/bachelor_informatik_in_den_lebenswissenschaften.yml"
  # ======================================================================= #
  # === bachelor_pharmazie
  #
  # The Bachelorcurriculum "Pharmazie" at the University of Vienna.
  #
  # handle pharmazie
  # ======================================================================= #
  # http://localhost/programming/ruby/src/studium/lib/studium/curricula/handle_curricula/handle_curricula.cgi#pharmazie
  # ======================================================================= #
  when /bachelor(_|-| )?pharmazie$/i,
       /bachelor(_|-| )?pharmazie(_|-| )?curriculum$/i,
       /bachelor(_|-| )?pharmazie(_|-| )?033305$/i,
       /^pharmazie$/i,
       /bpharmazie2$/i
    i = FILE_BACHELOR_PHARMAZIE_CURRICULUM
  # ======================================================================= #
  # === :bachelor_technical_chemistry_curriculum
  #
  # The bachelor-curriculum Technische Chemie at the TU Vienna.
  # ======================================================================= #
  when /bachelor(_|-| )?technical(_|-| )?chemistry(_|-| )?curriculum$/i,
       /bachelor(_|-| )?technical(_|-| )?chemistry$/i,
       /technical(_|-| )?chemistry(_|-| )?curriculum$/i,
       /bachelor(_|-| )?technische(_|-| )?chemie(_|-| )?curriculum$/i,
       /bachelor(_|-| )?technische(_|-| )?chemie$/i,
       /technische(_|-| )?chemie$/i,
       /tu(_|-| )?wien(_|-| )?chem$/i
    i = FILE_BACHELOR_TECHNISCHE_CHEMIE_CURRICULUM
  # ======================================================================= #
  # === :bachelor_master_vektoren
  #
  # This entry point is special, as it consists of two files, which
  # is why we will return an Array here.
  # ======================================================================= #
  when /bachelor(_|-| )?master(_|-| )?vektoren$/i,
       /bachelor(_|-| )?master(_|-| )?ve(c|k)?torx$/i,
       /bachelor(_|-| )?master(_|-| )?vektor(_|-| )?curriculum$/i,
       /bachelor(_|-| )?master(_|-| )?x$/i,
       /vectorx$/i,
       /bmvektor$/i,
       /combined$/i
    i = [
      FILE_BACHELOR_VECTOR_BASED_STRATEGIES,
      FILE_MASTER_MOLEKULARSIMULATORISCHE_VEKTOREN
    ]
  # ======================================================================= #
  # === bachelor_informatik_curriculum
  #
  # handle bachelor_informatik_curriculum
  # ======================================================================= #
  when /bachelor(_|-| )?informatik(_|-| )?curriculum$/,
       /bachelor(_|-| )?informatik$/, # === handle bachelor_informatik
       /bio?informatik$/              # === handle bioinformatik
    i = FILE_BACHELOR_INFORMATIK_CURRICULUM
  # ======================================================================= #
  # === indi1
  #
  # The Bachelorcurriculum "Biologische Informatik" at the TU Vienna,
  # or rather called "Informatik und molekulare Biologe".
  # ======================================================================= #
  when /indi1$/i,
       /individual(_|-| )?curriculum(_|-| )?indi1$/i,
       /bachelor(_|-| )?informatik(_|-| )?und(_|-| )?molekulare(_|-| )?biologie$/i,
       /bachelor(_|-| )?biologische(_|-| )?informatik$/i,
       /Informatik( |_|-)?und( |_|-)?molekulare( |_|-)?Biologie$/i,
       /Bachelorcurriculum( |_|-)?Informatik( |_|-)?und( |_|-)?molekulare( |_|-)?Biologie$/i,
       /bachelor( |_|-)?individual( |_|-)?bachelor( |_|-)?informatik( |_|-)?und( |_|-)?molekulare( |_|-)?biologie$/i,
       /top$/i
    i = Studium.file_bachelor_informatik_und_molekulare_biologie
  # ======================================================================= #
  # === bachelor_vektor_curriculum
  #
  # This is also aliased towards "default_path".
  # ======================================================================= #
  when /bachelor(_|-| )?vektorx?(_|-| )?curriculum$/,
       /bachelor(_|-| )?ve(c|k)tor$/,
       /ve(c|k)or(_|-| )?bachelor$/,
       /bachelor(_|-| )?vektoren$/,
       /bachelor(_|-| )?vektorx$/,
       /bvektorx$/,
       /bve(c|k)tor$/,
       /vektors?$/,
       /^-?-?bachelor$/i, # Default entry point.
       /default(_|-| )?path$/,
       /default$/,
       /bvek$/,
       /bvec$/,
       /Bachelorcurriculum( |_|-)?Vector( |_|-)?based( |_|-)?strategies( |_|-)?in( |_|-)?Life( |_|-)?Sciences( |_|-)?( |_|-)?Molecular( |_|-)?Medicine( |_|-)?and( |_|-)?Biotechnology$/i,
       /Bachelorcurriculum( |_|-)?Vector( |_|-)?based( |_|-)?strategies( |_|-)?in( |_|-)?Life( |_|-)?Sciences\,?( |_|-)?\(?Bio\)?Informatics\,?( |_|-)?Molecular( |_|-)?Medicine( |_|-)?and( |_|-)?Biotechnology$/i,
       /Bachelorcurriculum( |_|-)?Vector( |_|-)?based( |_|-)?strategies( |_|-)?in( |_|-)?Life( |_|-)?Sciences\,?( |_|-)?Molecular( |_|-)?Medicine( |_|-)?and( |_|-)?Biotechnology$/i,
       /-?-?bvec$/i,
       /^3$/,
       /indi3$/i,
       /individual(_|-| )?curriculum(_|-| )?indi3$/i,
       /indi$/i # ← The main indi entry point. Could be changed, though.
    i = FILE_BACHELOR_VECTOR_BASED_STRATEGIES
  # ======================================================================= #
  # === master_pharmazie
  #
  # handle mpharmazie
  # ======================================================================= #
  when /master(_|-| )?pharmazie$/i,
       /master(_|-| )?pharmazie(_|-| )?curriculum$/i,
       /mpharmazie$/i
    i = "#{base}master/master_pharmazie_066605.yml"
  # ======================================================================= #
  # === bgraz
  #
  # handle bgraz
  # ======================================================================= #
  when /bachelor(_|-| )?molekularbiologie(_|-| )?curriculum$/i,
       /molekularbiologie(_|-| )?curriculum$/i,
       /bachelor(_|-| )?molekularbiologie(_|-| )?curriculum$/i,
       /b?graz$/i
    i = "#{base}bachelor/bachelor_molekularbiologie_033665.yml"
  # ======================================================================= #
  # === BOKU KTWW
  # ======================================================================= #
  when /bachelor(_|-| )?ktww(_|-| )?curriculum$/i,
       /bachelor(_|-| )?boku(_|-| )?ktww(_|-| )?curriculum$/i,
       /bachelor(_|-| )?ktww$/i,
       /ktww$/i
    i = FILE_BACHELOR_BOKU_KTWW_CURRICULUM
  # ======================================================================= #
  # === master-technische-chemie
  #
  # handle master-technische-chemie
  # ======================================================================= #
  when /master(_|-| )?technische(_|-| )?chemie$/i,
       /master(_|-| )?technische(_|-| )?chemie(_|-| )?curriculum$/i,
       /master(_|-| )?tu(_|-| )?vienna(_|-| )?biotechnology(_|-| )?curriculum$/i,
       /master(_|-| )?tu(_|-| )?vienna(_|-| )?biotechnology$/i,
       /master(_|-| )?tu(_|-| )?wien(_|-| )?biotechnologie$/i,
       /master(_|-| )?tu(_|-| )?vienna(_|-| )?biotechnology(_|-| )?curriculum$/i,
       /master(_|-| )?master(_|-| )?tu(_|-| )?wien$/i
    i = FILE_TUWIEN_MASTER_BIOTECHNOLOGY_CURRICULUM
  # ======================================================================= #
  # === bachelor_chemie_curriculum
  #
  # This refers to the bachelor curriculum chemistry at the University
  # of Vienna.
  # ======================================================================= #
  when /^bachelor(_|-| )?chemie(_|-| )?curriculum$/i,
       /^bachelor(_|-| )?chemie(_|-| )?uniwien$/i,
       /^bachelor(_|-| )?chemistry$/i,
       /^bachelor(_|-| )?chemie$/i,
       /^bachelor(_|-| )?chemie(_|-| )?033662$/i,
       /^bachelor(_|-| )?chemie(_|-| )?033662\.yml$/i,
       /^chemistry$/i,
       /^chemie$/i,
       /^7$/
    i = "#{base}bachelor/bachelor_chemie_033662.yml"
  # ======================================================================= #
  # === master_bioinformatics_and_nanobiotechnology_in_molecular_medicine
  #
  # This is the individual master-curriculum at the BOKU.
  # ======================================================================= #
  when /^master( |_|-)?bioinformatics( |_|-)?and( |_|-)?nanobiotechnology( |_|-)?in( |_|-)?molecular( |_|-)?medicine$/i,
       /^master( |_|-)?bioinformatics( |_|-)?and( |_|-)?molecular( |_|-)?biotechnology$/i,
       /^master( |_|-)?bioinformatik( |_|-)?an( |_|-)?der( |_|-)?boku$/i,
       /^indi5$/i,
       /^individual_curriculum_indi5$/i,
       /^Mastercurriculum( |_|-)?Informatik( |_|-)?und( |_|-)?molekulare( |_|-)?Biologie$/i,
       /^Mastercurriculum( |_|-)?\(?Bio\)?Informatics( |_|-)?and( |_|-)?molecular( |_|-)?biotechnology( |_|-)?including( |_|-)?aspects( |_|-)?from( |_|-)?molecular( |_|-)?medicine$/i,
       /^Mastercurriculum( |_|-)?Bioinformatics( |_|-)?and( |_|-)?\(?nano\)?biotechnology( |_|-)?in( |_|-)?molecular( |_|-)?medicine$/i
    i = Studium.file_master_bioinformatics_and_nanobiotechnology_in_molecular_medicine
  # ======================================================================= #
  # === bachelor_master_tu_wien
  # ======================================================================= #
  when /bachelor( |_|-)?master( |_|-)?tu( |_|-)?wien$/i
    i = FILE_BACHELOR_MASTER_TU_WIEN_INDIVIDUELLES_STUDIUM
  # ======================================================================= #
  # === master-genetik-und-entwicklungsbiologie
  #
  # handle master-genetik-und-entwicklungsbiologie
  # ======================================================================= #
  when /master(_|-| )?genetik(_|-| )?und(_|-| )?entwicklungsbiologie(_|-| )?curriculum$/,
       /master(_|-| )?genetik(_|-| )?und(_|-| )?entwicklungsbiologie$/,
       /master(_|-| )?genetik(_|-| )?und(_|-| )?entwicklungsbiologie(_|-| )?_066877$/,
       /master(_|-| )?genetik(_|-| )?und(_|-| )?entwicklungsbiologie(_|-| )?_066877\.yml$/,
       /mastercurriculum(_|-| )?genetik(_|-| )?und(_|-| )?entwicklungsbiologie$/i,
       /genetik(_|-| )?und(_|-| )?entwicklungsbiologie$/i
    i = FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE_CURRICULUM
  # ======================================================================= #
  # === :master_bioinformatik_curriculum
  #
  # handle master_bioinformatik_curriculum
  # ======================================================================= #
  when /master(_|-| )?bioinformatik(_|-| )?curriculum$/i,
       /master(_|-| )?bioinformatik$/i,
       /master(_|-| )?bioinformatik(_|-| )?066875$/i,
       /master(_|-| )?bioinformatikcs$/i
    i = "#{base}master/master_bioinformatik_066875.yml"
  # ======================================================================= #
  # === :bachelor_molekularbiologie_graz
  # ======================================================================= #
  when /bachelor(_|-| )?molekularbiologie(_|-| )?graz$/i,
       /bachelor(_|-| )?molekularbiologie(_|-| )?graz(_|-| )?curriculum$/i,
       /bachelor(_|-| )?molekularbiologie(_|-| )?curriculum$/i,
       /bachelor(_|-| )?molekularbiologie$/i,
       /graz$/i
    i = FILE_BACHELOR_MOLEKULARBIOLOGIE_GRAZ_CURRICULUM
  # ======================================================================= #
  # === (Bio)Informatik und molekulare Biotechnologie, unter Berücksichtigung
  #     medizinisch-immunologischer Aspekte
  #
  # The Bachelorcurriculum "Bachelorcurriculum (Bio)Informatik und
  #                         molekulare Biotechnologie, unter
  #                         Berücksichtigung medizinisch-immunologischer
  #                         Aspekte"
  # an der BOKU. Wurde im Jahre 2022 umbenannt.
  # ======================================================================= #
  when /-?-?indi2$/i,
       /individual(_|-| )?curriculum(_|-| )?indi2$/i,
       /bachelor(_|-| )?informatik(_|-| )?und(_|-| )?biotechnologie(_|-| )?unter(_|-| )?berücksichtigung(_|-| )?immunanalytisch(_|-| )?molekularmedizinischer(_|-| )?aspekte$/i,
       /bachelor(_|-| )?bioinformatik(_|-| )?und(_|-| )?molekulare(_|-| )?biotechnologie$/i,
       /bachelor(_|-| )?bioinformatik(_|-| )?und(_|-| )?biotechnologie$/i,
       /bachelor(_|-| )?bioinformatik(_|-| )?an(_|-| )?der(_|-| )?boku$/i,
       /bachelor(_|-| )?boku(_|-| )?individuell$/i
    i = FILE_BACHELOR_INFORMATIK_UND_BIOTECHNOLOGIE_UNTER_BERÜCKSICHTIGUNG_IMMUNANALYTISCH_MOLEKULARMEDIZINISCHER_ASPEKTE
  # ======================================================================= #
  # === bachelor_molekulare_biologie_curriculum
  #
  # handle bachelor_molekulare_biologie_curriculum
  # ======================================================================= #
  when /bachelor_molekulare_biologie_curriculum$/i,
       /bachelor_molekulare_biologie$/i,
       /bachelor(_|-| )?molekulare(_|-| )?biologie(_|-| )?curriculum$/i,
       /bachelor(_|-| )?molekulare(_|-| )?biologie$/i,
       /^bachelor(_|-)?molbio$/i,
       /bachelor(_|-| )?biologie(_|-| )?molekulare(_|-| )?biologie(_|-| )?033630$/i
    i = [
      FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE,
      FILE_BACHELOR_MOLEKULARE_BIOLOGIE
    ]
  # ======================================================================= #
  # === bachelor_botanik_curriculum
  # ======================================================================= #
  when /bachelor(_|-| )?botanik(_|-| )?curriculum$/i,
       /bachelor(_|-| )?botanik$/i,
       /bachelor(_|-| )?biologie(_|-| )?botanik(_|-| )?033630$/i
    i = [
      FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE,
      FILE_BACHELOR_BOTANIK_CURRICULUM
    ]
  # ======================================================================= #
  # === bachelor dummy
  # ======================================================================= #
  when /bachelor(_|-| )?dummy$/i,
       /bachelor(_|-| )?dummy(_|-| )?curriculum$/i,
       /bachelorcurriculum(_|-| )?dummy$/i,
       /dummy$/i
    i = FILE_BACHELOR_DUMMY_CURRICULUM
  # ======================================================================= #
  # === master_dummy_curriculum
  # ======================================================================= #
  when /master(_|-| )?dummy(_|-| )?curriculum$/i,
       /master(_|-| )?dummy$/i
    i = FILE_MASTER_DUMMY_CURRICULUM
  # ======================================================================= #
  # === bachelor_medizinische_informatik_curriculum
  #
  # This entry is for the curriculum "Bachelor Medizinische Informatik"
  # at the TU Vienna.
  #
  # handle bachelor_medizinische_informatik_curriculum
  # ======================================================================= #
  when /bachelor(_|-| )?medizinische(_|-| )?informatik(_|-| )?curriculum/i,
       /bachelor(_|-| )?medizinische(_|-| )?informatik/i,
       /medizinische(_|-| )?informatik/i,
       /medinf$/i
    i = "#{base}bachelor/bachelor_medizinische_informatik_033533.yml"
  # ======================================================================= #
  # === master_boku_individuell
  # ======================================================================= #
  when /master(_|-| )?boku(_|-| )?individuell$/i
    # FILE_MASTER_BOKU_INDIVIDUELLES_CURRICULUM_BIOINFORMATIK_UND_BIOANALYTIK
    i = "#{base}individual/master_bioinformatics_and_nanobiotechnology_in_molecular_medicine.yml"
  # ======================================================================= #
  # === bachelor_formale_logik
  #
  # This is an approved individual curriculum at the TU Vienna.
  # ======================================================================= #
  # handle bachelor_formale_logik
  # ======================================================================= #
  when /bachelor(_|-| )?formale(_|-| )?logik$/i,
       /formale(_|-| )?logik$/i
    i = "#{base}individual/bachelor_formale_logik.yml"
  # ======================================================================= #
  # === bachelor_forstwirtschaft_curriculum
  #
  # Invocation example:
  #
  #   handle forst
  #
  # ======================================================================= #
  when /bachelor(_|-| )?forstwirtschaft(_|-| )?curriculum$/i,
       /bachelor(_|-| )?forstwirtschaft$/i,
       /forstwirtschaft$/i,
       /forst$/i
    i = FILE_BACHELOR_FORSTWIRTSCHAFT_CURRICULUM
  # ======================================================================= #
  # === bachelor_wirtschaftsinformatik_curriculum
  #
  # Invocation example:
  #
  #   handle wirtschaftsinformatik
  #
  # ======================================================================= #
  when /bachelor(_|-| )?wirtschaftsinformatik(_|-| )?curriculum$/i,
       /bachelor(_|-| )?wirtschaftsinformatik$/i,
       /bachelor(_|-| )?wirtschaftsinformatik(_|-| )?033526$/i,
       /wirtschaftsinformatik$/i
    i = "#{base}bachelor/bachelor_wirtschaftsinformatik_033526.yml"
  # ======================================================================= #
  # === bachelor_ernährung
  #
  # The Bachelorcurriculum "Ernährungswissenschaften" at the Uni-Vienna.
  # ======================================================================= #
  when /bachelor(_|-| )?ernährung/i,
       /bachelor(_|-| )?ernährung(_|-| )?curriculum/i,
       /bachelor(_|-| )?ernährungswissenschaften/i,
       /bachelor(_|-| )?nutrition(_|-| )?science/i,
       /nutrition(_|-| )?science/i,
       /ernährungswissenschaften$/i,
       /ernährung$/i,
       /ern$/i,
       /^5$/
    i = "#{base}bachelor/bachelor_nutrition_science_033638.yml"
  # ======================================================================= #
  # === bachelor_verfahrenstechnik
  #
  # The Bachelorcurriculum "Verfahrenstechnik" at the TU Vienna.
  #
  # handle vtech
  # ======================================================================= #
  when /bachelor(_|-| )?verfahrenstechnik$/i,
       /bachelor(_|-| )?verfahrenstechnik(_|-| )?curriculum$/i,
       /bachelor(_|-| )?verfahrenstechnik(_|-| )?033273$/i,
       /verfahrenstechnik(_|-| )?bachelor$/i,
       /verfahrenstechnik$/i,
       /vtech$/i
    # FILE_BACHELOR_VERFAHRENSTECHNIK_CURRICULUM
    i = "#{base}bachelor/bachelor_verfahrenstechnik_033273.yml"
  # ======================================================================= #
  # === master_immuno
  #
  # This entry refers to
  # "master/master_biologie_molekulare_mikrobiologie_mikrobielle_oekologie_und_immunbiologie_066830.yml".
  # ======================================================================= #
  # handle master_immuno
  # ======================================================================= #
  when /master(_|-| )?immuno$/i,
       /immuno(_|-| )?master$/i,        # === mandatory --immuno_master
       /master(_|-| )?immunobiology$/i,
       /master(_|-| )?immunobiology(_|-| )?curriculum$/i,
       /immuno$/i,
       /^3$/i
    i = FILE_MASTER_IMMUNOBIOLOGY_CURRICULUM
  # ======================================================================= #
  # === master_biologische_chemie_curriculum
  #
  # handle master_biologische_chemie_curriculum
  # ======================================================================= #
  when /master(_|-| )?biologische(_|-| )?chemie(_|-| )?curriculum$/i,
       /master(_|-| )?biologische(_|-| )?chemie$/i,
       /Biologische(_|-| )?chemie$/i
    i = FILE_MASTER_BIOLOGISCHE_CHEMIE_CURRICULUM
  # ======================================================================= #
  # === bachelor_ökologie_curriculum
  #
  # handle bachelor_ökologie_curriculum
  # ======================================================================= #
  when /bachelor(_|-| )?ökologie(_|-| )?curriculum$/i,
       /bachelor(_|-| )?ökologie$/i,
       /bachelor(_|-| )?ecology$/i,
       /bachelor(_|-| )?biologie(_|-| )?ökologie(_|-| )?033630$/i,
       /bachelor(_|-| )?biologie(_|-| )?ecology(_|-| )?033630$/i
    i = FILE_BACHELOR_ECOLOGY
  # ======================================================================= #
  # === :bachelor_mikrobiologie
  #
  # The following entry-point was removed as of 29.02.2020.
  # ======================================================================= #
  # when :bachelor_mikrobiologie_individuelles_curriculum,
  #      :bachelor_mikrobiologie,
  #      :bachelor_mikrobiologie_curriculum,
  #      :mikrobiologie,
  #      :microbiology
  #   FILE_BACHELOR_MIKROBIOLOGIE_INDIVIDUELLES_CURRICULUM
  end
  return i
end

.map_meta_exam_theme_to_corresponding_exam_themes(i, dataset = nil) ⇒ Object

#

Studium.map_meta_exam_theme_to_corresponding_exam_themes

The input to this method should be a String such as “meta_biochem” - although if you know the direct name then you can omit the leading “meta_” part; so, “biochemistry” is treated by this method exactly like “meta_biochemistry” .

This given input will then be split up into e. g. “aa”, “bem1”, “bem2” and so forth, which correspond to exam topics such as “aminoacids”, “biochemistry1”, “biochemistry” and so forth.

Since as of 03.07.2020 this method depends on the yaml file called grouped_themes.yml. Since as of 31.05.2023 the older directory “meta_themes/” was fully integrated into this method, and the directory “meta_themes/” was deleted.

On my home system the file grouped_exams can be found here:

bl $RUBY_STUDIUM/yaml/grouped_themes/grouped_themes.yml

Usage examples of this method:

Studium.map_meta_exam_theme_to_corresponding_exam_themes(:biotechnology)

This would yield the following Array (last determined in May 2023):

["basic_biotechnology",
 "advanced_biotechnology",
 "gentechnik_und_praktische_biochemie",
 "fortgeschrittene_gentechnik",
 "nanotechnologie",
 "plant_biotechnology",
 "umweltbiotechnologie",
 "nucleotide_sequencing",
 "pharmaceutical_biotechnology",
 "bioprozesstechnik"]

:random also works as input as of May 2023. Usage example for this:

Studium.map_meta_exam_theme_to_corresponding_exam_themes(:random)

More usage examples:

Studium.map_meta_exam_theme_to_corresponding_exam_themes(:meta_genetics)
#


3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3598

def self.map_meta_exam_theme_to_corresponding_exam_themes(
    i,
    dataset = nil
  )
  if dataset.nil?
    dataset = YAML.load_file(Studium.file_grouped_themes)
  end
  i = i.to_s if i.is_a? Symbol
  return_this = i.dup
  case return_this # case tag
  # ======================================================================= #
  # === n_exams_in_this_topic meta_genetics
  #
  # Everything related to genes is stored here.
  # ======================================================================= #
  when /^meta(_|-| |,)?geneti(c|k)s?/, # ← metagen
       /^genetics$/
    return_this = dataset['genetics']
  # ======================================================================= #
  # === n_exams_in_this_topic random
  # ======================================================================= #
  when /^random/
    random_exam_topic = Studium.random_exam_meta_topic?
    return_this = dataset[random_exam_topic]
  # ======================================================================= #
  # === n_exams_in_this_topic meta_upcoming_exams
  #
  # Invocation example:
  #
  #   meta_upcoming_exams
  #   metaupcomingexams
  #
  # ======================================================================= #
  when /meta(_|-| |,)?upcoming(_|-| |,)?_exams/,
       /meta(_|-| |,)?upcoming$/i,
       /^upcoming(_|-| |,)?exams$/i
    return_this = dataset['upcoming_exams']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_cellbiology
  #
  # Everything related to cell biology is stored here.
  # ======================================================================= #
  when /meta(_|-| |,)?cellbiology/, # ← metacellbio
       /^cellbiology$/,
       /^cellbio$/
    return_this = dataset['cellbiology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_bioinformatics
  #
  # Everything related to bioinformatics is stored here.
  # ======================================================================= #
  when /^meta(_|-| |,)?bioinformatics$/i,
       /^bioinformatics$/i
    return_this = dataset['bioinformatics']
  # ======================================================================= #
  # === n_exams_in_this_topic statistics
  # ======================================================================= #
  when /meta(_|-| |,)?statistics$/i,
       /^statistics$/
    return_this = dataset['statistics']
  # ======================================================================= #
  # === n_exams_in_this_topic metabolic_pathways
  # ======================================================================= #
  when /meta(_|-| |,)?metabolic(_|-| |,)?pathways/,
       /^metabolic(_|-| |,)?pathways/
    return_this = dataset['metabolic_pathways']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_biotechnology
  #
  # Everything related to biotechnology.
  # ======================================================================= #
  when /^meta(_|-| |,)?biotechnology$/, # ← metabiotechnology
       /^meta(_|-| |,)?biotech$/,
       /^biotechnology$/
    return_this = dataset['biotechnology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_immunology
  #
  # Everything related to Immunology.
  # ======================================================================= #
  when /meta(_|-| |,)?immunology$/,
       /meta(_|-| |,)?immuno$/,
       /meta(_|-| |,)?imm$/,
       /meta7/,
       /^immunology$/
    return_this = dataset['immunology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_vectors
  #
  # Topics that may belong to the "metatopic" virology.
  #
  # Invocation example:
  #
  #   n_exams_in_this_topic meta_virology
  #
  # ======================================================================= #
  when /meta(_|-| |,)?virology$/,
       /meta(_|-| |,)?virologie$/,
       /meta(_|-| |,)?vectors$/,
       /^virology$/
    return_this = dataset['virology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_chemistry
  #
  # Everything related to chemistry is stored here.
  # ======================================================================= #
  when /^meta(_|-| |,)?chemistry/, # ← metachem
       /^meta(_|-| |,)?chem$/,
       /^chemistry$/,
       /^meta6/
    return_this = dataset['chemistry']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_biochem
  #
  # All topics related to biochemistry are gathered here.
  # ======================================================================= #
  when /^-?-?meta(_|-| |,)?biochemistry$/i,
       /^-?-?meta(_|-| |,)?biochem$/i,
       /^-?-?meta(_|-| |,)?biochemistry2/,
       /^-?-?meta(_|-| |,)?biochem2/,
       /^-?-?meta(_|-| |,)?advanced(_|-| |,)?biochemistry/,
       /^biochemistry$/,
       /^-?-?meta1$/i
    return_this = dataset['biochemistry']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_chemistry
  #
  # Everything related to informatics/programming is stored here.
  # ======================================================================= #
  when /^meta(_|-| |,)?informatics?$/i, # ← metainformatics
       /^meta(_|-| |,)?programming$/,
       /^programming$/
    return_this = dataset['programming']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_gentechnik
  # ======================================================================= #
  when /meta(_|-| |,)?gentechnik$/i,
       /meta(_|-| |,)?gentech$/i,
       /^genetechnology$/
    return_this = dataset['genetechnology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_microbiology
  #
  # Everything related to microbiology is stored here.
  # ======================================================================= #
  when /^meta(_|-| |,)?microbiology$/i,
       /^meta(_|-| |,)?mikrobiologie$/i,
       /^meta(_|-| |,)?micro$/i,
       /^microbiology$/i
    return_this = dataset['microbiology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_molecular_biology
  #
  # Everything related to molecular biology is stored here.
  # ======================================================================= #
  when /^meta(_|-| |,)?molecular(_|-| |,)?biology$/i,
       /^molecular(_|-| |,)?biology$/i
    return_this = dataset['molecular_biology']
  # ======================================================================= #
  # === n_exams_in_this_topic protein_engineering
  # ======================================================================= #
  when /^meta(_|-| |,)?protein(_|-| |,)?engineering$/i,
       /^protein(_|-| |,)?engineering$/i
    return_this = dataset['microbiology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_zoology
  # ======================================================================= #
  when /meta(_|-| |,)?zoology/,
       /^zoology$/
    return_this = dataset['zoology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_plants
  # ======================================================================= #
  when /meta(_|-| |,)?plants/,
       /meta5/,
       /^plants$/
    return_this = dataset['plants']
  else
    if dataset.has_key?(i)
      return_this = dataset[i]
    end
  end
  if return_this.is_a? Array
    return_this = return_this.map {|inner_line|
      find_corresponding_exam_topic(inner_line)
    }
  else
    find_corresponding_exam_topic(return_this)
  end
  return return_this
end

.map_partial_input_to_full_curriculum_name(i = 'master_biotech') ⇒ Object

#

Studium.map_partial_input_to_full_curriculum_name

Note that this method will, if more than one match is found, always return the very first entry of an Array.

Usage example:

Studium.map_partial_input_to_full_curriculum_name('master_biotech') # => "Mastercurriculum Biotechnology"
Studium.map_partial_input_to_full_curriculum_name(:bachelor_agrarwissenschaften) # => "Bachelorcurriculum Agrarwissenschaften"
Studium.map_partial_input_to_full_curriculum_name('mbiotech') # => "Bachelorcurriculum Agrarwissenschaften"
#


4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4107

def self.map_partial_input_to_full_curriculum_name(
    i = 'master_biotech'
  )
  # ======================================================================= #
  # First, load all registered curricula entries:
  # ======================================================================= #
  _ = YAML.load_file(Studium.file_curricula)
  i = i.dup if i.is_a? Array
  copy = i.to_s.dup
  if File.exist? i
    i = Studium.from_filename_to_curriculum_name(i)
  else
    unless i =~ /^\d+$/ # Unless only numbers
      try_to_find_a_local_file = Studium.return_file_for_this_curriculum(i)
      if try_to_find_a_local_file.is_a? Array
        try_to_find_a_local_file = try_to_find_a_local_file.last
      end
      if File.exist? try_to_find_a_local_file
        return Studium.from_filename_to_curriculum_name(try_to_find_a_local_file)
      end
    end
  end
  inverted_dataset = _.invert.map {|key, value|
    key.first # The first entry is e. g. "Bachelorcurriculum Geodäsie und Geoinformation".
  }
  if copy.include? 'master_'
    copy.sub!(/master_/,'Mastercurriculum ')
  elsif copy.include? 'bachelor_'
    copy.sub!(/bachelor_/,'Bachelorcurriculum ')
  end
  selection = inverted_dataset.select {|entry|
    entry.downcase.start_with?(copy.downcase) or
    entry.downcase.include?(copy.downcase)
  }
  if selection
    if selection.size > 1
      selection = selection.first # Obtain the first entry.
    end
    selection = selection.first if selection.is_a? Array
    return selection
  else
    return i # else return the original input unmodified.
  end
end

.mkdir(i) ⇒ Object

#

Studium.mkdir

#


1843
1844
1845
1846
1847
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1843

def self.mkdir(i)
  unless is_in_www_mode?
    FileUtils.mkdir_p(i)
  end
end

.moodle(i = ARGV) ⇒ Object

#

Studium.moodle

#


206
207
208
# File 'lib/studium/utility_scripts/moodle/moodle.rb', line 206

def self.moodle(i = ARGV)
  Studium::Moodle.new(i)
end

.move_all_unsolved_exam_questions_to_the_top_of_the_file(i = ARGV) ⇒ Object

#

Studium.move_all_unsolved_exam_questions_to_the_top_of_the_file

#


164
165
166
# File 'lib/studium/exams/move_all_unsolved_exam_questions_to_the_top_of_the_file.rb', line 164

def self.move_all_unsolved_exam_questions_to_the_top_of_the_file(i = ARGV)
  Studium::MoveAllUnsolvedExamQuestionsToTheTopOfTheFile.new(i)
end

.my_exam_topics_directory?Boolean

#

Studium.my_exam_topics_directory?

This method will always return a hardcoded path.

#

Returns:

  • (Boolean)


793
794
795
# File 'lib/studium/constants/constants.rb', line 793

def self.my_exam_topics_directory?
  '/home/x/programming/ruby/src/studium/lib/studium/exam_topics/'
end

.n_ects_points_in_mandatory_presence_courses(use_this_dataset = Studium.dataset_from_file_lecture_information) ⇒ Object

#

Studium.n_ects_points_in_mandatory_presence_courses

This method will return a number (a float) that shows how many ECTS points have been passed in mandatory-presence courses, aka “prüfungsimmanente Lehrveranstaltungen”.

Note that this will return the total number of ECTS points, among all passed university courses.

Usage example:

Studium.n_ects_points_in_mandatory_presence_courses # => 88.0
#


25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File 'lib/studium/ects/n_ects_points_in_mandatory_presence_courses.rb', line 25

def self.n_ects_points_in_mandatory_presence_courses(
    use_this_dataset = Studium.dataset_from_file_lecture_information
  )
  total_n_ects_points = 0
  dataset = use_this_dataset.select {|name_of_the_lecture, inner_hash|
    inner_hash.has_key?(:already_solved) and
    (inner_hash[:already_solved] == true)
  }
  dataset.each {|a,b|
    lecture_type = b[:type]
    if is_prüfungsimmanent?(lecture_type)
      n_ects_points = b[:ects]
      total_n_ects_points += n_ects_points
    end
  }
  total_n_ects_points
end

.n_exam_questions_in_this_topic?(this_topic) ⇒ Boolean

#

Studium.n_exam_questions_in_this_topic?

This method here is different to the above in that only a number will be returned.

#

Returns:

  • (Boolean)


336
337
338
339
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 336

def self.n_exam_questions_in_this_topic?(this_topic)
  n_questions = Studium::Exams.return_n_questions_in_this_topic(this_topic)
  return n_questions.to_i
end

.n_exam_topics_available?Boolean

#

Returns:

  • (Boolean)


3946
3947
3948
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3946

def self.n_exam_topics_available?
  Studium::Exams.n_topics_available?
end

.n_lectures_completed_successfully?Boolean

#

Studium.n_lectures_completed_successfully?

This method will return how many lectures were already completed successfully, e. g. passed successfully.

This refers to the whole dataset of all lectures registered.

#

Returns:

  • (Boolean)


2481
2482
2483
2484
2485
2486
2487
2488
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2481

def self.n_lectures_completed_successfully?
  dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
  dataset.select! {|key, inner_hash|
    inner_hash.has_key?(:already_solved) and
    (inner_hash[:already_solved] == true)
  }
  dataset.keys.size
end

.n_lectures_registered?Boolean

#

Studium.n_lectures_registered?

#

Returns:

  • (Boolean)


389
390
391
392
393
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 389

def self.n_lectures_registered?
  dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
  n_keys = dataset.keys.size
  return n_keys
end

.n_percent_of_the_exam_questions_are_answered_already?Boolean

#

Studium.n_percent_of_the_exam_questions_are_answered_already?

#

Returns:

  • (Boolean)


369
370
371
372
373
374
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 369

def self.n_percent_of_the_exam_questions_are_answered_already?
  n_total_questions = ::Studium.n_total_questions_available?
  n_total_answers = return_n_exam_questions_were_already_solved
  percentage = ((n_total_answers * 100.0) / n_total_questions).round(2)
  return percentage
end

.n_percent_solved_in_this_curriculum(i) ⇒ Object

#

Studium.n_percent_solved_in_this_curriculum

This method will determine how many ECTS points have been solved in a particular curriculum, in n% (percentage). So, for example, the method may return the float value 75.0, which means “75% of all courses in this curriculum have been completed successfully”.

#


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/studium/curricula/n_percent_solved_in_this_curriculum.rb', line 21

def self.n_percent_solved_in_this_curriculum(i)
  if i.is_a? Array
    i.map {|entry|
      n_percent_solved_in_this_curriculum(entry)
    }
  else
    if ::Studium.main_dataset?
      full_dataset = ::Studium.main_dataset? # In this case, re-use the main dataset.
    else # else load up a new dataset
      full_dataset = ::Studium.return_sanitized_dataset_from_the_file_lecture_information
    end
    # ======================================================================= #
    # Next, obtain the dataset from a curriculum file:
    # ======================================================================= #
    dataset = Studium.read_dataset_from_a_curriculum_file(
      i.to_sym, :remove_comments
    )
    total_ects_points = 0
    n_ects_points_are_already_solved = 0
    dataset.each {|name_of_the_lecture|
      name_of_the_lecture.squeeze! ' '
      name_of_the_lecture.strip!
      if full_dataset.has_key? name_of_the_lecture
        # =================================================================== #
        # Ok, the entry is included, so get the hash dataset.
        # =================================================================== #
        pointer = full_dataset[name_of_the_lecture]
        n_ects = pointer[:ects]
        total_ects_points += n_ects
        if (pointer[:already_solved] == true)
          n_ects_points_are_already_solved += n_ects
        end
      else
        e 'In the file `'+__FILE__+'`, method `'+__method__.to_s+'`:'
        e "The entry `#{name_of_the_lecture}` is not included."
      end
    }
    # ======================================================================= #
    # Finally, calculate the percentage value, as a Float:
    # ======================================================================= #
    result = (n_ects_points_are_already_solved * 100.0) / total_ects_points
    return result.round(2)
  end
end

.n_questions_already_solved_in_this_topic(topic = 'bem1') ⇒ Object

#

Studium.n_questions_already_solved_in_this_topic

#


5963
5964
5965
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5963

def self.n_questions_already_solved_in_this_topic(topic = 'bem1')
  ::Studium::Exams.n_questions_already_solved_in_this_topic(topic)
end

.n_questions_available?Boolean

#

Studium.n_questions_available?

Easier toplevel-method on the Studium namespace to determine how many questions are available in total.

Usage example:

Studium.n_questions_available? # => 34612
#

Returns:

  • (Boolean)


5949
5950
5951
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5949

def self.n_questions_available?
  ::Studium::Exams.n_questions_available?
end

.n_questions_available_in_this_topic(topic = 'bem1') ⇒ Object

#

Studium.n_questions_available_in_this_topic

#


5956
5957
5958
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5956

def self.n_questions_available_in_this_topic(topic = 'bem1')
  ::Studium::Exams.n_questions_available_in_this_topic(topic)
end

.n_total_answers_available?Boolean

#

Studium.n_total_answers_available?

#

Returns:

  • (Boolean)


97
98
99
100
101
102
103
# File 'lib/studium/exams/dataset/dataset.rb', line 97

def self.n_total_answers_available?
  dataset = ::Studium::Exams::Dataset[] # Tap into the main exam-dataset here.
  n_total_answers = dataset.select {|entry|
    entry.end_with?("[]\n")
  }.size
  return n_total_answers
end

.n_total_questions_available?Boolean

#

Studium.n_total_questions_available?

#

Returns:

  • (Boolean)


108
109
110
111
112
# File 'lib/studium/exams/dataset/dataset.rb', line 108

def self.n_total_questions_available?
  dataset = ::Studium::Exams::Dataset[] # Tap into the main exam-dataset here.
  n_total_questions = dataset.size
  return n_total_questions
end

.name_of_this_curriculum(i) ⇒ Object

#

Studium.name_of_this_curriculum

Note that we will assume that the curricula-files, which are yaml files, will have the name of the curriculum at hand on the first line.

#


4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4209

def self.name_of_this_curriculum(i)
  i = i.first if i.is_a? Array
  i = Studium.return_file_for_this_curriculum(i)
  i = i.last if i.is_a? Array
  if File.exist? i
    dataset = File.readlines(i, encoding: ::Studium.encoding?)
    first_line = dataset.select {|line| line.start_with? '# === ' }.first.strip
    i = first_line.sub(/^# === /,'').
                   sub(/Bachelorcurriculum /,'').
                   sub(/Mastercurriculum /,'')
  end
  return i.strip
end

.name_of_this_lva_id(i) ⇒ Object

#

Studium.name_of_this_lva_id

#


101
102
103
# File 'lib/studium/utility_scripts/name_of_this_lva_id/name_of_this_lva_id.rb', line 101

def self.name_of_this_lva_id(i)
  ::Studium::NameOfThisLvaId.new(i)
end

.names_of_all_solved_exams(optional_show_only_n_entries = nil) ⇒ Object

#

Studium.names_of_all_solved_exams

Preferentially use this method, as it requires less typing work.

To use this method, try this:

Studium.names_of_all_solved_exams.include?("Einführung in die Biologie II")
#


2307
2308
2309
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2307

def self.names_of_all_solved_exams(optional_show_only_n_entries = nil)
  ::Studium::Exams.names_of_all_solved_exams(optional_show_only_n_entries)
end

.next_examObject

#

Studium.next_exam

#


96
97
98
# File 'lib/studium/exams/next_exam.rb', line 96

def self.next_exam
  ::Studium::Exams::NextExam.new
end

.next_exam?Boolean

#

Studium.next_exam?

This method will return an Array.

Result may be like this:

["300178 Mikrob. Lebensgemeinschaften", {:ects=>3.0, etc..]
#

Returns:

  • (Boolean)


1426
1427
1428
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1426

def self.next_exam?
  ::Studium::ShowUpcomingExams.next_exam?
end

.no_file_exists_at(i) ⇒ Object

#

Studium.no_file_exists_at

#


1917
1918
1919
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1917

def self.no_file_exists_at(i)
  e "No file exists at #{::Studium::Colours.sfile(i)}."
end

.normalize_time(i) ⇒ Object

#

Studium.normalize_time

This method assumes that the input gievn to it will be a Time-object.

The right-most part of a time-object will be “re-parsed” to get a consistent time format again.

#


750
751
752
753
754
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 750

def self.normalize_time(i)
  Time.parse(
    return_dd_mm_yy_and_time_from(i)
  )
end

.not_yet_registered(i) ⇒ Object

#

Studium.not_yet_registered

#


112
113
114
# File 'lib/studium/utility_scripts/not_yet_registered/not_yet_registered.rb', line 112

def self.not_yet_registered(i)
  Studium::NotYetRegistered.new(i)
end

.note_down_the_start_time_and_how_many_exams_have_been_already_solvedObject

#

Studium.note_down_the_start_time_and_how_many_exams_have_been_already_solved

The purpose of this method is to note down the current time; and how many exams were already solved. This will be recorded into a file.

That way you can invoke this e. g. early morning, and then see how many exam questions you were able to solve at the end of the day.

#


3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3324

def self.note_down_the_start_time_and_how_many_exams_have_been_already_solved
  time_right_now = Time.now
  n_questions_were_already_solved = Studium.return_n_questions_solved_in_total
  hash = {
    time_right_now => n_questions_were_already_solved
  }
  what = YAML.dump(hash)
  into = FILE_LAST_RECORDED_START_TIME
  opnn; e 'Storing the start time and number of solved '\
          'questions into the'
  opnn; e "file `#{into}`."
  Studium.write_what_into(what, into)
end

.obtain_next_exam_from_this_remote_url(i) ⇒ Object

#

Studium.obtain_next_exam_from_this_remote_url

This method will only return the next, upcoming exam. The input to it should be the remote URL that has registered the exams.

Usage examples:

result = Studium.obtain_next_exam_from_this_remote_url("https://online.boku.ac.at/BOKUonline/wbExamOffer.wbExamsOfCourse?pCourseNr=278031")
result = Studium.obtain_next_exam_from_this_remote_url("https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4999&dsrid=824&courseNr=164178&semester=2017S")
#


368
369
370
371
# File 'lib/studium/exams/next_exams.rb', line 368

def self.obtain_next_exam_from_this_remote_url(i)
  object = Studium::Exams::NextExams.new(i) { :be_quiet }
  return object.next_exam?
end

.obtain_random_topicObject

#

Studium.obtain_random_topic

This may be used like so:

Studium.obtain_random_topic # => "rna_and_dna"
#


3798
3799
3800
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3798

def self.obtain_random_topic
  Studium.find_corresponding_exam_topic(:random)
end

.obtain_upcoming_exams_from_this_remote_url(i) ⇒ Object

#

Studium.obtain_upcoming_exams_from_this_remote_url

This method will return a Hash holding all the upcoming exams for a given lecture. You must provide the URL to the lecture.

#


351
352
353
354
# File 'lib/studium/exams/next_exams.rb', line 351

def self.obtain_upcoming_exams_from_this_remote_url(i)
  object = Studium::Exams::NextExams.new(i) { :be_quiet }
  return object.exam_dates?
end

.open_exam_associated_url(i = ARGV) ⇒ Object

#

Studium.open_exam_associated_url

Usage example:

Studium.open_exam_associated_url(1)
#


146
147
148
# File 'lib/studium/exams/open_exam_associated_url/open_exam_associated_url.rb', line 146

def self.open_exam_associated_url(i = ARGV)
  ::Studium::Exams::OpenExamAssociatedUrl.new(i)
end

.open_important_examsObject

#

Studium.open_important_exams

This method can be called from the commandline via:

studium --open-important-exams
#


2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2748

def self.open_important_exams
  require 'open' unless Object.const_defined? :Open
  _ = ::Studium.file_important_exams?
  if is_on_roebe?
    # ===================================================================== #
    # The following only works on my home system - or respectively, when
    # a certain environment variable was set to true.
    # ===================================================================== #
    _ = "#{RUBY_STUDIUM_HOME_DIR}yaml/important_exams.yml"
    Open.in_editor(_)
  end
end

.open_in_editor(i) ⇒ Object

#

Studium.open_in_editor

#


2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2160

def self.open_in_editor(i)
  unless Object.const_defined? :Open
    begin # Make OpenInEditor available.
      require 'open'
    rescue LoadError; end
  end
  [i].flatten.compact.each {|this_file|
    Open.in_editor(this_file) {{ use_this_editor: @use_this_editor }}
  }
end

.open_last_exam_question_asked_file(i = ARGV) ⇒ Object

#

Studium.open_last_exam_question_asked_file

#


102
103
104
# File 'lib/studium/exams/open_last_exam_question_asked_file/open_last_exam_question_asked_file.rb', line 102

def self.open_last_exam_question_asked_file(i = ARGV)
  Studium::Exams::OpenLastExamQuestionAskedFile.new(i)
end

.open_this_remote_url(remote_url, use_this_browser = DEFAULT_BROWSER) ⇒ Object

#

Studium.open_this_remote_url

This method will open the specified URL via the browser.

#


435
436
437
438
439
440
441
442
443
444
445
446
447
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 435

def self.open_this_remote_url(
    remote_url,
    use_this_browser = DEFAULT_BROWSER
  )
  if Object.const_defined? :Open
    Open.in_browser(remote_url) {{
      use_this_browser: use_this_browser
    }}
  else
    _ = use_this_browser+' --new-tab "'+remote_url+'"'
    esystem _
  end
end

.opnn(i = { namespace: NAMESPACE }) ⇒ Object

#

Studium.opnn

#


205
206
207
208
209
210
211
212
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 205

def self.opnn(
    i = { namespace: NAMESPACE }
  )
  if i.is_a? String
    i = { namespace: i }
  end
  Opn.opn(i) if Object.const_defined? :Opn
end

.orangered(i = '') ⇒ Object

#

Studium.orangered

#


1633
1634
1635
1636
# File 'lib/studium/colours/colours.rb', line 1633

def self.orangered(i = '')
  return ::Studium::Colours.orangered(i) if Colours.use_colours?
  return i
end

.parse_commandline(i = ARGV) ⇒ Object

#

Studium.parse_commandline

#


1840
1841
1842
# File 'lib/studium/commandline/commandline.rb', line 1840

def self.parse_commandline(i = ARGV)
  Studium::Commandline.new(i)
end

.parse_remote_lectures_via_batch_mode(start_position = 345_300, end_position = 666_666) ⇒ Object

#

Studium.parse_remote_lectures_via_batch_mode

#


301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
# File 'lib/studium/parsers/parse_remote_lecture.rb', line 301

def self.parse_remote_lectures_via_batch_mode(
    start_position = 345_300, # 344_775
    end_position   = 666_666
  )
  parse_remote_lecture = Studium::ParseRemoteLecture.new(:do_not_run_yet)
  (start_position .. end_position).to_a.each {|entry|
    entry = Studium::ParseRemoteLecture::REMOTE_URL_AT_THE_MEDUNI_VIENNA+
            entry.to_s
    e 'Working on the URL: '+
      ::Studium.steelblue(entry.to_s)
    parse_remote_lecture.set_first_argument(entry)
    parse_remote_lecture.obtain_the_remote_dataset
    if parse_remote_lecture.is_the_remote_homepage_available?
      parse_remote_lecture.parse_this_result
      store_this = parse_remote_lecture.return_the_copy_paste_format_for_the_file_lecture_information_yml
      e store_this
      e 'Also storing into the file '+sfile('big_fat_yaml_file.yml')
      append_what_into(
        store_this+"\n", 'big_fat_yaml_file.yml'
      )
    end
    sleep 3
  }
end

.parse_this_string_into_a_proper_time_object(i = "Mittwoch 07.12.2022, 09:00-17:00") ⇒ Object

#

Studium.parse_this_string_into_a_proper_time_object

This method can take an input String and turn it into a “proper” time object, in ruby.

Usage example:

x = Studium.parse_this_string_into_a_proper_time_object("Mittwoch  07.12.2022, 09:00-17:00")
#


4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4009

def self.parse_this_string_into_a_proper_time_object(
    i = "Mittwoch   07.12.2022, 09:00-17:00"
  )
  if i.is_a? Array
    i = i.join(' ')
  end
  i = i.dup
  i.strip!
  i.squeeze!(' ') # is now: "Mittwoch 07.12.2022, 09:00-17:00"
  i = remove_german_weekdays_from(i).strip
  i = i.split('Ort').first.strip if i.include? 'Ort'
  i.delete!(',') if i.include? ','
  return ::Time.parse(i)
end

.passed_ects_per_year(i = :default) ⇒ Object

#

Studium.passed_ects_per_year

#


305
306
307
# File 'lib/studium/utility_scripts/passed_ects_per_year/passed_ects_per_year.rb', line 305

def self.passed_ects_per_year(i = :default)
  Studium::PassedEctsPerYear.new(i)
end

.passed_this_exam_on(this_exam, optional_lva_id = nil) ⇒ Object

#

Studium.passed_this_exam_on

This method may typically return a String such as 11.02.2018, which refers to the date, in dd.mm.yyyy notation, as to when the given exam (the input argument) was passed successfully. In other words, if the user succeeded in taking this exam.

If the input argument (the first argument) includes at the least one ‘ ’ and the leading part only has numbers or e. g. ‘123.A45’, then we will assume that this is the optional lva-id. This is normally the second argument; the reason why this method will also check on the first argument is mostly due to convenience.

Note that we will use the dataset from the file “passed_exams_per_month.csv”, which will be unavailable for most users of this gem.

For the time being this limitation will remain, but eventually we will also enable working solely via “lecture_information.yml”. For now, though, this is only valid in combination with the .csv file.

#


3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3461

def self.passed_this_exam_on(
    this_exam,
    optional_lva_id = nil
  )
  _ = Studium.file_passed_exams_per_month
  if File.exist? _
    # ======================================================================= #
    # The following dataset is an Array.
    # ======================================================================= #
    dataset = Studium.return_dataset_from_file_passed_exams_per_month
    # ======================================================================= #
    # Also load the dataset from "lecture_information.yml".
    # ======================================================================= #
    dataset_from_lecture_information = Studium.return_sanitized_dataset_from_the_file_lecture_information
    if dataset_from_lecture_information.has_key?(this_exam)
      # =================================================================== #
      # In this case, we can simply check the entry :already_solved
      # =================================================================== #
      pointer = dataset_from_lecture_information[this_exam]
      already_solved = pointer[:already_solved]
      if already_solved
        return pointer[:already_solved_at]
      end
    else
      if this_exam.is_a? Array
        this_exam = this_exam.join(' ').strip
      end
      if this_exam.include? ' ' # ← We assume input such as "270006 (Biochemie) Biologische Chemie I"
        splitted = this_exam.split(' ')
        first_element = splitted.first
        if first_element =~ /^\d{1,3}\.?[A-Z]{0,1}\d{1,3}$/
          optional_lva_id = first_element
          splitted[0] = nil
          splitted.compact!
          this_exam = splitted.join(' ') 
        end
      end
      # ===================================================================== #
      # The following regexp starts with a ' ' character. The reason for
      # this is the format that we use, a .csv file.
      # Example:
      #   "18.11.2015 | 2.0 |  2.0 | 2 |   BOKU  |   B  |   VO  |   773120   | 2015S | Organische Chemie\n"
      # This has a '| ' token if you look carefully.
      # ===================================================================== #
      use_this_regex = / #{Regexp.quote(this_exam)}$/
      selection = dataset.select {|line|
        line =~ use_this_regex
      }
      if optional_lva_id # In this case, must narrow it down even more.
        selection = selection.select {|line|
          line.include? optional_lva_id
        }
      end
      # ===================================================================== #
      # Must still find out the exact date.
      # ===================================================================== #
      if selection.empty?
        nil
      else
        first_element = selection.first # We only care for the first result.
        splitted = first_element.split(' ')
        return splitted.first # <- This is an entry such as "01.03.2017".
      end
    end
  else
    opn; e "No file exists at `#{sfile(_)}`."
  end
end

.path_to_the_boku_logo_image?Boolean

#

Studium.path_to_the_boku_logo_image?

#

Returns:

  • (Boolean)


682
683
684
# File 'lib/studium/constants/constants.rb', line 682

def self.path_to_the_boku_logo_image?
  "#{IMG_DIRECTORY}studium/BOKU_VIENNA_LOGO_IMAGE.png"
end

.path_to_the_meduni_logo_image?Boolean

#

Studium.path_to_the_meduni_logo_image?

#

Returns:

  • (Boolean)


675
676
677
# File 'lib/studium/constants/constants.rb', line 675

def self.path_to_the_meduni_logo_image?
  "#{IMG_DIRECTORY}studium/MEDUNI_LOGO_IMAGE.png"
end

.path_to_the_practical_course_image?Boolean

#

Studium.path_to_the_practical_course_image?

#

Returns:

  • (Boolean)


649
650
651
# File 'lib/studium/constants/constants.rb', line 649

def self.path_to_the_practical_course_image?
  "#{IMG_DIRECTORY}studium/PRACTICAL_COURSE.png"
end

.path_to_the_tu_vienna_logo_image?Boolean

#

Studium.path_to_the_tu_vienna_logo_image?

#

Returns:

  • (Boolean)


663
664
665
# File 'lib/studium/constants/constants.rb', line 663

def self.path_to_the_tu_vienna_logo_image?
  "#{IMG_DIRECTORY}studium/TU_VIENNA_LOGO.png"
end

.path_to_the_university_of_vienna_logo_image?Boolean

#

Studium.path_to_the_university_of_vienna_logo_image?

#

Returns:

  • (Boolean)


656
657
658
# File 'lib/studium/constants/constants.rb', line 656

def self.path_to_the_university_of_vienna_logo_image?
  "#{IMG_DIRECTORY}studium/UNIVERSITY_OF_VIENNA_LOGO_IMAGE.png"
end

.path_to_the_vetmed_logo_image?Boolean

#

Studium.path_to_the_vetmed_logo_image?

#

Returns:

  • (Boolean)


642
643
644
# File 'lib/studium/constants/constants.rb', line 642

def self.path_to_the_vetmed_logo_image?
  "#{IMG_DIRECTORY}studium/VETMED_LOGO_IMAGE.png"
end

.percentage_mandatory_continuous_assessment(in_this_curriculum, round_to = nil) ⇒ Object

#

Studium.percentage_mandatory_continues_assessment

This method will simply return the percentage of the mandatory, continuous assessment practical courses, as a Float. It will be quiet, that is, it will not output anything else BUT that percentage number.

In german: “Diese Methode gibt einem den prozentualen Anteil an prüfungsimmanenten Lehrveranstaltungen aus.”

Invocation examples:

percentage = Studium.percentage_mandatory_continuous_assessment('bachelor-genetic')               # => 36.666666666666664
percentage = Studium.percentage_mandatory_continuous_assessment('bachelor-vektor')                # => 37.22222222222222
percentage = Studium.percentage_mandatory_continuous_assessment('bachelor_agrarwissenschaften')   # => 23.333333333333332
percentage = Studium.percentage_mandatory_continuous_assessment('bachelor_agrarwissenschaften',2) # => 23.33
#


1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
# File 'lib/studium/exams/mandatory_continuous_assessment/mandatory_continuous_assessment.rb', line 1339

def self.percentage_mandatory_continuous_assessment(
    in_this_curriculum,
    round_to = nil
  )
  in_this_curriculum = in_this_curriculum.to_s.sub(/curriculum/,'')
  _ = Studium::Exams::MandatoryContinuousAssessment.new(in_this_curriculum, :do_not_run_yet)
  _.be_quiet
  _.run
  result = _.percentage?
  if round_to
    result = result.round(round_to)
  end
  return result
end

.permanently_set_this_editor(i) ⇒ Object

#

Studium.permanently_set_this_editor

This method can be used to permanently set to a specific editor in use, for the whole Studium project.

#


2148
2149
2150
2151
2152
2153
2154
2155
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2148

def self.permanently_set_this_editor(i)
  i = i.to_s # We really want a String past this point.
  set_use_this_editor(i)
  what = i
  into = FILE_EDITOR
  e "Storing #{what} into #{into} next."
  write_what_into(what, into)
end

.permanenty_set_directory_to_the_exam_topics(i) ⇒ Object

#

Studium.permanenty_set_directory_to_the_exam_topics

Use this method to permanently set another directory to the exam topics.

Usage example:

studium --set-directory-to-the-exam-topics=/Depot/j/EXAM_TOPICS/
#


749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
# File 'lib/studium/constants/constants.rb', line 749

def self.permanenty_set_directory_to_the_exam_topics(i)
  i << '/' unless i.end_with? '/'
  what = i
  into = Studium.file_directory_to_the_exam_topics
  Studium.write_what_into(what, into)
  # ======================================================================= #
  # On my home system, we will also update the file.
  # ======================================================================= #
  if ::Studium.is_on_roebe?
    into = RUBY_STUDIUM_HOME_DIR+'yaml/directory_to_the_exam_topics.yml'
    if File.exist? into
      Studium.write_what_into(what, into)
    else
      e "File at `#{sfile(into)}` does not exist."
    end
  end
end

.permanenty_set_log_directory_to_this_entry(what) ⇒ Object

#

Studium.permanenty_set_log_directory_to_this_entry

#


45
46
47
48
49
# File 'lib/studium/logging/ensure_that_the_log_directory_exists.rb', line 45

def self.permanenty_set_log_directory_to_this_entry(what)
  what << '/' unless what.end_with? '/'
  into = Studium.file_log_directory
  write_what_into(what, into)
end

.pristine(i = Studium.file_lecture_information) ⇒ Object

#

Studium.pristine

The sole job of this method is to create a new file called “lecture_information.yml” that has all personal information stripped - in particular getting rid of ‘!ruby/symbol already_solved_at’ and ‘!ruby/symbol grade:’.

Also ‘!ruby/symbol already_solved:’ has to be toggled to false.

This method will NOT remove the old file called “lecture_information.yml” so the method can be safely called.

#


3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3136

def self.pristine(
    i = Studium.file_lecture_information
  )
  if i.is_a?(String) and File.exist?(i)
    i = File.readlines(i)
  end
  _ = ''.dup # We will copy into that string.
  i.each {|this_line|
    if this_line.include? '!ruby/symbol already_solved:'
      this_line = " !ruby/symbol already_solved: false\n"
    elsif this_line.include? '!ruby/symbol already_solved_at'
      this_line = nil
    elsif this_line.include? '!ruby/symbol grade:'
      this_line = nil
    elsif this_line.include? '!ruby/symbol currently_participating_in_this_course'
      this_line = nil
    end
    _ << this_line if this_line
  }
  what = _
  into = 'lecture_information.yml'
  if File.exist? into
    # ===================================================================== #
    # Next, add a safeguard to prevent deleting the file should it
    # already exists.
    # ===================================================================== #
    opn; e 'A file called '+::Studium::Colours.sfile(into)+
           ' already exists. We will not '
    opn; e 'overwrite any existing files, so either '\
           'move/rename/delete that file'
    opn; e 'or use another working directory.'
  else
    opn; e "Storing into the file `#{::Studium::Colours.sfile(into)}`."
    write_what_into(what, into)
  end
end

.project_base_dir?Boolean

#

Studium.project_base_dir?

#

Returns:

  • (Boolean)


15
16
17
# File 'lib/studium/project/project.rb', line 15

def self.project_base_dir?
  File.absolute_path("#{__dir__}/..")+'/'
end

.project_curricula_yaml_directoryObject

#

Studium.project_curricula_yaml_directory

#


54
55
56
# File 'lib/studium/project/project.rb', line 54

def self.project_curricula_yaml_directory
  "#{::Studium.project_yaml_dir?}curricula/"
end

.project_yaml_dir?Boolean

#

Studium.project_yaml_dir?

This is the preferred way to query the content of the above constant.

Please make use of it.

#

Returns:

  • (Boolean)


38
39
40
# File 'lib/studium/project/project.rb', line 38

def self.project_yaml_dir?
  "#{::Studium.project_base_dir?}yaml/"
end

.publish_my_examsObject

#

Studium.publish_my_exams

#


165
166
167
# File 'lib/studium/utility_scripts/publish_my_exams/publish_my_exams.rb', line 165

def self.publish_my_exams
  Studium::Exams::PublishMyExams.new
end

.query_based_on_curriculum_title_whether_this_module_been_completed(title_of_the_curriculum, name_of_the_individual_curriculum_module, use_this_dataset = nil) ⇒ Object

#

Studium.query_based_on_curriculum_title_whether_this_module_been_completed

This method is a bit different to Studium.has_this_module_been_completed?, in that it was added at a later time (29.02.2020), and in that it takes into account the name of the curriculum, and the name of the curriculum module.

Note that currently this works only if we have the key :individual_curricula registered.

This method is buggy though.

#


2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2219

def self.query_based_on_curriculum_title_whether_this_module_been_completed(
    title_of_the_curriculum,
    name_of_the_individual_curriculum_module,
    use_this_dataset = nil
  )
  ects_points_achieved = 0
  ects_points_that_are_in_that_module = 0
  _ = use_this_dataset.select {|a, b|
    b.has_key? :individual_curricula
  }
  _.each {|name_of_the_lecture, inner_hash|
    n_ects = inner_hash[:ects]
    individual_curricula = inner_hash[:individual_curricula]
    if individual_curricula.is_a? Hash
      case individual_curricula[:name_of_the_curriculum].strip
      when title_of_the_curriculum
        individual_curriculum_module = individual_curricula[:individual_curriculum_module]
        if individual_curriculum_module.is_a? Array
          individual_curriculum_module = individual_curriculum_module.first
        end
        if individual_curriculum_module == name_of_the_individual_curriculum_module
          ects_points_that_are_in_that_module += n_ects
          already_solved = inner_hash[:already_solved]
          if already_solved and (already_solved == true)
            ects_points_achieved += n_ects
          end
        end
      end
    elsif individual_curricula.is_a? Array
      individual_curricula.flatten.each {|inner_hash|
        short_name = inner_hash[:name_of_the_curriculum].to_s.strip
        case short_name
        when title_of_the_curriculum
          individual_curriculum_module = inner_hash[:individual_curriculum_module]
          if individual_curriculum_module.is_a? Array
            individual_curriculum_module = individual_curriculum_module.first
          end
          if individual_curriculum_module.strip == name_of_the_individual_curriculum_module.strip
            ects_points_that_are_in_that_module += n_ects
            already_solved = inner_hash[:already_solved]
            if already_solved and (already_solved == true)
              ects_points_achieved += n_ects
            end
          end
        end
      }
    end
  }
  # ======================================================================= #
  # Next, a bit of ad-hoc fixing, where we handle blocks.
  # ======================================================================= #
  if block_given?
    yielded = yield
    case yielded
    when :return_n_ects_in_that_module
      return ects_points_that_are_in_that_module
    end
  end
  (ects_points_achieved == ects_points_that_are_in_that_module)
end

.random_exam_meta_topic?Boolean

#

Studium.random_exam_meta_topic?

This method will return a random exam meta topic.

Usage examples:

Studium.random_exam_meta_topic? # => "genetics"
Studium.random_exam_meta_topic? # => "cellbiology"
#

Returns:

  • (Boolean)


2736
2737
2738
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2736

def self.random_exam_meta_topic?
  return Studium.available_meta_themes?.sample
end

.random_exam_topic?Boolean

#

Studium.random_exam_topic?

This method will return a random exam topic when it is called.

Usage examples:

Studium.random_exam_topic? # => "epigenetik"
Studium.random_exam_topic? # => "abfall_als_ressource"
Studium.random_exam_topic? # => "embryologie_und_entwicklung"
#

Returns:

  • (Boolean)


2825
2826
2827
# File 'lib/studium/exams/question_answer/question_answer.rb', line 2825

def self.random_exam_topic?
  ::Studium::Exams.all_topics_as_short_name.sort.sample
end

.random_questionObject

#

Studium.random_question

This method will ask a random exam question.

#


2903
2904
2905
# File 'lib/studium/exams/question_answer/question_answer.rb', line 2903

def self.random_question
  ask_question(:random)
end

.random_topicObject

#

Studium.random_topic

#


6206
6207
6208
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6206

def self.random_topic
  return ::Studium::Exams.available_topics?.sample
end

.read_dataset_from_a_curriculum_file(i, optional_commands = nil, do_flatten_the_dataset = true) ⇒ Object

#

Studium.read_dataset_from_a_curriculum_file

This method will read in a dataset from a curriculum file, without depending on YAML.load_file().

It had to be added in February 2018 because I transitioned away from using YAML, into my own custom format, which is not only simpler but also more fault-tolerant - in the sense that fewers mistakes will happen. Plus - I get to easily control the Encoding in use as well.

A symbol can also be passed into this method. This will then be expanded to the corresponding curriculum-file.

Examples for this:

Studium.read_dataset_from_a_curriculum_file(:bachelor_vektorx)
Studium.read_dataset_from_a_curriculum_file(:bachelor_vektorx, :remove_comments)

More usage examples:

dataset = Studium.read_dataset_from_a_curriculum_file(:bachelor_genetik)
#


5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5293

def self.read_dataset_from_a_curriculum_file(
    i,
    optional_commands      = nil,
    do_flatten_the_dataset = true
  )
  # ======================================================================= #
  # === Handle blocks next
  # ======================================================================= #
  if block_given?
    yielded = yield
    case yielded
    # ===================================================================== #
    # === :remove_comments
    # ===================================================================== #
    when :remove_comments
      optional_commands = :remove_comments # <- Sync towards this variable.
    end
  end
  dataset = [i].flatten.compact
  dataset.map! {|entry|
    if entry =~ /^\d+$/ # If it consists of only numbers:
      dataset = ::Studium.return_dataset_from_the_file_lecture_information
      entry = dataset.select {|key, hash|
        hash['curricula'].include?(entry)
      }
    else # The next clause checks for Strings.
      if entry.is_a?(Symbol) or
        (entry.is_a?(String)) # and entry.start_with?('--')) # Commented this out in December 2022.
        # =================================================================== #
        # Next we will try to find the proper name, if a Symbol is used here.
        # =================================================================== #
        entry = ::Studium.return_file_for_this_curriculum(entry)
      end
    end
    if entry.is_a? Array
      entry.flatten! if do_flatten_the_dataset
      entry = entry.map {|inner_line|
        File.readlines(
          inner_line, encoding: ::Studium.main_encoding?
        )
      }
    else
      if File.exist? entry.to_s
        entry = File.readlines(
          entry, encoding: ::Studium.main_encoding?
        )
      else
        e 'From the '+
          Colours.steelblue('file')+
          ': '+
          sfile('studium/toplevel_methods/toplevel_methods.rb')
        e "No file could be found at `#{sfile(entry)}`."
        e
        e 'The caller() backtrace was:'
        e
        pp caller()
        e
      end
    end
    # ===================================================================== #
    # The .flatten operation has to be optional, since we may also have
    # two different curricula combined, in a bachelor-master setup.
    # ===================================================================== #
    if entry.is_a? Array
      entry.flatten! if do_flatten_the_dataset
      entry.reject! {|line|
        if line.is_a? String
          line.strip.empty?
        elsif line.is_a? Array
          line.select {|inner_line| inner_line.strip.empty? }
        end
      }
      unless optional_commands == :retain_comments
        entry.reject! {|line|
          line.strip.start_with?('#')
        }
      end
    else
      e 'The input is not an Array - this may indicate an error. '\
        '(reported from the file '+__FILE__+')'
    end
    entry
  }
  dataset.flatten!
  if optional_commands
    case optional_commands
    # ===================================================================== #
    # === :remove_comments_and_title
    #
    # This entry point chops away any comments and also entries with
    # @title.
    # ===================================================================== #
    when :remove_comments_and_title
      dataset.map! {|line|
        if line and line.include?('#')
          line = line[0 .. (line.index('#') - 1)]
          line.strip!
        end
        line = nil if line and line.include?('@title ') # Remove it here then.
        line
      }
      dataset.compact!
    # ===================================================================== #
    # This entry point chops away any comments.
    # ===================================================================== #
    when :remove_comments
      dataset.map! {|line|
        if line.include? '#'
          line = line[0 .. (line.index('#') - 1)]
          line.strip!
        end
        line
      }
    end
  end
  return dataset # And return the dataset here finally.
end

.read_in_unanswered_exam_questions_from_this_file(this_file) ⇒ Object

#

Studium.read_in_unanswered_exam_questions_from_this_file

#


6233
6234
6235
6236
6237
6238
6239
6240
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6233

def self.read_in_unanswered_exam_questions_from_this_file(this_file)
  if File.exist? this_file
    dataset = File.readlines(this_file)
    dataset = ::Studium.filter_away_invalid_questions(dataset)
    dataset.reject! {|entry| entry.rstrip.end_with?(' []') }
    return dataset
  end
end

.readlines_with_the_default_encoding(use_this_file, use_this_encoding = Studium.encoding?) ⇒ Object

#

Studium.readlines_with_the_default_encoding

This method can be used to read the lines with the proper default encoding, aka Unicode (UTF-8).

#


2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2582

def self.readlines_with_the_default_encoding(
    use_this_file,
    use_this_encoding = Studium.encoding?
  )
  if File.exist? use_this_file
    return File.readlines(
      use_this_file,
      encoding: use_this_encoding
    )
  end
end

.regex_for_pwd_studObject

#

Studium.regex_for_pwd_stud

#


4689
4690
4691
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4689

def self.regex_for_pwd_stud
  REGEX_FOR_PWD_STUD
end

.registered_for_this_exam?(this_exam, dataset = ::Studium.main_dataset?) ⇒ Boolean

#

Studium.registered_for_this_exam?

This method will return true or false, depending as to whether we have registered for that particular exam or whether we have not.

The lecture-id has to be passed into this Array as well.

Usage examples:

Studium.registered_for_this_exam?("892104 Physik (LBT)") # => false
Studium.registered_for_this_exam?("163.107 Anorganische Chemie für VT") # => true
#

Returns:

  • (Boolean)


3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3595

def self.registered_for_this_exam?(
    this_exam,
    dataset = ::Studium.main_dataset?
  )
  if this_exam.is_a? Array
    this_exam.each {|entry| registered_for_this_exam?(entry) }
  else
    this_exam = this_exam.dup if this_exam.frozen?
    # ======================================================================= #
    # We will either obtain a new, fresh dataset - or re-use the existing 
    # dataset assigned to an module-level instance variable.
    # ======================================================================= #
    if dataset.nil?
      dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
      # ===================================================================== #
      # And also assign it, in this case.
      # ===================================================================== #
      ::Studium.set_main_dataset(dataset)
    end
    # ======================================================================= #
    # Now that we have the dataset, attempt to obtain the corresponding
    # entry.
    # ======================================================================= #
    # this_exam = ensure_main_encoding(this_exam)
    # ======================================================================= #
    # Get rid of german weeknames, just in case:
    # ======================================================================= #
    ARRAY_GERMAN_WEEKDAYS.each {|this_german_weekday|
      this_exam.sub!(
        /#{this_german_weekday}/,
        ''
      ) if this_exam.include?(this_german_weekday)
    }
    this_exam.strip!
    if dataset.has_key? this_exam
      pointer = dataset[this_exam]
      pointer.has_key? 'registered'
    else
      e "No key registered for `#{this_exam}`."
    end
  end
end

.reject_already_completed_exam_topics(array, hash_dataset = Studium::Statistics::ReportHowManyExamQuestionsWereAnswered.new { :be_quiet }.internal_dataset) ⇒ Object

#

Studium.reject_already_completed_exam_topics

This method expects an Array as its input.

#


2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2864

def self.reject_already_completed_exam_topics(
    array,
    hash_dataset = Studium::Statistics::ReportHowManyExamQuestionsWereAnswered.new { :be_quiet }.internal_dataset
  )
  return array.reject {|entry| # entry will be an exam topic.
    # ===================================================================== #
    # The Array will have entries such as "The bacterial cell wall",
    # ===================================================================== #
    entry = Studium.find_corresponding_exam_topic(entry)
    if hash_dataset.include?(entry.downcase.to_sym)
      entry = entry.downcase.to_sym
    else
      entry = entry.to_sym
    end
    if hash_dataset.include?(entry)
      hash = hash_dataset[entry]
      percentage_of_questions_answered = hash[:percentage_of_questions_answered]
      (percentage_of_questions_answered == 100)
    else
      e 'The entry `'+entry.to_s+'` is not included in the original daataset.'
      e
      e 'The dataset will next be shown nonetheless:'
      e
      pp hash_dataset
      e
    end
  }
end

.relative_steop_picture(i = '../../') ⇒ Object

#

Studium.relative_steop_picture

#


1890
1891
1892
1893
1894
1895
1896
1897
# File 'lib/studium/constants/constants.rb', line 1890

def self.relative_steop_picture(
    i = '../../'
  )
  img(
    "#{IMG_DIRECTORY.sub(/\/home\/x\//, i)}universities/STEOP.png",
    css_style: @use_this_css_style_for_the_logo_images
  )
end

.remote_url?Boolean

#

Studium.remote_url?

Easier wrapper-methd to the above.

#

Returns:

  • (Boolean)


48
49
50
# File 'lib/studium/exams/remote_ftp_url.rb', line 48

def self.remote_url?
  ::Studium::Exams.remote_url?
end

.remove_comments(i) ⇒ Object

#

Studium.remove_comments

This method will simply remove ‘#’ comments from the input string. It was mostly thought of as a trivial convenience method.

#


3645
3646
3647
3648
3649
3650
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3645

def self.remove_comments(i)
  if i.is_a? Array
    i = i.join("\n")
  end
  return i.delete('#')
end

.remove_exam_topics_that_were_already_answered(i) ⇒ Object

#

Studium.remove_exam_topics_that_were_already_answered

#


3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3655

def self.remove_exam_topics_that_were_already_answered(i)
  if i.is_a? Array
    i.reject! {|entry|
      n_answers = ::Studium::Exams.return_n_questions_in_this_topic(
        entry, :also_return_n_answers
      )
      n_answers[0] == n_answers[1]
    }
  end
  return i
end

.remove_html(i) ⇒ Object

#

Studium.remove_html

Usage example:

Studium.remove_html('abc <one>def</one> ghi') # => "abc def ghi"
#


3229
3230
3231
3232
3233
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3229

def self.remove_html(i)
  return i if i.nil?
  regex = /<("[^"]*"|'[^']*'|[^'">])*>/
  return i.gsub(regex, '')
end

.remove_leading_weekday_names_from(i) ⇒ Object

#

Studium.remove_leading_weekday_names_from

This method will remove leading weekday names from the given input at hand.

#


815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 815

def self.remove_leading_weekday_names_from(i)
  if i.is_a? Array
    i.map {|inner_entry|
      remove_leading_weekday_names_from(inner_entry)
    }
  else
    if i
      i = i.to_s.dup # We need a String past this point.
      # =================================================================== #
      # Remove german-named weekdays first.
      # =================================================================== #
      ARRAY_GERMAN_WEEKDAYS.each {|this_weekday|
        if i.include? this_weekday+' '
          i = i.dup if i.frozen?
          i.sub!(/^#{this_weekday} /,'')
          i.strip!
        elsif i.include? short_name_of_this_german_weekday(this_weekday)+' '
          i = i.dup if i.frozen?
          i.sub!(/^#{this_weekday} /,'')
          i.strip!
        end
      }
      # =================================================================== #
      # Next remove the english-named weekdays.
      # =================================================================== #
      ARRAY_ENGLISH_WEEKDAYS.each {|this_weekday|
        i.sub!(/^#{this_weekday} /,    '')  if i.include? this_weekday+' '
        i.strip!
      }
    end
    i
  end
end

.remove_tags_from_this_input(i = '') ⇒ Object

#

Studium.remove_tags_from_this_input

This method will specifically remove tags, such as “<one>” or “<two>” from a given String.

#


6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6154

def self.remove_tags_from_this_input(i = '')
  i = i.first if i.is_a? Array
  if i
    begin
      return i.gsub(/<\/?[^>]*>/, '')
    rescue ArgumentError
      return i
    end
  end
  return i
end

.remove_weekday_names_from(i) ⇒ Object

#

Studium.remove_weekday_names_from

This method is a bit similar to the method Studium.remove_leading_weekday_names_from(), but it will not be restricted to the leading part alone - it will remove ALL weekday names found in the given input at hand. Thus it will also use .gsub() rather than .sub().

#


3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3744

def self.remove_weekday_names_from(i)
  if i.nil?
    e "No input argument supplied to this method "\
      "(#{__method__})"
    e 'Feedbacking the caller next:'
    e
    pp caller()
    e
  elsif i.is_a? Array # Support batch-variant through Arrays as well.
    i.map {|entry| remove_weekday_names_from(entry) }
  else
    # ===================================================================== #
    # Remove the german-weekdays first:
    # ===================================================================== #
    ARRAY_GERMAN_WEEKDAYS.each {|this_weekday|
      i.gsub!(/#{this_weekday}/, '')  if i.include? this_weekday
    }
    # ===================================================================== #
    # Remove the english-weekdays next:
    # ===================================================================== #
    ARRAY_ENGLISH_WEEKDAYS.each {|this_weekday|
      i.gsub!(/#{this_weekday}/, '')  if i.include? this_weekday
    }
    i
  end
end

.replace_regular_numbers_with_unicode_numbers(i) ⇒ Object

#

Studium.replace_regular_numbers_with_unicode_numbers

This method will simply replace numbers such as 1 with ¹.

#


611
612
613
614
615
616
617
618
619
620
621
622
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 611

def self.replace_regular_numbers_with_unicode_numbers(i)
  i.tr('0','').
    tr('1','¹').
    tr('2','²').
    tr('3','³').
    tr('4','').
    tr('5','').
    tr('6','').
    tr('7','').
    tr('8','').
    tr('9','')
end

.report_attributed_lectures_to_universities(hash) ⇒ Object

#

Studium.report_attributed_lectures_to_universities

The input to this method should be a Hash like so:

{"Uni Wien"=>70.0, "BOKU"=>18.0, "TU Vienna"=>2.0}
#


413
414
415
416
417
418
419
420
421
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 413

def self.report_attributed_lectures_to_universities(hash)
  e 'The attributed lectures are as follows:'
  e
  hash.each_pair {|this_university, n_ects_points|
    e royalblue('  '+this_university.ljust(50))+
      ' '+
      ::Studium::Colours.orange(n_ects_points.to_s.rjust(4))+' ECTS points'
  }; e
end

.report_average_grade(use_csv_file_or_lecture_information = :determine_automatically, round_to_n_positions = nil) ⇒ Object

#

Studium.report_average_grade

This method will simply report the avera grade of the passed exams in question.

#


387
388
389
390
391
392
393
394
395
396
# File 'lib/studium/exams/average_grade/average_grade.rb', line 387

def self.report_average_grade(
    use_csv_file_or_lecture_information = :determine_automatically,
    round_to_n_positions                = nil
  )
  puts Studium.steelblue(
    Studium.average_grade(
      use_csv_file_or_lecture_information, round_to_n_positions
    )
  )
end

.report_how_many_exam_questions_were_already_solvedObject

#

Studium.report_how_many_exam_questions_were_already_solved

Easier report-method.

#


362
363
364
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 362

def self.report_how_many_exam_questions_were_already_solved
  Studium::Exams.report_how_many_exam_questions_were_already_solved
end

.report_missing_priority_entriesObject

#

Studium.report_missing_priority_entries

This method will report the missing :priority entries in the file ‘lecture_information.yml’.

#


19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/studium/check_and_sanitize/missing_priority_entry.rb', line 19

def self.report_missing_priority_entries
  dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
  is_there_at_the_least_one_entry = false
  dataset.each {|key, value|
    priority = value[:priority]
    if priority
      # Then all is fine.
    else
      e 'No :priority entry for `'+::Studium::Colours.sfancy(key)+'`.'
      unless is_there_at_the_least_one_entry == true
        is_there_at_the_least_one_entry = true
      end
    end
  }
  unless is_there_at_the_least_one_entry
    e ::Studium::Colours.gold('Good!')+
      ' Every relevant entry in file lecture_information.yml '\
      'has a :priority tag.'
  end
end

.report_n_ects_per_university(hash, total_ects_points = 180.0) ⇒ Object

#

Studium.report_n_ects_per_university

The first argument to this method should be a Hash. This Hash should contain key→value pairs that have the university associated with the corresponding n ECTS points.

The input Hash should look like this:

{"TU Wien"=>115.5, "Uni Wien"=>30.0, "BOKU Wien"=>26.0, "Vetmed Wien"=>8.5}
#


284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 284

def self.report_n_ects_per_university(
    hash,
    total_ects_points = 180.0
  )
  n_ects_in_total = 0
  sorted_hash = hash.sort_by {|a, ects_points| ects_points.to_f }.reverse
  use_this_as_total_ects_points = total_ects_points
  if use_this_as_total_ects_points == 120.0
    use_this_as_total_ects_points = 90 # Ad-hoc change this.
  end
  # ========================================================================= #
  # Iterate over the sorted Hash next.
  # ========================================================================= #
  sorted_hash.each {|this_university, n_ects_points_at_that_university|
    percentage_value = (
      (n_ects_points_at_that_university * 100 ) / use_this_as_total_ects_points
    ).round(1)
    n_ects_in_total += n_ects_points_at_that_university
    padded_this_university = this_university.to_s.ljust(15)
    e '                            '+
      sfancy(padded_this_university)+
      colour_for_ects_points(
        n_ects_points_at_that_university.to_s.rjust(5)+' ECTS points'
      )+
      darkgreen(
        ' ('+percentage_value.to_s.rjust(4)+'%)'
      )
  }
  e colour_for_ects_points(
      n_ects_in_total.to_s.rjust(48)+' ECTS points'
    )
  e
end

.report_n_entries_in_the_file_lecture_informationObject

#

Studium.report_n_entries_in_the_file_lecture_information

#


398
399
400
401
402
403
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 398

def self.report_n_entries_in_the_file_lecture_information
  n_keys = n_lectures_registered?
  e "#{Colours.rev}There are #{::Studium::Colours.sfancy(n_keys)} "\
    "#{Colours.rev}registered courses in the file "\
    "#{::Studium::Colours.sfile('lecture_information.yml')}#{Colours.rev}."
end

.report_outdated_timetable_entries(i = ARGV) ⇒ Object

#

Studium.report_outdated_timetable_entries

#


134
135
136
# File 'lib/studium/utility_scripts/report_outdated_timetable_entries/report_outdated_timetable_entries.rb', line 134

def self.report_outdated_timetable_entries(i = ARGV)
  ::Studium::ReportOutdatedTimetableEntries.new(i)
end

.report_passed_exams_fitting_to_this_theme(i = 'genetics') ⇒ Object

#

Studium.report_passed_exams_fitting_to_this_theme

#


529
530
531
# File 'lib/studium/exams/show_themes/misc.rb', line 529

def self.report_passed_exams_fitting_to_this_theme(i = 'genetics')
  Studium::Exams::ShowThemes.new(i)
end

.report_solved_topicsObject

#

Studium.report_solved_topics

This method will simply report which topics are completely (100%) solved.

#


219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 219

def self.report_solved_topics
  array_these_topics_are_completely_solved = []
  available_topics = ::Studium::Exams.all_topics_as_short_name
  directory_to_the_exam_topics = directory_to_the_exam_topics?
  available_topics.each {|filename|
    path = "#{directory_to_the_exam_topics}#{filename}"
    if File.file? path
      dataset = File.readlines(path)
      dataset = ::Studium.filter_away_invalid_questions(dataset, path)
      n_total_questions = dataset.size
      n_questions_answered = dataset.select {|entry| entry.include? ' []' }.size
      if n_questions_answered == n_total_questions
        array_these_topics_are_completely_solved << filename
      end
    else
      opnn; e no_file_at(path)
    end
  }
  if array_these_topics_are_completely_solved.empty?
    e 'No topic is completely solved yet.'
  else
    e ::Studium::Colours.rev+
      ::Studium::Colours.grey('The following ')+
      ::Studium::Colours.steelblue(
        array_these_topics_are_completely_solved.size.to_s
      )+
      ::Studium::Colours.grey(' topics are completely solved:')
    e
    array_these_topics_are_completely_solved.each {|this_topic|
      n_exam_questions = ::Studium.return_n_exam_questions_in_this_topic(this_topic)
      e "  #{Colours.steelblue(this_topic.ljust(24))} #{Colours.gold('#')} "+
        ::Colours.mediumpurple(
          "#{n_exam_questions.to_s.rjust(3)} exam questions in that topic"
        )
    }
    e
  end
end

.report_the_difference_to_the_start_timeObject

#

Studium.report_the_difference_to_the_start_time

To invoke this method from the commandline, do:

studium --end
#


3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3346

def self.report_the_difference_to_the_start_time
  from = FILE_LAST_RECORDED_START_TIME
  if File.exist? from
    dataset = YAML.load_file(from)
    n_programs = dataset.values.first
    difference = Studium.return_n_questions_solved_in_total - n_programs
    time = dataset.keys.first # <- This should be a Time-object already.
    e 'We solved '+::Colours.slateblue(difference.to_s)+
      ' questions compared to the time at '+
      ::Colours.royalblue(
        Studium.return_dd_mm_yy_and_time_from(time)
      )+'.'
  else
    e "No file called `#{from}` exists."
  end
end

.report_when_this_lecture_lvaid_was_passed(lvaid = ARGV) ⇒ Object

#

Studium.report_when_this_lecture_lvaid_was_passed

#


5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5732

def self.report_when_this_lecture_lvaid_was_passed(
    lvaid = ARGV
  )
  lvaid = lvaid.first if lvaid.is_a? Array
  if Studium.already_solved_this_lva_number? lvaid
    dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
    matches = dataset.select {|name_of_the_lecture, value|
      name_of_the_lecture.start_with? lvaid
    }
    if matches.empty?
      e 'No match was found.'
    else
      first_match = matches.first
      inner_dataset = first_match[1]
      already_solved_at = inner_dataset[:already_solved_at].to_s
      e 'The exam for the lecture ID '+lvaid.to_s+' has '\
        'been successfully completed at:'
      e
      e '  '+::Colours.slateblue(already_solved_at)+
        ' (name of the lecture: '+
        ::Colours.gold(first_match[0].to_s)+
        ')'
      e
    end
  else
    e "But the lecture LVA-ID of #{lvaid}"\
      " has not been solved."
  end
end

.require_ects_scriptsObject

#

Studium.require_ects_scripts

These files reside under studium/ects/.

#


17
18
19
20
21
22
23
24
25
# File 'lib/studium/requires/require_ects_scripts.rb', line 17

def self.require_ects_scripts
  _ = "#{project_base_dir?}ects/"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/ects/#{File.basename(file)}"
    require file
  }
  require 'studium/ects/solved_ects/solved_ects.rb'
  require 'studium/ects/solved_ects_per_university/solved_ects_per_university.rb'
end

.require_the_check_and_sanitize_filesObject

#

Studium.require_the_check_and_sanitize_files

Load up the module-method files, all of them. This has to be called manually, as-is.

#


18
19
20
21
22
23
24
25
# File 'lib/studium/requires/require_the_check_and_sanitize_files.rb', line 18

def self.require_the_check_and_sanitize_files
  name = 'check_and_sanitize/'
  _ = "#{Studium.project_base_dir?}#{name}"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/#{name}#{File.basename(file)}"
    require file
  }
end

.require_the_curricula_filesObject

#

Studium.require_the_curricula_files

#


15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/studium/requires/require_the_curricula_files.rb', line 15

def self.require_the_curricula_files
  _ = "#{Studium.project_base_dir?}curricula/"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/curricula/#{File.basename(file)}"
    require file
  }
  require 'studium/curricula/curriculum_module_displayer/curriculum_module_displayer.rb'
  require 'studium/curricula/determine_curricula/determine_curricula.rb'
  require 'studium/curricula/mitteilungsblätter/mitteilungsblätter.rb'
  require 'studium/curricula/random_curriculum_creator/random_curriculum_creator.rb'
  require 'studium/curricula/show_lectures_of_this_curriculum_id/show_lectures_of_this_curriculum_id.rb'
end

.require_the_exams_filesObject

#

Studium.require_the_exams_files

We will load all .rb files from the studium/exams/ subdirectory here.

#


17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/studium/requires/require_the_exams_files.rb', line 17

def self.require_the_exams_files
  _ = "#{Studium.project_base_dir?}exams/"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/exams/#{File.basename(file)}"
    require file
  }
  # require 'studium/exams/remote_ftp_url.rb'
  require 'studium/requires/require_class_exams_solved.rb'
  require 'studium/exams/exam_question/exam_question.rb'
  require 'studium/exams/move_the_last_exam_question_to_the_top_of_the_file/move_the_last_exam_question_to_the_top_of_the_file.rb'
  # ======================================================================= #
  # And pull in the mandatory_continuous_assessment code as well.
  # ======================================================================= #
  require 'studium/exams/exam_registration_at/exam_registration_at.rb'
  require 'studium/exams/mandatory_continuous_assessment/mandatory_continuous_assessment.rb'
  require 'studium/exams/show_upcoming_exams/show_upcoming_exams.rb'
  require 'studium/exams/designate_ten_random_exam_topics/designate_ten_random_exam_topics.rb'
  require 'studium/exams/upcoming_exams/upcoming_exams.rb'
  require 'studium/exams/questions_solved_from_day_to_day/questions_solved_from_day_to_day.rb'
  require 'studium/exams/afterburn/afterburn.rb'
  # ======================================================================= #
  # And Studium::ExamsPerMonth next:
  # ======================================================================= #
  require 'studium/exams/exams_per_month/exams_per_month.rb'
  require 'studium/exams/csv/create_csv_passed_exams_file.rb'
  require 'studium/exams/exam/exam.rb'
  require 'studium/exams/average_grade/average_grade.rb'
end

.require_the_logging_filesObject

#

Studium.require_the_logging_files

#


15
16
17
18
19
20
21
# File 'lib/studium/requires/require_the_logging_files.rb', line 15

def self.require_the_logging_files
  _ = "#{Studium.project_base_dir?}logging/"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/logging/#{File.basename(file)}"
    require file
  }
end

.require_the_parsersObject

#

Studium.require_the_parsers

#


15
16
17
18
19
20
21
22
# File 'lib/studium/requires/require_the_parsers.rb', line 15

def self.require_the_parsers
  name = 'parsers/'
  _ = "#{Studium.project_base_dir?}#{name}"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/#{name}#{File.basename(file)}"
    require file
  }
end

.require_the_toplevel_methodsObject

#

Studium.require_the_toplevel_methods

Load up the module-method files, all of them. This has to be called manually, as-is.

#


18
19
20
21
22
23
24
25
# File 'lib/studium/requires/require_the_toplevel_methods.rb', line 18

def self.require_the_toplevel_methods
  name = 'toplevel_methods/'
  _ = "#{project_base_dir?}#{name}"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/#{name}#{File.basename(file)}"
    require file
  }
end

.require_the_utility_scriptsObject

#

Studium.require_the_utility_scripts

This method will require all .rb files under the utility_scripts/ subdirectory.

#


18
19
20
21
22
23
24
25
26
27
28
# File 'lib/studium/requires/require_the_utility_scripts.rb', line 18

def self.require_the_utility_scripts
  split_at = 'studium/utility_scripts/'
  _ = "#{Studium.project_base_dir?}utility_scripts/"
  load_these_files = Dir["#{_}**/**.rb"]
  load_these_files.each {|file|
    file = file.split(split_at)
    file = file.last
    file = "studium/utility_scripts/#{file}"
    require file
  }
end

.return_all_exam_questions_from_this_topic(i) ⇒ Object

#

Studium.return_all_exam_questions_from_this_topic

#


2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2942

def self.return_all_exam_questions_from_this_topic(i)
  i = ::Studium.expand_this_exam_topic(i)
  target_file = path_to_the_exam_directory?+i
  if File.exist? target_file
    dataset = File.readlines(target_file)
    dataset = ::Studium.filter_away_invalid_questions(dataset)
    return dataset
  else
    []
  end
end

.return_all_exams_on_this_day(this_day = '02.05.2022') ⇒ Object

#

Studium.return_all_exams_on_this_day

This method will simply return all exams on the given input day.

#


5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5416

def self.return_all_exams_on_this_day(
    this_day = '02.05.2022'
  )
  if this_day.is_a? Array
    this_day = this_day.first
  end
  dataset = main_dataset?
  if dataset.nil?
    dataset = ::Studium.return_sanitized_dataset_from_the_file_lecture_information
    set_main_dataset(dataset)
  end
  # ======================================================================= #
  # First, select only entries that have an exam-entry.
  # ======================================================================= #
  selection = dataset.select {|name_of_the_lecture, inner_hash|
    inner_hash.has_key? 'exams'
  }
  selection = selection.select {|name_of_the_lecture, inner_hash|
    exams = inner_hash['exams']
    exams = remove_leaking_weekdays(exams)
    if exams
      if exams.is_a? Array
        exams.map! {|inner_line|
          inner_line.strip
        }
      end
    end
    if exams
      exams.any? {|entry|
        entry.start_with?(this_day)
      }
    else
      e 'Something strange with the course `'+
         sfancy(name_of_the_lecture)+
         '` - it does not have any registered weekdays.'
      nil
    end
  }
  # ======================================================================= #
  # Work on the dataset next, to return only exam-entries that match
  # to the given input day at hand.
  # ======================================================================= #
  selection
end

.return_all_registered_upcoming_exams(&block) ⇒ Object

#

Studium.return_all_registered_upcoming_exams

This method is recommended to be used if you need to return all upcoming exams.

#


1348
1349
1350
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1348

def self.return_all_registered_upcoming_exams(&block)
  Studium::ShowUpcomingExams.return_all_registered_upcoming_exams(&block)
end

.return_all_URLs_from(i) ⇒ Object

#

Studium.return_all_URLs_from

This method will return an Array of all hyperlinks in the given text. If no result is found then an empty Array will be returned.

#


455
456
457
458
459
460
461
462
463
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 455

def self.return_all_URLs_from(i)
  # ======================================================================= #
  # See: https://rubular.com/r/ZgX1PcTlgir66t
  # ======================================================================= #
  regex_to_use =
    /(https?:\/\/[0-9A-Za-z_.%\/]+)\s?/
  result = i.scan(regex_to_use).flatten
  return result
end

.return_an_array_for_this_exam_topic(i) ⇒ Object

#

Studium.return_an_array_for_this_exam_topic

This is similar to the above method, but it will only return a two-member Array.

#


2801
2802
2803
2804
# File 'lib/studium/exams/question_answer/question_answer.rb', line 2801

def self.return_an_array_for_this_exam_topic(i)
  _ = return_question_answer_and_the_whole_exam_line_as_array(i)
  return [_[0], _[1]]
end

.return_array_for_n_topics_registeredObject

#

Studium.return_array_for_n_topics_registered

This method will simply return an Array holding the numbers for the registered topics at hand.

#


3971
3972
3973
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3971

def self.return_array_for_n_topics_registered
  (1 .. N_TOPICS_REGISTERED).to_a
end

.return_array_location_of_all_registered_curriculaObject

#

Studium.return_array_location_of_all_registered_curricula

This method will return the location to the (local) curricula. On my home system, this means at the least 20 entries (Apr 2018).

An Array will be returned.

#


5249
5250
5251
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5249

def self.return_array_location_of_all_registered_curricula
  ARRAY_ALL_AVAILABLE_CURRICULA
end

.return_boku_logo_imageObject

#

Studium.return_boku_logo_image

#


1826
1827
1828
1829
1830
1831
# File 'lib/studium/constants/constants.rb', line 1826

def self.return_boku_logo_image
  img(
    path_to_the_boku_logo_image?,
    css_style: @use_this_css_style_for_the_logo_images
  )
end

.return_curriculum_of_this_lva_number(i) ⇒ Object

#

Studium.return_curriculum_of_this_lva_number

This method will return the LVA number of a particular curriculum.

Pass in the name of the curriculum.

Invocation example:

Studium.return_curriculum_of_this_lva_number '033521'
#


5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5047

def self.return_curriculum_of_this_lva_number(i)
  # ======================================================================= #
  # First, sanitize strings if they include at the least two newlines:
  # ======================================================================= #
  if i.is_a?(String) and i.count("\n") > 1
    i = i.split("\n").flatten
  end
  dataset = YAML.load_file(Studium.file_curricula)
  _ = {}
  dataset.each_pair {|key, value|
    # key   = Studium.ensure_main_encoding(key)
    # value = Studium.ensure_main_encoding(value)
    # ===================================================================== #
    # Get rid of two words from the key.
    # ===================================================================== #
    _[key.sub(/Bachelorcurriculum /,'').sub(/Mastercurriculum /,'')] = value
  }
  dataset = _ # Re-assign it to our dataset.
  if i.is_a? Array
    i.each {|entry| return_curriculum_of_this_lva_number(entry) }
  else
    # ===================================================================== #
    # Next, we must find the corresponding entries in the curriculum.yml
    # file.
    #
    # The dataset from the curricula.yml file is a hash having
    # key-value entries, with the value being an Array:
    #
    #   (1) first comes the number of the curriculum, as key
    #   (2) the full and complete name of the curriculum, at
    #       hand comes as the first element of the Array
    #   (3) the university at which the lecture is held, comes
    #       as last element of the Array.
    #
    # ===================================================================== #
    if dataset.has_key? i
      name_of_the_curriculum = dataset[i]
      if name_of_the_curriculum.is_a? Array
        name_of_the_curriculum = name_of_the_curriculum.first
      end
      e ::Colours.rev+
        'The name of the curriculum associated with the LVA '\
        'ID '+Studium::Colours.simp(i)+' is '\
        '`'+Studium::Colours.sfancy(name_of_the_curriculum)+'`.'
    else
      e 'The curriculum for '+Studium::Colours.sfancy(i)+' does not '\
        'appear to be registered.'
      e '  '+Studium::Colours.sfile(Studium.file_curricula)
    end
  end
end

.return_dataset_for_this_exam_topic(this_topic) ⇒ Object

#

Studium.return_dataset_for_this_exam_topic

This method will first load the dataset for a given exam topic, such as ‘geologie’; and then it will invoke Studium.filter_away_invalid_questions on the result.

#


678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 678

def self.return_dataset_for_this_exam_topic(this_topic)
  # ======================================================================= #
  # We first have to sanitize the topic, as the input may be faulty or
  # incomplete.
  # ======================================================================= #
  this_topic = Studium.find_corresponding_exam_topic(this_topic)
  target_file = Studium.directory_to_the_exam_topics?+this_topic
  if File.exist? target_file
    dataset = File.readlines(target_file)
    # ===================================================================== #
    # Next we will get rid of invalid exam-questions:
    # ===================================================================== #
    dataset = Studium.filter_away_invalid_questions(dataset)
    dataset
  else
    e "No file exists at `#{target_file}`."
  end
end

.return_dataset_from_the_file_lecture_information(use_this_file = Studium.file_lecture_information) ⇒ Object

#

Studium.return_dataset_from_the_file_lecture_information

This method is different in that it will not do any modification.

#


3989
3990
3991
3992
3993
3994
3995
3996
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3989

def self.return_dataset_from_the_file_lecture_information(
    use_this_file = Studium.file_lecture_information
  )
  if File.exist? use_this_file
    return YAML.load_file(use_this_file) # ← This will have UTF-8 encoding.
  end
  nil
end

.return_dataset_from_this_curriculum_file(i = :default_path) ⇒ Object

#

Studium.return_dataset_from_this_curriculum_file

This method will return the dataset of a curriculum file. This means that it will have all registered lectures already as-is, and return that complete dataset.

The input should be the path to an existing file. Alternatively we will also sanitize a few special symbols given here, such as :default.

#


4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4882

def self.return_dataset_from_this_curriculum_file(
    i = :default_path
  )
  dataset_from_the_file_lecture_information =
    return_sanitized_dataset_from_the_file_lecture_information
  full_dataset = {}
  if i.is_a? Array
    i = i.first
  end
  i = return_file_for_this_curriculum(i)
  unless i.is_a? Array
    i = [i].flatten.compact
  end
  i.each {|file|
    if file and File.exist?(file)
      dataset = File.readlines(file, encoding: ::Studium.encoding?)
      dataset = sanitize_dataset_derived_from_a_curriculum_file(dataset)
      # =================================================================== #
      # Next we'll have to obtain the proper dataset from the main Hash.
      # This may fail, though, so we need to check for that and notify
      # the user as well, in the event that failure will occur.
      # =================================================================== #
      dataset.each {|entry|
        if dataset_from_the_file_lecture_information.has_key? entry
          pointer = dataset_from_the_file_lecture_information[entry]
          full_dataset[entry] = pointer
        end
      }
    else
      e "No file exists at `#{i}`."
    end
  }
  return full_dataset
end

.return_dd_mm_yy_and_time_from(time_object = ::Time.now) ⇒ Object

#

Studium.return_dd_mm_yy_and_time_from

This method will return a String such as “03.11.2018 14:55:49”. It will tap into the method Studium.return_dd_mm_yyyy for this.

Usage example:

Studium.return_dd_mm_yy_and_time_from(Time.now) # => "20.10.2022 10:52:48"
#


3374
3375
3376
3377
3378
3379
3380
3381
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3374

def self.return_dd_mm_yy_and_time_from(
    time_object = ::Time.now
  )
  "#{Studium.return_dd_mm_yyyy(time_object)} "\
  "#{time_object.hour.to_s.rjust(2,'0')}:"\
  "#{time_object.min.to_s.rjust(2,'0')}:"\
  "#{time_object.sec.to_s.rjust(2,'0')}"
end

.return_dd_mm_yyyy(time_object = ::Time.now) ⇒ Object

#

Studium.return_dd_mm_yyyy

This method will return a String such as “05.10.2018” or “03.11.2018”. The format is dd.mm.yyyy.

The input to the method should be a time-object.

#


715
716
717
718
719
720
721
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 715

def self.return_dd_mm_yyyy(
    time_object = ::Time.now
  )
  "#{time_object.day.to_s.rjust(2,'0')}."\
  "#{time_object.month.to_s.rjust(2,'0')}."\
  "#{time_object.year}"
end

.return_directory_for(name_of_the_lecture, which_university = 'uniwien') ⇒ Object

#

Studium.return_directory_for

This method will return a String. This String shall represent the most likely local path to an existing directory belonging to a university lecture.

Typical input to this method would be like:

"875110 Werkstoff- und Materialkunde"
"BOKU"

The second argument denotes the university.

The method will then return a String such as:

"/home/x/studium/BOKU_WIEN/875110_Werkstoff-_und_Materialkunde/"
#


1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1801

def self.return_directory_for(
    name_of_the_lecture,
    which_university = 'uniwien'
  )
  if name_of_the_lecture.is_a? Array
    name_of_the_lecture = name_of_the_lecture.first
  end
  modified_name_of_the_lecture = name_of_the_lecture.tr(' ','_')
  # ======================================================================= #
  # The modified name of the lecture can never include '(' or ')' or
  # ':' and '/' characters. The reason for this is that the name has
  # to correspond to a local directory - and my directories never
  # contain any of the following characters.
  # ======================================================================= #
  modified_name_of_the_lecture.delete!('():/,')
  modified_name_of_the_lecture.chop! if modified_name_of_the_lecture.end_with? '.'
  if modified_name_of_the_lecture.include? '_-_'
    modified_name_of_the_lecture.gsub!(/_-_/,'_')
  end
  modified_name_of_the_lecture.squeeze!('_')
  _ = LOCAL_STUDIUM_DIR.dup # This variable should have a trailing '/' character.
  modified_university_name = which_university.tr(' ','_')
  case modified_university_name # case tag
  when 'TU_Vienna',
       'TU Vienna'
    modified_university_name = 'TU_WIEN'
  when 'BOKU',
       'boku'
    modified_university_name = 'BOKU_WIEN'
  when 'Uni_Wien'
    modified_university_name.upcase!
  end
  _ << modified_university_name
  _ << '/'
  _ << modified_name_of_the_lecture
  _ << '/'
  return _
end

.return_div_timetable_of_upcoming_examsObject

#

Studium.return_div_timetable_of_upcoming_exams

This method can be used to create a timetable <div>, which can then be embedded/displayed into a .html or .cgi page.

Usage example:

x = Studium.return_div_timetable_of_upcoming_exams
#


439
440
441
442
# File 'lib/studium/exams/timetable/timetable.rb', line 439

def self.return_div_timetable_of_upcoming_exams
  '<style>'+CSS_STYLE_TO_USE+'</style>'+
  Studium::Exams::Timetable.new { :do_not_create_a_HTML_page }.raw_result?
end

.return_ects_from_this_lecture_stored_in_the_file_lecture_information(name_of_the_lecture, optional_id_of_the_lecture = nil, partial_or_exact_match = :exact) ⇒ Object

#

Studium.return_ects_from_this_lecture_stored_in_the_file_lecture_information

The first input argument should be the name of the lecture at hand, such as “Programmierpraktikum”.

The second argument is optional, and can be used to specify the lecture-id precisely (the LVA id number). If specified then the method will require a hard match to the given lecture.

The second argument can be either :exact or :partial, with :exact being the default. It means that the right name has to be used in order to return the full dataset; if :partial is used instead, then any partial substring will be used. Thus, :partial allows for slightly more flexibility here.

#


866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 866

def self.return_ects_from_this_lecture_stored_in_the_file_lecture_information(
    name_of_the_lecture,
    optional_id_of_the_lecture = nil,
    partial_or_exact_match     = :exact
  )
  case optional_id_of_the_lecture
  when :default
    optional_id_of_the_lecture = nil # This is the default value.
  end
  if name_of_the_lecture.is_a? Array
    n_ects_points = name_of_the_lecture.map {|entry|
      # =================================================================== #
      # In this case, do a recursive-calling operation.
      # =================================================================== #
      return_ects_from_this_lecture_stored_in_the_file_lecture_information(
        entry,
        optional_id_of_the_lecture,
        partial_or_exact_match 
      )
    }
    if n_ects_points.is_a? Array
      n_ects_points = n_ects_points.sum
    end
    n_ects_points
  else
    n_ects_points = 0 # <- Default value.
    if name_of_the_lecture.end_with? ','
      name_of_the_lecture = name_of_the_lecture.dup if name_of_the_lecture.frozen?
      name_of_the_lecture.chop!
    end
    name_of_the_lecture = name_of_the_lecture.dup if name_of_the_lecture.frozen?
    name_of_the_lecture.squeeze!(' ') # We don't need more than one ' '.
    _ = Studium.file_lecture_information
    if ::Studium.main_dataset?
      dataset = ::Studium.main_dataset?
    else
      if File.exist? _
        dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
      else
        e "No file called #{sfile(_)} exists. Exiting now."
        exit
      end
    end
    pointer_to_dataset = dataset_from_lecture_aliases[name_of_the_lecture]
    if optional_id_of_the_lecture and pointer_to_dataset
      if pointer_to_dataset.has_key?(:new_lva_id) and
         (pointer_to_dataset[:old_lva_id] == optional_id_of_the_lecture)
        # ================================================================= #
        # We must re-write to the new LVA id because the file called
        # "lecture_information.yml" will only store up-to-date entries.
        # ================================================================= #
        optional_id_of_the_lecture = pointer_to_dataset[:new_lva_id]
      end
    end
    # ===================================================================== #
    # We will next try to find a corresponding match - but obviously,
    # no such match may exist, so we need to include this possibility
    # in the following checks as well.
    # ===================================================================== #
    # if optional_id_of_the_lecture
    #   optional_id_of_the_lecture = Studium.ensure_main_encoding(optional_id_of_the_lecture)
    # end
    if optional_id_of_the_lecture
      possible_matches = dataset.select {|key, value|
        # The next step is probably not important anymore, so disabled it
        # as of 17.10.2020.
        # key = Studium.ensure_main_encoding(key)
        # ================================================================= #
        # Next, we must anchor this key to one of the lecture. We have to
        # distinguish between empty LVA-IDs and non-empty variants.
        # ================================================================= #
        if optional_id_of_the_lecture.empty?
          key =~ /^#{Regexp.quote(name_of_the_lecture)}$/
        else
          key =~ /^#{optional_id_of_the_lecture} #{Regexp.quote(name_of_the_lecture)}$/
        end
      }
    else # Ok, no LVA-ID was provided, so we have to try to find a match nonetheless.
      possible_matches = dataset.select {|key, value|
        # ================================================================= #
        # Next, Regexp.quote() may start with a ' ' or not.
        # If it starts with a ' ' then a few lectures may not
        # be found, such as the lecture:
        #   "Modul BIOINF01b Basiswissen Informatik für die Bioinformatik":
        # ================================================================= #
        this_string = Regexp.quote("#{name_of_the_lecture}")
        key =~ /#{this_string}$/ # Anchor it to a regex.
      }
      if possible_matches.empty?
        # ================================================================= #
        # In this case, we will try again with the first character
        # being upcased.
        # ================================================================= #
        name_of_the_lecture = name_of_the_lecture.dup if name_of_the_lecture.frozen?
        name_of_the_lecture[0,1] = name_of_the_lecture[0,1].upcase
        possible_matches = dataset.select {|key, value|
          this_string = Regexp.quote(" #{name_of_the_lecture}")
          key =~ /#{this_string}$/ # Anchor it to a regex.
        }
      end
      if possible_matches.empty? and
         (partial_or_exact_match == :partial)
        # ================================================================= #
        # Next, we can still try a partial match.
        # ================================================================= #
        possible_keys = dataset.keys.select {|key, value|
          regexp = / #{name_of_the_lecture}/i
          key =~ regexp
        }
        possible_matches = dataset.select {|key, value|
          possible_keys.include? key
        }
      end
    end
    unless possible_matches.empty?
      # =================================================================== #
      # Ok, we found a match then.
      # =================================================================== #
      ects_points_of_this_lecture = possible_matches.values.first[:ects]
      n_ects_points += ects_points_of_this_lecture
    end
    return n_ects_points
  end
end

.return_ects_from_this_lva_number(lva_id_number, optional_name_of_the_lecture = nil) ⇒ Object

#

Studium.return_ects_from_this_lva_number

This method will return the amount of ECTS points from the given LVA number at hand, as a Float. This method does not deal with the name of a lecture.

The input argument to this method should be the respective LVA number.

IMPORTANT ===

Note that this only works for already-registered exams, due to
the File.readlines() usage within the method body.

The second optional argument can be the specific name of the lecture at hand. If you can, it is recommended that you always supply the name as well.

Usage example:

Studium.return_ects_from_this_lva_number '330011' # => 6.0
Studium.return_ects_from_this_lva_number '330112'
Studium.return_ects_from_this_lva_number '300132' # => 1.5
Studium.return_ects_from_this_lva_number '300006'
Studium.return_ects_from_this_lva_number '166.210'
Studium.return_ects_from_this_lva_number('300006', name_of_the_lecture)
#


1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1949

def self.return_ects_from_this_lva_number(
    lva_id_number, # This is the lecture LVA number. It is mandatory.
    optional_name_of_the_lecture = nil
  )
  if lva_id_number.is_a? Array # Convert Array into String.
    lva_id_number = lva_id_number.flatten.join(' ')
  end
  lva_id_number = lva_id_number.to_s.strip
  # ======================================================================= #
  # Obtain the sanitized exam-dataset next.
  # ======================================================================= #
  dataset = Studium.return_dataset_from_file_passed_exams_per_month
  # ======================================================================= #
  # First, find the proper match, via a .select() statement. Note that
  # the entry, that is the [7] part, is hardcoded.
  # ======================================================================= #
  selected = dataset.select {|line|
    lecture_id = line.split('|')[7].to_s.strip # This is the lecture ID. 
    lecture_id == lva_id_number
  }
  # ======================================================================= #
  # If the user passed in the (optional) name of the lecture, then
  # we will filter at once.
  # The reason why this exists is that some lectures may have the same
  # lecture ID. In this case, if the user also passed the name of the
  # lecture into this method, then we will only consider to find any
  # match IF it matches the name of the lecture. In order for this to
  # work, your dataset of course must be correct.
  # ======================================================================= # 
  if optional_name_of_the_lecture
    if optional_name_of_the_lecture.frozen?
      optional_name_of_the_lecture = optional_name_of_the_lecture.dup
    end
    # unless optional_name_of_the_lecture.encoding.to_s.include? ::Studium.main_encoding?
    #   # optional_name_of_the_lecture = optional_name_of_the_lecture.force_encoding(
    #   #   ::Studium.main_encoding?
    #   # )
    # end
    if optional_name_of_the_lecture.start_with? 'VO '
      optional_name_of_the_lecture.sub!(/^VO /,'')
    end
    selected.select! {|line|
      line.split('|').last.strip == optional_name_of_the_lecture
    }
  end
  unless selected.empty?
    selected.map! {|line|
      splitted = line.split('|')
      splitted[2].strip.to_f # <- This is the n_ECTS part.
    }
  end
  result = selected.first
  return result
end

.return_hash_of_already_solved_lecturesObject

#

Studium.return_hash_of_already_solved_lectures

This method will return a Hash of all lectures that have already been solved.

#


4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4368

def self.return_hash_of_already_solved_lectures
  if ::Studium.main_dataset?
    dataset = ::Studium.main_dataset? # In this case, re-use the main dataset.
  else # else load up a new dataset
    dataset = ::Studium.return_sanitized_dataset_from_the_file_lecture_information
  end
  # ======================================================================= #
  # Next, select the lectures that were already solved.
  # ======================================================================= #
  dataset.select! {|name_of_the_lecture, inner_dataset|
    already_solved = inner_dataset[:already_solved]
    already_solved == true
  }
  return dataset
end

.return_last_exam_questionObject

#

Studium.return_last_exam_question

#


3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3533

def self.return_last_exam_question
  _ = "#{log_dir?}/studium/last_question_asked.md"
  if File.exist? _
    dataset = File.readlines(_)
    last_entry = dataset.last.to_s.strip
    if last_entry.include? '|'
      last_entry = last_entry.split('|').first.to_s.strip
    end
    last_entry = last_entry.
                 gsub(/<one>/,'').gsub(/<\/one>/,'').
                 gsub(/<two>/,'').gsub(/<\/two>/,'').
                 gsub(/<three>/,'').gsub(/<\/three>/,'').
                 gsub(/<four>/,'').gsub(/<\/four>/,'').
                 gsub(/<five>/,'').gsub(/<\/five>/,'')
    last_entry = Studium.word_wrap(last_entry, 40)
    return last_entry
  else
    ''
  end
end

.return_lectures_belonging_to_this_curriculum(i = :bachelor_vector) ⇒ Object

#

Studium.return_lectures_belonging_to_this_curriculum

Usage example:

i = Studium.return_lectures_belonging_to_this_curriculum(:bachelor_vector)
#


4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4663

def self.return_lectures_belonging_to_this_curriculum(
    i = :bachelor_vector
  )
  if i.is_a? Array
    i = i.first
  end
  if i.is_a? String
    i = i.tr(' ','_').to_sym # We do not allow ' ' characters right now.
  end
  dataset = return_dataset_from_this_curriculum_file(i)
  result = dataset.keys
  return result
end

.return_local_path_of_this_pwdstud(i = 1) ⇒ Object

#

Studium.return_local_path_of_this_pwdstud

The first argument to this method should be a number, usually a small one, starting from 1. This will then be expanded into an entry such as “pwdstud1” or “pwdstud4” and so forth.

These are then checked against a file that is supposed to include these keys. If all works well then the path to a local directory will be returned.

The method will also ensure that a trailing ‘/’ character is to be returned, if a match is found.

Usage examples:

Studium.return_local_path_of_this_pwdstud 1 # => "/home/x/STUDIUM/UNI_WIEN/321025_Einführung_in_pharmazeutisches_Imaging_B13/"
Studium.return_local_path_of_this_pwdstud 3 # => "/home/x/STUDIUM/BOKU_WIEN/803302_Methods_in_ultrastructure_research_in_Eng/"
#


1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 1015

def self.return_local_path_of_this_pwdstud(
    i = 1
  )
  _ = FILE_CD_ALIASES
  i = i.first if i.is_a? Array
  if File.exist? _
    dataset = YAML.load_file(_)
    #key  = ensure_main_encoding("pwdstud#{i}")
    path = dataset[i].sub(/^cd /,'').strip
    path << '/' unless path.end_with? '/' # Require a trailing '/' character.
    return path
  end
  nil
end

.return_location_to_this_exam_topic(i) ⇒ Object

#

Studium.return_location_to_this_exam_topic

This method can be used to return the location to an exam topic.

Usage example:

Studium.return_location_to_this_exam_topic(:toxikologie) # => "/home/x/programming/ruby/src/studium/lib/studium/exam_topics/toxikologie"
#


3827
3828
3829
3830
3831
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3827

def self.return_location_to_this_exam_topic(i)
  i = i.first if i.is_a? Array
  i = ::Studium.find_corresponding_exam_topic(i.to_s)
  return "#{directory_to_the_exam_topics?}#{i}"
end

.return_logo_for_this_university(i = :uniwien) ⇒ Object

#

Studium.return_logo_for_this_university

The logos have to be generated dynamically here, as we will use them via a height and weight setting.

#


1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
# File 'lib/studium/constants/constants.rb', line 1759

def self.return_logo_for_this_university(
    i = :uniwien
  )
  unless @use_this_css_style_for_the_logo_images.include? 'width'
    if @use_this_css_style_for_the_logo_images.frozen?
      @use_this_css_style_for_the_logo_images = @use_this_css_style_for_the_logo_images.dup
    end
    @use_this_css_style_for_the_logo_images << 'width: 65px'
  end
  i = i.to_sym if i.is_a? String # We need a Symbol past this point.
  case i
  # ======================================================================= #
  # === :vetmed
  # ======================================================================= #
  when :Vetmed,
       :vetmed
    return_vetmed_logo_image
  # ======================================================================= #
  # === :boku
  # ======================================================================= #
  when :boku,
       :Boku,
       :BOKU
    return_boku_logo_image
  # ======================================================================= #
  # === :uniwien
  # ======================================================================= #
  when :uniwien,
       :UniWien,
       :'Uni Wien'
    return_university_of_vienna_logo_image
  # ======================================================================= #
  # === :tu
  # ======================================================================= #
  when :tu,
       :tuwien,
       :TUVienna,
       :'TU Vienna'
    return_tu_vienna_logo_image
  else
    i # else return it unmodified.
  end
end

.return_lva_number_of_this_curriculum(i, be_verbose = true) ⇒ Object

#

Studium.return_lva_number_of_this_curriculum

This method will return the LVA number of a particular curriculum.

Pass in the name of the curriculum.

Invocation example:

Studium.return_lva_number_of_this_curriculum 'Lebensmittel- und Biotechnologie'
#


5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5994

def self.return_lva_number_of_this_curriculum(
    i, be_verbose = true
  )
  case be_verbose
  # ======================================================================= #
  # === :be_quiet
  # ======================================================================= #
  when :be_quiet
    be_verbose = false
  end
  # ======================================================================= #
  # First, sanitize strings if they include at the least two newlines:
  # ======================================================================= #
  if i.is_a?(String) and i.count("\n") > 1
    i = i.split("\n").flatten
  end
  dataset = YAML.load_file(Studium.file_curricula)
  reverse_dataset = dataset.invert # Must get rid of two strings.
  _ = {} # Build up a new hash here.
  reverse_dataset.each_pair {|key, value|
    # The following two lines were disabled as of 16.10.2020.
    # key   = Studium.ensure_main_encoding(key)
    # value = Studium.ensure_main_encoding(value)
    # ===================================================================== #
    # Get rid of two words from the key, aka "Bachelorcurriculum" and
    # "Mastercurriculum".
    # ===================================================================== #
    key = key.first if key.is_a? Array
    _[key.sub(/Bachelorcurriculum /,'').sub(/Mastercurriculum /,'')] = value
  }
  reverse_dataset = _ # Re-assign it to our dataset.
  if i.is_a? Array
    i.each {|entry| return_lva_number_of_this_curriculum(entry) }
  else
    # ===================================================================== #
    # Next, we must find the corresponding entries in the curriculum.yml
    # file. This file is not distributed with the studium project,
    # since it is only useful for my own dataset.
    #
    # The file curricula.yml file comes bundled with the studium gem
    # since as of February 2018. The format is a hash having
    # key-value entries:
    #
    #   (1) first the number of the curriculum
    #   (2) the full and complete name of the curriculum, at hand
    #
    # ===================================================================== #
    if reverse_dataset.has_key? i
      if be_verbose
        e 'The curriculum '+Studium::Colours.simp(i)+' corresponds '\
          'to the number `'+
          Studium::Colours.sfancy(reverse_dataset[i])+'`.'
      end
      return reverse_dataset[i]
    else
      if be_verbose
        e 'The curriculum for '+Studium::Colours.sfancy(i)+
          ' does not appear to be registered.'
        e '  '+Studium::Colours.sfile(Studium.file_curricula)
      end
      return nil
    end
  end
end

.return_lva_number_of_this_lecture(this_lecture) ⇒ Object

#

Studium.return_lva_number_of_this_lecture

Easier access-method to find out the LVA number of a given lecture.

It is recommended to use this toplevel-method rather than instantiate a new instance of class Studium::LvaNummer on your own.

Usage example:

Studium.return_lva_number_of_this_lecture("Chromosomenbiologie und Cytogenetik") # => "300150"
#


637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 637

def self.return_lva_number_of_this_lecture(
    this_lecture
  )
  require 'studium/utility_scripts/lva_nummer/lva_nummer.rb'
  if this_lecture.is_a? Array
    if this_lecture.first.count(N) > 3
      this_lecture = this_lecture.first.split(N).flatten
    end
    result = this_lecture.map {|entry|
      return_lva_number_of_this_lecture(entry)
    }
    if block_given? and
       yield == :also_output_the_result_if_the_user_did_input_a_long_string
      this_lecture.each {|lecture|
        e return_lva_number_of_this_lecture(lecture).to_s+' '+
           lecture
      }
      return
    end 
    return result
  else
    lva_nummer = ::Studium::LvaNummer.new(
      this_lecture, :do_not_run_yet
    ) { :do_not_modify_the_xorg_buffer }
    lva_nummer.do_not_report_the_results
    lva_nummer.run
    return lva_nummer.lva_number?
  end
end

.return_lva_number_of_this_lecture_based_on_file_lecture_information(this_lecture = 'Übungen I A - Mikrobiologie und Genetik', optional_use_this_as_lva_id = nil) ⇒ Object

#

Studium.return_lva_number_of_this_lecture_based_on_file_lecture_information

This method will return the LVA number of a lecture.

The goal is to have all useful lectures registered.

As of February 2018, we will also include aliases from the file “lecture_aliases.yml”.

#


573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 573

def self.return_lva_number_of_this_lecture_based_on_file_lecture_information(
    this_lecture                = 'Übungen I A - Mikrobiologie und Genetik',
    optional_use_this_as_lva_id = nil
  )
  if this_lecture.is_a? Array
    this_lecture = this_lecture.first
  end
  # ======================================================================= #
  # Next, we must obtain the dataset that includes the full dataset
  # including aliases.
  # ======================================================================= #
  dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information_including_aliases
  selection = dataset.select {|lva_id_and_name_of_the_lecture, inner_hash|
    # ===================================================================== #
    # The leading ' ' must be there, because lectures may be called like
    # this:
    #   "134.210 Molekulare Biophysik"
    # And the \d{1} is because the LVA id must end with a number. And
    # the end-anchor must also be used because some lectures may
    # include sub-strings of the given input-name.
    # ===================================================================== #
    lva_id_and_name_of_the_lecture =~ /\d{1} #{Regexp.quote(this_lecture)}$/
  }
  if selection.empty?
    e 'No result was found for `'+this_lecture+'`.'
    nil
  else
    key_to_use = selection.keys.first
    lva_number = key_to_use.split(' ').first
    return lva_number
  end
end

.return_meduni_logo_imageObject

#

Studium.return_meduni_logo_image

#


1816
1817
1818
1819
1820
1821
# File 'lib/studium/constants/constants.rb', line 1816

def self.return_meduni_logo_image
  img(
    path_to_the_meduni_logo_image?,
    css_style: @use_this_css_style_for_the_logo_images
  )
end

.return_n_ects_from_this_file(i) ⇒ Object

#

Studium.return_n_ects_from_this_file

This method is mostly an ad-hoc method that can be used to quickly query how many ECTS points are “listed” in a locally existing file.

This functionality was necessary because we may have to quickly calculate how many ECTS points are listed in some file.

#


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# File 'lib/studium/ects/return_n_ects_from_this_file.rb', line 21

def self.return_n_ects_from_this_file(i)
  use_this_regex = /(\d{1,2}\.\d{1}) ECTS/       # See: https://rubular.com/r/PlS0iDrDRMJtnL
  regex_for_n_ECTS = /n ECTS:\s+(\d{1,2}.\d{1})/ # See: https://rubular.com/r/sSSh3KIl0qOBaF
  i = i.first if i.is_a? Array # Disregard all but the first entry.
  if File.exist? i
    dataset = File.readlines(i).reject {|entry| entry.strip.empty? }
    # ===================================================================== #
    # This method must support three variants:
    #
    #   1) a variant that goes like "5.0 ECTS" or something like that
    #   2) a variant that supports "n ECTS:   4.0"
    #   3) a variant that has only numbers, without ECTS
    #
    # ===================================================================== #
    n_ects_points = 0
    first = dataset.first
    if first.include?(' ECTS')
      dataset.select! {|line| line.include? ' ECTS' }
      dataset.each {|line|
        if    (first =~ /\d{1} ECTS/)
          line =~ use_this_regex
        elsif (first =~ /n ECTS:/)
          line =~ regex_for_n_ECTS
        end
        match = $1.to_s.dup.to_f
        n_ects_points += match
      }
    end
    return n_ects_points
  else
    e "No file exists at #{i}."
  end
end

.return_n_ects_from_this_URL(this_url) ⇒ Object

#

Studium.return_n_ects_from_this_URL

This method will simply return the amount of ECTS, as a Float.

It currently works mostly for BOKU lectures.

#


186
187
188
# File 'lib/studium/ects/return_n_ects_from_this_url.rb', line 186

def self.return_n_ects_from_this_URL(this_url)
  ::Studium::ReturnNEctsFromThisUrl.new(this_url).n_ects?
end

.return_n_ects_in_that_module(title_of_the_curriculum, name_of_the_individual_curriculum_module, use_this_dataset = nil) ⇒ Object

#

Studium.return_n_ects_in_that_module

#


2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2283

def self.return_n_ects_in_that_module(
    title_of_the_curriculum,
    name_of_the_individual_curriculum_module,
    use_this_dataset = nil
  )
  ::Studium.query_based_on_curriculum_title_whether_this_module_been_completed(
      title_of_the_curriculum,
      name_of_the_individual_curriculum_module,
      use_this_dataset
    ) {
    :return_n_ects_in_that_module
  }
end

.return_n_ects_in_this_module(name_of_the_curriculum = :default, individual_curriculum_module = 'M19', use_this_dataset = :use_what_is_best) ⇒ Object

#

Studium.return_n_ects_in_this_module

This method will, if all things go well, return the number of ECTS points in a given module of an individual curriculum.

The default is currently for the curriculum called “Bachelorcurriculum Informatik und molekulare Biologie”.

#


20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/studium/curricula/modules/return_n_ects_in_this_module.rb', line 20

def self.return_n_ects_in_this_module(
    name_of_the_curriculum       = :default, # This is 'Bachelorcurriculum Informatik und molekulare Biologie'
    individual_curriculum_module = 'M19',
    use_this_dataset             = :use_what_is_best
  )
  n_ects_in_total = 0.0
  case name_of_the_curriculum
  when :default
    name_of_the_curriculum = 'Bachelorcurriculum Informatik und molekulare Biologie'
  end
  case use_this_dataset
  when :use_what_is_best
    if main_dataset?
      use_this_dataset = main_dataset?
    else
      use_this_dataset = return_sanitized_dataset_from_the_file_lecture_information
    end
  end
  unless individual_curriculum_module.is_a? Array
    individual_curriculum_module = [individual_curriculum_module]
  end
  use_this_dataset.each_pair {|key, inner_hash|
    if inner_hash.has_key? :individual_curricula
      array = inner_hash[:individual_curricula]
      array.each {|most_inner_hash|
        use_this_name_for_the_curriculum = most_inner_hash[:name_of_the_curriculum]
        if use_this_name_for_the_curriculum.is_a? String
          use_this_name_for_the_curriculum.strip!
        end
        if (use_this_name_for_the_curriculum == name_of_the_curriculum.strip) and
           (most_inner_hash[:individual_curriculum_module] == individual_curriculum_module)
          n_ects_in_total += inner_hash[:ects]
        end
      }
    end
  }
  n_ects_in_total
end

.return_n_ects_points_of_this_lecture(name_of_the_lecture, optional_id_of_the_lecture = nil) ⇒ Object

#

Studium.return_n_ects_points_of_this_lecture

This method will return the amount of ECTS points for a given lecture at hand - at the least, it will attempt to determine this.

The first input argument should be the name of the lecture at hand.

The second argument should be the ID of the lecture. This argument is optional though.

Note that for BOKU lectures, this works fairly well but it requires a working www connection.

Specific usage example:

Studium.return_n_ects_points_of_this_lecture('Bioethik und Forschungsethik',300036)
Studium.return_n_ects_points_of_this_lecture('Einführung in die Chemie')
Studium.return_n_ects_points_of_this_lecture('LU Molekulare Biotechnologie')
#


2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2025

def self.return_n_ects_points_of_this_lecture(
    name_of_the_lecture,
    optional_id_of_the_lecture = nil
  )
  n_ects_points = 0 # Set a default, rather than to return nil.
  # ======================================================================= #
  # Make use of aliases here.
  # ======================================================================= #
  dataset_from_the_file_lecture_aliases = YAML.load_file(Studium.file_lecture_aliases)
  # ======================================================================= #
  # First, we need to obtain the lva-id number of the lecture. This
  # may yield the wrong result though, e. g. if you have the same
  # named lecture passed, such as "Biochemie".
  # ======================================================================= #
  lva_number = Studium.return_lva_id_of_this_lecture(name_of_the_lecture)
  if optional_id_of_the_lecture
    optional_id_of_the_lecture = optional_id_of_the_lecture.to_s
    if dataset_from_the_file_lecture_aliases.has_key? name_of_the_lecture
      pointer = dataset_from_the_file_lecture_aliases[name_of_the_lecture]
      if pointer.has_key?(:new_lva_id) and
         (pointer[:old_lva_id] == optional_id_of_the_lecture)
        optional_id_of_the_lecture = pointer[:new_lva_id]
      end
    end
  end
  if name_of_the_lecture.frozen?
    name_of_the_lecture = name_of_the_lecture.dup
  end
  # ======================================================================= #
  # Next, fix the encoding.
  # ======================================================================= #
  # if !name_of_the_lecture.encoding.to_s.include?(::Studium.main_encoding?)
  #   # name_of_the_lecture = ensure_main_encoding(name_of_the_lecture)
  # end
  # The code below used to rename lectures.
  # name_of_the_lecture = Studium::StudiumSolved.consider_renaming_this_lecture_to_its_alias_name(
  #   name_of_the_lecture
  # )
  # ======================================================================= #
  # For exams that were already passed, we can simply obtain their ECTS
  # value from the local file. Easy-peasy.
  # ======================================================================= #
  if Studium.already_passed_this_exam?(name_of_the_lecture, lva_number)
    n_ects_points = ::Studium.return_ects_from_this_lva_number(
      lva_number, name_of_the_lecture
    )
    return n_ects_points
  else
    # ===================================================================== #
    # Else we have to find out the amount of ECTS points.
    #
    # We have to handle different universities differently.
    #
    # For lectures at the BOKU university, we can locate them via the WWW.
    # But actually, there is an even simpler method - for my own lectures,
    # in a registered curriculum, we can simply locate the lecture in
    # the local file, which will also include the information about the
    # amount of ECTS.
    #
    # If it is, however had, really not part of any individual curriculum
    # or anything like that, then we will have to query the amount of
    # ECTS from a remote website.
    # ===================================================================== #
    # First, read all the files but only if they exist:
    # ===================================================================== #
    _ = Studium.return_array_location_of_all_registered_curricula
    # ===================================================================== #
    # Select only those that exist.
    # ===================================================================== #
    dataset = _.select {|entry| File.exist? entry }.map {|entry|
      File.readlines(entry, encoding: ::Studium.main_encoding?)
    }.flatten
    dataset = dataset.reject {|line|
      line = line.to_s.strip
      line.empty? or line.start_with?('#') or (line == "- \n")
    }.select {|line|
      line.start_with? '-'
    }.select {|line|
      line.include? ' ECTS' # Must have ECTS, else it is useless for our case.
    }
    scanned = dataset.select {|line|
      line.include? name_of_the_lecture
    }
    unless scanned.empty?
      use_this_regex = /#\s+(\d{1,2}\.\d{1,2}) ECTS/ # See: http://rubular.com/r/kp5kHRSS52
      scanned = scanned.first.scan(use_this_regex)
      n_ects_points = scanned.flatten.first.to_f
    end
  end
  return n_ects_points
end

.return_n_exam_questions_in_this_topic(i) ⇒ Object

#

Studium.return_n_exam_questions_in_this_topic

#


426
427
428
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 426

def self.return_n_exam_questions_in_this_topic(i)
  ::Studium::Exams.return_n_questions_in_this_topic(i)
end

.return_n_exam_questions_were_already_solvedObject

#

Studium.return_n_exam_questions_were_already_solved

This method will return a number, such as 6330, denoting how many exam-questions were already solved (already answered).

#


382
383
384
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 382

def self.return_n_exam_questions_were_already_solved
  Studium::Exams.return_n_exam_questions_were_already_solved
end

.return_n_percent_solved_from_this_topic(this_topic = 'amg') ⇒ Object

#

Studium.return_n_percent_solved_from_this_topic

Usage examples:

Studium.return_n_percent_solved_from_this_topic('amg1') # => 66.0
Studium.return_n_percent_solved_from_this_topic('aa')   # => 100.0
#


5976
5977
5978
5979
5980
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5976

def self.return_n_percent_solved_from_this_topic(
    this_topic = 'amg'
  )
  ::Studium::Exams.return_n_percent_solved_from_this_topic(this_topic)
end

.return_n_questions_in_this_topic(i) ⇒ Object

#

Studium.return_n_questions_in_this_topic

Usage example:

Studium.return_n_questions_in_this_topic('toxikologie')
#


326
327
328
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 326

def self.return_n_questions_in_this_topic(i)
  ::Studium::Exams.report_nquestions_of(i)
end

.return_n_questions_solved_in_totalObject

#

Studium.return_n_questions_solved_in_total

This convenient method will return a number, which denotes how many questions were already solved in total.

Usage example and associated result:

Studium.return_n_questions_solved_in_total # => 8829
#


352
353
354
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 352

def self.return_n_questions_solved_in_total
  ::Studium::Exams.return_n_questions_solved_in_total
end

.return_n_questions_were_answered_for_this_topic(i) ⇒ Object

#

Studium.return_n_questions_were_answered_for_this_topic

#


6226
6227
6228
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6226

def self.return_n_questions_were_answered_for_this_topic(i)
  ::Studium::Exams.return_n_questions_were_answered_for_this_topic(i)
end

.return_next_exam_date(i) ⇒ Object

#

Studium.return_next_exam_date

This method will try to return the exam date from a given input argument.

#


263
264
265
266
267
268
269
270
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 263

def self.return_next_exam_date(i)
  if i.is_a? Array
    i = i.first
  end
  scanned = i.scan(/\d{2}\.\d{2}\.\d{4}/).flatten
  scanned = scanned.first if scanned.respond_to?(:first)
  return scanned
end

.return_percentage_of_solved_exam_questions_from_this_exam_topic(i) ⇒ Object

#

Studium.return_percentage_of_solved_exam_questions_from_this_exam_topic

This method will return a number from 0 to 100, or nil if the exam topic is not valid.

Usage example:

Studium.return_percentage_of_solved_exam_questions_from_this_exam_topic('the_microbiome')
Studium.return_percentage_of_solved_exam_questions_from_this_exam_topic('amg1')
#


2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2905

def self.return_percentage_of_solved_exam_questions_from_this_exam_topic(i)
  i = find_corresponding_exam_topic(i) # Find the real exam topic first.
  if is_this_exam_topic_available?(i)
    n_exam_questions_in_this_topic          =
      Studium::Exams.return_n_questions_in_this_topic(i)
    n_exam_questions_answered_in_this_topic = 
      Studium::Exams.return_n_questions_answered_in_this_topic(i)
    return (
      (n_exam_questions_answered_in_this_topic.to_f * 100) / n_exam_questions_in_this_topic
    ).round(2)
  else
    nil
  end
end

.return_proper_university_image(i) ⇒ Object

#

Studium.return_proper_university_image (logo tag)

Note that this method has an alias called Studium.return_image(). That alias may be simpler to use, but it can not be ensured that this alias will be retained as-is; it may change at a later point in the future, or it may not change. Either way, the longer method here is the more “stable” name - it will probably be kept for the remainder of this project’s lifecycle.

#


3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3677

def self.return_proper_university_image(i)
  require 'studium/utility_scripts/show_lectures_on_the_commandline/show_lectures_on_the_commandline.rb'
  case i
  # ======================================================================= #
  # === completed
  #
  # This image denotes whether a lecture or a module has been completed.
  # ======================================================================= #
  when :completed
    ::Studium::ShowLecturesOnTheCommandline::IMAGE_FOR_THE_COMPLETED_MODULE
  # ======================================================================= #
  # === Uni Wien
  # ======================================================================= #
  when 'Uni Wien',
       :uniwien
    UNIVERSITY_OF_VIENNA_LOGO_IMAGE
  # ======================================================================= #
  # === :step
  # ======================================================================= #
  when :step,
       :steop_picture
    STEOP_PICTURE
  # ======================================================================= #
  # === Meduni
  # ======================================================================= #
  when 'Meduni',
       :meduni
    MEDUNI_LOGO_IMAGE
  # ======================================================================= #
  # === Uni Graz
  # ======================================================================= #
  when 'Uni Graz',
       :unigraz
    UNIVERSITY_OF_GRAZ_LOGO_IMAGE
  # ======================================================================= #
  # === TU Vienna
  # ======================================================================= #
  when 'TU Vienna',
       :tuvienna
    TU_VIENNA_LOGO_IMAGE
  # ======================================================================= #
  # === BOKU
  # ======================================================================= #
  when 'BOKU',
       :boku
    BOKU_VIENNA_LOGO_IMAGE
  # ======================================================================= #
  # === Vetmed
  # ======================================================================= #
  when 'Vetmed',
       :vetmed
    VETMED_LOGO_IMAGE
  else # else report that this university is not registered.
    "| Unidentified university: #{i} ← please register it"
  end
end

.return_pwdObject

#

Studium.return_pwd

This method will return the sanitize directory name.

#


2925
2926
2927
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2925

def self.return_pwd
  "#{Dir.pwd}/".squeeze('/')
end

.return_question_answer_and_the_whole_exam_line_as_array(topic = 'random_topic', &block) ⇒ Object

#

Studium.return_question_answer_and_the_whole_exam_line_as_array

#


2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
# File 'lib/studium/exams/question_answer/question_answer.rb', line 2832

def self.return_question_answer_and_the_whole_exam_line_as_array(
    topic = 'random_topic',
    &block
  )
  _ = ::Studium::Exams::QuestionAnswer.new(topic, :do_not_run_yet, &block)
  if topic.is_a?(String) and topic.include?('-')
    _.set_exam_question_line_and_then_parse_that_line(topic)
  else
    _.invoke_all_the_necessary_steps_before_the_question_is_asked
  end
  _.disable_colours
  # ========================================================================= #
  # We will return the proper Array next:
  # ========================================================================= #
  [
    _.question?,
    _.answer?.to_s.delete("\n").squeeze(' '),
    _.line?
  ]
end

.return_question_answer_as_array(topic = 'random_topic', &block) ⇒ Object

#

Studium.return_question_answer_as_array

This method will return the question-answer combination, as an Array.

It will not make use of any colours; the reason for this is because when this method was added as of the 13.04.2019, it was to be used primarily on the www.

If the input is a String and contains ‘- ’ then we assume that we do NOT want to find a specific topic. Instead we will use the given input as exam-question + exam-answer as such.

Invocation examples:

x = Studium.return_question_answer_as_array('amg1')
x = Studium.return_question_answer_as_array('biotech1')
x = Studium.return_question_answer_as_array(:biotech2)
x = Studium.return_question_answer_as_array('- In Ruby: <one>Bundler</one> likes ... ? Gemfile.lock.')
#


2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
# File 'lib/studium/exams/question_answer/question_answer.rb', line 2874

def self.return_question_answer_as_array(
    topic = 'random_topic',
    &block
  )
  _ = ::Studium::Exams::QuestionAnswer.new(topic, :do_not_run_yet, &block)
  if topic.is_a?(String) and topic.include?('-')
pp _
_.set_exam_question_line_and_then_parse_that_line(topic)
 
  else
    _.invoke_all_the_necessary_steps_before_the_question_is_asked
  end
  _.disable_colours
  # ========================================================================= #
  # We will return the proper Array next:
  # ========================================================================= #
  [
    _.question?,
    _.answer?.to_s.delete("\n").squeeze(' ')
  ]
end

.return_question_answer_string_from_this_topic(this_topic = :amg1) ⇒ Object

#

Studium.return_question_answer_string_from_this_topic

This method will return a question-answer string from a particular topic. It will also remove all tags in that String, before it is returned.

#


3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3827

def self.return_question_answer_string_from_this_topic(
    this_topic = :amg1
  )
  this_topic = this_topic.first if this_topic.is_a? Array
  if this_topic and this_topic.empty?
    this_topic = :random # Get a random topic in this case.
  end
  # ======================================================================= #
  # First we must sanitize the given input-topic:
  # ======================================================================= #
  this_topic = Studium.sanitize_this_potential_exam_topic(this_topic)
  result = nil
  # ======================================================================= #
  # Next get the location of the file:
  # ======================================================================= #
  target = Studium.directory_to_the_exam_topics?+this_topic
  if File.exist? target
    dataset = File.readlines(target).reject {|line|
      line.strip.end_with? '[]'
    }
    dataset = Studium.filter_away_invalid_questions(dataset)
    if dataset
      sample = dataset.sample
      result = remove_html_tags_from(sample.strip) # Remove the HTML tags here.
    end
  end
  result
end

.return_random_curriculumObject

#

Studium.return_random_curriculum

This method will return a random curriculum.

#


4682
4683
4684
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4682

def self.return_random_curriculum
  ARRAY_REGISTERED_CURRICULA_FILES.sample
end

.return_registered_standalone_curriculaObject

#

Studium.return_registered_standalone_curricula

We will remove the bachelor-master vektor curriculum from the Array that is returned by this method, mostly because it is an aggregated curriculum, rather than a single standalone one.

#


830
831
832
# File 'lib/studium/constants/constants.rb', line 830

def self.return_registered_standalone_curricula
  ARRAY_REGISTERED_CURRICULA - [:bachelor_master_vektoren]
end

.return_remote_homepage_of_this_lecture(i) ⇒ Object

#

Studium.return_remote_homepage_of_this_lecture

This method will take a given input, as String, and then return a corresponding remote URL. If the input is not registered then this method will return the original input String.

#


16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
# File 'lib/studium/toplevel_methods/return_remote_homepage_of_this_lecture.rb', line 16

def self.return_remote_homepage_of_this_lecture(i)
  case i # case tag
  # ======================================================================= #
  # === rf "104.265 Algebra und Diskrete Mathematik für Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^104\.?265(-|_| )?Algebra(-|_| )?und(-|_| )?Diskrete(-|_| )?Mathematik(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Algebra(-|_| )?und(-|_| )?Diskrete(-|_| )?Mathematik(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8243&dsrid=784&courseNr=104265&semester=2023S"
  # ======================================================================= #
  # === rf "185.A92 Einführung in die Programmierung 2"
  # ======================================================================= #
  when /^185\.?A92(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?2$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7698&dsrid=799&courseNr=185A92&semester=2024S"
  # ======================================================================= #
  # === rf "184.686 Datenbanksysteme"
  # ======================================================================= #
  when /^184\.?686(-|_| )?Datenbanksysteme$/i,
       /^Datenbanksysteme$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9432&dsrid=516&courseNr=184686&semester=2024S"
  # ======================================================================= #
  # === rf "134.232 Mammalian Cell Culture"
  # ======================================================================= #
  when /^134\.?232(-|_| )?Mammalian(-|_| )?Cell(-|_| )?Culture$/i,
       /^Mammalian(-|_| )?Cell(-|_| )?Culture$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1830&dsrid=28&courseNr=134232&semester=2024S"
  # ======================================================================= #
  # === rf "163.189 Chemische Grundlagen für Umweltingenieurwesen"
  # ======================================================================= #
  when /^163\.?189(-|_| )?Chemische(-|_| )?Grundlagen(-|_| )?für(-|_| )?Umweltingenieurwesen$/i,
       /^Chemische(-|_| )?Grundlagen(-|_| )?für(-|_| )?Umweltingenieurwesen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8602&dsrid=424&courseNr=163189&semester=2023W"
  # ======================================================================= #
  # === rf "194.164 Advanced Topics in Recommender Systems and Generative AI"
  # ======================================================================= #
  when /^194\.?164(-|_| )?Advanced(-|_| )?Topics(-|_| )?in(-|_| )?Recommender(-|_| )?Systems(-|_| )?and(-|_| )?Generative(-|_| )?AI$/i,
       /^Advanced(-|_| )?Topics(-|_| )?in(-|_| )?Recommender(-|_| )?Systems(-|_| )?and(-|_| )?Generative(-|_| )?AI$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=7694&dsrid=77&courseNr=194164&semester=2024S"
  # ======================================================================= #
  # === rf "104.263 Algebra und Diskrete Mathematik für Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^104\.?263(-|_| )?Algebra(-|_| )?und(-|_| )?Diskrete(-|_| )?Mathematik(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Algebra(-|_| )?und(-|_| )?Diskrete(-|_| )?Mathematik(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8070&dsrid=709&courseNr=104263&semester=2024S"
  # ======================================================================= #
  # === rf "166.218 Grundlagen der Stammzelltechnologie"
  # ======================================================================= #
  when /^166\.?218(-|_| )?Grundlagen(-|_| )?der(-|_| )?Stammzelltechnologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Stammzelltechnologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7793&dsrid=731&courseNr=166218&semester=2024S"
  # ======================================================================= #
  # === rf "101.275 Einführung in das Programmieren für Technische Mathematik"
  # ======================================================================= #
  when /^101\.?275(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Programmieren(-|_| )?für(-|_| )?Technische(-|_| )?Mathematik$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?Programmieren(-|_| )?für(-|_| )?Technische(-|_| )?Mathematik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6489&dsrid=707&courseNr=101275&semester=2024S"
  # ======================================================================= #
  # === rf "101.463 Computermathematik"
  # ======================================================================= #
  when /^101\.?463(-|_| )?Computermathematik$/i,
       /^Computermathematik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7856&dsrid=826&courseNr=101463&semester=2024S"
  # ======================================================================= #
  # === rf "164.303 Probenvorbereitung und Grundkonzepte in der Bioanalytik"
  # ======================================================================= #
  when /^164\.?303(-|_| )?Probenvorbereitung(-|_| )?und(-|_| )?Grundkonzepte(-|_| )?in(-|_| )?der(-|_| )?Bioanalytik$/i,
       /^Probenvorbereitung(-|_| )?und(-|_| )?Grundkonzepte(-|_| )?in(-|_| )?der(-|_| )?Bioanalytik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?courseNr=164303&semester=2023W"
  # ======================================================================= #
  # === rf "060.015 Grundlagen wissenschaftlichen Arbeitens"
  # ======================================================================= #
  when /^060\.?015(-|_| )?Grundlagen(-|_| )?wissenschaftlichen(-|_| )?Arbeitens$/i,
       /^Grundlagen(-|_| )?wissenschaftlichen(-|_| )?Arbeitens$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9869&dsrid=942&courseNr=060015&semester=2023W"
  # ======================================================================= #
  # === rf "142.090 Statistik"
  # ======================================================================= #
  when /^142\.?090(-|_| )?Statistik$/i,
       /^Statistik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1721&dsrid=790&courseNr=142090&semester=2024S"
  # ======================================================================= #
  # === rf "222.585 Umweltwissenschaft und Gesellschaft"
  # ======================================================================= #
  when /^222\.?585(-|_| )?Umweltwissenschaft(-|_| )?und(-|_| )?Gesellschaft$/i,
       /^Umweltwissenschaft(-|_| )?und(-|_| )?Gesellschaft$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3017&dsrid=527&courseNr=222585&semester=2024S"
  # ======================================================================= #
  # === rf "105.704 Grundlagen der Makroökonomie"
  # ======================================================================= #
  when /^105\.?704(-|_| )?Grundlagen(-|_| )?der(-|_| )?Makroökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Makroökonomie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7347&dsrid=60&courseNr=105704&semester=2023W"
  # ======================================================================= #
  # === rf "163.107 Anorganische Chemie für VT"
  # ======================================================================= #
  when /^163\.?107(-|_| )?Anorganische(-|_| )?Chemie(-|_| )?für(-|_| )?VT$/i,
       /^Anorganische(-|_| )?Chemie(-|_| )?für(-|_| )?VT$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8441&dsrid=431&courseNr=163107&semester=2023W"
  # ======================================================================= #
  # === rf "034.003 Technik und Gender, Grundlagenvorlesung für IngenieurwissenschafterInnen"
  # ======================================================================= #
  when /^034\.?003(-|_| )?Technik(-|_| )?und(-|_| )?Gender,?(-|_| )?Grundlagenvorlesung(-|_| )?für(-|_| )?IngenieurwissenschafterInnen$/i,
       /^Technik(-|_| )?und(-|_| )?Gender,?(-|_| )?Grundlagenvorlesung(-|_| )?für(-|_| )?IngenieurwissenschafterInnen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5395&dsrid=665&courseNr=034003&semester=2024S"
  # ======================================================================= #
  # === rf "104.261 Analysis für Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^104\.?261(-|_| )?Analysis(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Analysis(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4687&dsrid=47&courseNr=104261&semester=2023S"
  # ======================================================================= #
  # === rf "034.013 Science-Technology-Society (STS)"
  # ======================================================================= #
  when /^034\.?013(-|_| )?Science(-|_)?Technology(-|_)?Society(-|_| )?\(?STS\)?$/i,
       /^Science(-|_)?Technology(-|_)?Society(-|_| )?\(?STS\)?$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4146&dsrid=160&courseNr=034013&semester=2023W"
  # ======================================================================= #
  # === rf "195.072 Current Trends in Computer Science"
  # ======================================================================= #
  when /^195\.?072(-|_| )?Current(-|_| )?Trends(-|_| )?in(-|_| )?Computer(-|_| )?Science$/i,
       /^Current(-|_| )?Trends(-|_| )?in(-|_| )?Computer(-|_| )?Science$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=3208&dsrid=3&courseNr=195072&semester=2024S"
  # ======================================================================= #
  # === rf "185.A06 Formale Modellierung"
  # ======================================================================= #
  when /^185\.?A06(-|_| )?Formale(-|_| )?Modellierung$/i,
       /^Formale(-|_| )?Modellierung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5700&dsrid=541&courseNr=185A06&semester=2024S"
  # ======================================================================= #
  # === rf "034.011 Männlichkeiten und Technologien: Relationen, Ambivalenzen, Implikationen"
  # ======================================================================= #
  when /^034\.?011(-|_| )?Männlichkeiten(-|_| )?und(-|_| )?Technologien:(-|_| )?Relationen,?(-|_| )?Ambivalenzen,?(-|_| )?Implikationen$/i,
       /^Männlichkeiten(-|_| )?und(-|_| )?Technologien:(-|_| )?Relationen,?(-|_| )?Ambivalenzen,?(-|_| )?Implikationen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3217&dsrid=823&courseNr=034011&semester=2023W"
  # ======================================================================= #
  # === rf "194.154 Generative AI"
  # ======================================================================= #
  when /^194\.?154(-|_| )?Generative(-|_| )?AI$/i,
       /^Generative(-|_| )?AI$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2662&dsrid=68&courseNr=194154&semester=2023W"
  # ======================================================================= #
  # === rf "194.123 Programmieren in Python"
  # ======================================================================= #
  when /^194\.?123(-|_| )?Programmieren(-|_| )?in(-|_| )?Python$/i,
       /^Programmieren(-|_| )?in(-|_| )?Python$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7102&dsrid=330&courseNr=194123&semester=2023W"
  # ======================================================================= #
  # === rf "166.686 Einführung in die Verfahrenstechnik - Prolog"
  # ======================================================================= #
  when /^166\.?686(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Verfahrenstechnik(-|_| )?(-|_)?(-|_| )?Prolog$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Verfahrenstechnik(-|_| )?(-|_)?(-|_| )?Prolog$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5993&dsrid=694&courseNr=166686&semester=2023W"
  # ======================================================================= #
  # === rf "192.134 Grundzüge digitaler Systeme"
  # ======================================================================= #
  when /^192\.?134(-|_| )?Grundzüge(-|_| )?digitaler(-|_| )?Systeme$/i,
       /^Grundzüge(-|_| )?digitaler(-|_| )?Systeme$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9605&dsrid=419&courseNr=192134&semester=2023W"
  # ======================================================================= #
  # === rf "259.344 Design for All"
  # ======================================================================= #
  when /^259\.?344(-|_| )?Design(-|_| )?for(-|_| )?All$/i,
       /^Design(-|_| )?for(-|_| )?All$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=1630&dsrid=462&courseNr=259344&semester=2023S"
  # ======================================================================= #
  # === rf "166.603 Bioverfahrenstechnik"
  # ======================================================================= #
  when /^166\.?603(-|_| )?Bioverfahrenstechnik$/i,
       /^Bioverfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2742&dsrid=291&courseNr=166603&semester=2023S"
  # ======================================================================= #
  # === rf "060.023 Diversity Skills (English)"
  # ======================================================================= #
  when /^060\.?023(-|_| )?Diversity(-|_| )?Skills(-|_| )?\(?English\)?$/i,
       /^Diversity(-|_| )?Skills(-|_| )?\(?English\)?$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4783&dsrid=423&courseNr=060023&semester=2023S"
  # ======================================================================= #
  # === rf "060.022 Diversity Skills (Deutsch)"
  # ======================================================================= #
  when /^060\.?022(-|_| )?Diversity(-|_| )?Skills(-|_| )?\(?Deutsch\)?$/i,
       /^Diversity(-|_| )?Skills(-|_| )?\(?Deutsch\)?$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5881&dsrid=312&courseNr=060022&semester=2023S"
  # ======================================================================= #
  # === rf "363.008 Biomedical Sensors and Signals"
  # ======================================================================= #
  when /^363\.?008(-|_| )?Biomedical(-|_| )?Sensors(-|_| )?and(-|_| )?Signals$/i,
       /^Biomedical(-|_| )?Sensors(-|_| )?and(-|_| )?Signals$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7519&dsrid=228&courseNr=363008&semester=2023W"
  # ======================================================================= #
  # === rf "134.232 Grundlagen der Zellkultur"
  # ======================================================================= #
  when /^134\.?232(-|_| )?Grundlagen(-|_| )?der(-|_| )?Zellkultur$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Zellkultur$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1830&dsrid=28&courseNr=134232&semester=2024S"
  # ======================================================================= #
  # === rf "034.015 Einführung ins Diversitätsmanagement"
  # ======================================================================= #
  when /^034\.?015(-|_| )?Einführung(-|_| )?ins(-|_| )?Diversitätsmanagement$/i,
       /^Einführung(-|_| )?ins(-|_| )?Diversitätsmanagement$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3448&dsrid=24&courseNr=034015&semester=2023W"
  # ======================================================================= #
  # === rf "164.225 Ökologie und nachhaltige Entwicklung"
  # ======================================================================= #
  when /^164\.?225(-|_| )?Ökologie(-|_| )?und(-|_| )?nachhaltige(-|_| )?Entwicklung$/i,
       /^Ökologie(-|_| )?und(-|_| )?nachhaltige(-|_| )?Entwicklung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9878&dsrid=918&courseNr=164225&semester=2024S"
  # ======================================================================= #
  # === rf "226.065 Bodenkunde"
  # ======================================================================= #
  when /^226\.?065(-|_| )?Bodenkunde$/i,
       /^Bodenkunde$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4348&dsrid=741&courseNr=226065&semester=2023S"
  # ======================================================================= #
  # === rf "308.119 Biomaterials"
  # ======================================================================= #
  when /^308\.?119(-|_| )?Biomaterials$/i,
       /^Biomaterials$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9342&dsrid=76&courseNr=308119&semester=2024S"
  # ======================================================================= #
  # === rf "166.202 Introduction to Biomaterials and Tissue Engineering"
  # ======================================================================= #
  when /^166\.?202(-|_| )?Introduction(-|_| )?to(-|_| )?Biomaterials(-|_| )?and(-|_| )?Tissue(-|_| )?Engineering$/i,
       /^Introduction(-|_| )?to(-|_| )?Biomaterials(-|_| )?and(-|_| )?Tissue(-|_| )?Engineering$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8025&dsrid=736&courseNr=166202&semester=2023S"
  # ======================================================================= #
  # === rf "188.391 Objektorientierte Modellierung"
  # ======================================================================= #
  when /^188\.?391(-|_| )?Objektorientierte(-|_| )?Modellierung$/i,
       /^Objektorientierte(-|_| )?Modellierung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6511&dsrid=623&courseNr=188391&semester=2023S"
  # ======================================================================= #
  # === rf "259.446 Science and the quest for knowledge"
  # ======================================================================= #
  when /^259\.?446(-|_| )?Science(-|_| )?and(-|_| )?the(-|_| )?quest(-|_| )?for(-|_| )?knowledge$/i,
       /^Science(-|_| )?and(-|_| )?the(-|_| )?quest(-|_| )?for(-|_| )?knowledge$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=4616&dsrid=245&courseNr=259446&semester=2022W"
  # ======================================================================= #
  # === rf "360.258 Objektorientiertes Programmieren in Java"
  # ======================================================================= #
  when /^360\.?258(-|_| )?Objektorientiertes(-|_| )?Programmieren(-|_| )?in(-|_| )?Java$/i,
       /^Objektorientiertes(-|_| )?Programmieren(-|_| )?in(-|_| )?Java$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9387&dsrid=370&courseNr=360258&semester=2023S"
  # ======================================================================= #
  # === rf "363.005 Projektmanagement"
  # ======================================================================= #
  when /^363\.?005(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8200&dsrid=872&courseNr=363005&semester=2024S"
  # ======================================================================= #
  # === rf "354.040 Projektmanagement"
  # ======================================================================= #
  when /^354\.?040(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2181&dsrid=507&courseNr=354040&semester=2022S"
  # ======================================================================= #
  # === rf "182.711 Betriebssysteme"
  # ======================================================================= #
  when /^182\.?711(-|_| )?Betriebssysteme$/i,
       /^Betriebssysteme$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2649&dsrid=612&courseNr=182711&semester=2022W"
  # ======================================================================= #
  # === rf "173.026 Autoimmunologie"
  # ======================================================================= #
  when /^173\.?026(-|_| )?Autoimmunologie$/i,
       /^Autoimmunologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?windowId=f54&courseNr=173026&semester=2013S"
  # ======================================================================= #
  # === rf "186.822 Einführung in Visual Computing"
  # ======================================================================= #
  when /^186\.?822(-|_| )?Einführung(-|_| )?in(-|_| )?Visual(-|_| )?Computing$/i,
       /^Einführung(-|_| )?in(-|_| )?Visual(-|_| )?Computing$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9179&dsrid=272&courseNr=186822&semester=2023S"
  # ======================================================================= #
  # === rf "120.113 Python-Programmierung für Geowissenschaften"
  # ======================================================================= #
  when /^120\.?113(-|_| )?Python(-|_)?Programmierung(-|_| )?für(-|_| )?Geowissenschaften$/i,
       /^Python(-|_)?Programmierung(-|_| )?für(-|_| )?Geowissenschaften$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9228&dsrid=17&courseNr=120113&semester=2023S"
  # ======================================================================= #
  # === rf "360.016 Programmieren 1"
  # ======================================================================= #
  when /^360\.?016(-|_| )?Programmieren(-|_| )?1$/i,
       /^Programmieren(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8085&dsrid=535&courseNr=360016&semester=2023S"
  # ======================================================================= #
  # === rf "186.866 Algorithmen und Datenstrukturen"
  # ======================================================================= #
  when /^186\.?866(-|_| )?Algorithmen(-|_| )?und(-|_| )?Datenstrukturen$/i,
       /^Algorithmen(-|_| )?und(-|_| )?Datenstrukturen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4653&dsrid=55&courseNr=186866&semester=2023S"
  # ======================================================================= #
  # === rf "163.183 Grundlagen der Chemie für VT"
  # ======================================================================= #
  when /^163\.?183(-|_| )?Grundlagen(-|_| )?der(-|_| )?Chemie(-|_| )?für(-|_| )?VT$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Chemie(-|_| )?für(-|_| )?VT$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?courseNr=163183&semester=2023S"
  # ======================================================================= #
  # === rf "166.713 Immunologie für Chemiker_innen"
  # ======================================================================= #
  when /^166\.?713(-|_| )?Immunologie(-|_| )?für(-|_| )?Chemiker_innen$/i,
       /^Immunologie(-|_| )?für(-|_| )?Chemiker_innen$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=1330&dsrid=354&courseNr=166713&semester=2024S"
  # ======================================================================= #
  # === rf "163.144 Anorganische Molekularchemie"
  # ======================================================================= #
  when /^163\.?144(-|_| )?Anorganische(-|_| )?Molekularchemie$/i,
       /^Anorganische(-|_| )?Molekularchemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9697&dsrid=151&courseNr=163144&semester=2023S"
  # ======================================================================= #
  # === rf "166.708 Umweltmikrobiologie"
  # ======================================================================= #
  when /^166\.?708(-|_| )?Umweltmikrobiologie$/i,
       /^Umweltmikrobiologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3777&dsrid=655&courseNr=166708&semester=2023S"
  # ======================================================================= #
  # === rf "163.188 Chemische Biologie"
  # ======================================================================= #
  when /^163\.?188(-|_| )?Chemische(-|_| )?Biologie$/i,
       /^Chemische(-|_| )?Biologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9887&dsrid=862&courseNr=163188&semester=2024S"
  # ======================================================================= #
  # === rf "185.A91 Einführung in die Programmierung 1"
  # ======================================================================= #
  when /^185\.?A91(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?1$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1791&dsrid=476&courseNr=185A91&semester=2023W"
  # ======================================================================= #
  # === rf "362.181 Wissenschaftliches Programmieren in Python"
  # ======================================================================= #
  when /^362\.?181(-|_| )?Wissenschaftliches(-|_| )?Programmieren(-|_| )?in(-|_| )?Python$/i,
       /^Wissenschaftliches(-|_| )?Programmieren(-|_| )?in(-|_| )?Python$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2386&dsrid=837&courseNr=362181&semester=2022W"
  # ======================================================================= #
  # === rf "362.153 Wissenschaftliches Programmieren in Python"
  # ======================================================================= #
  when /^362\.?153(-|_| )?Wissenschaftliches(-|_| )?Programmieren(-|_| )?in(-|_| )?Python$/i,
       /^Wissenschaftliches(-|_| )?Programmieren(-|_| )?in(-|_| )?Python$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6360&dsrid=687&courseNr=362153&semester=2022W"
  # ======================================================================= #
  # === rf "163.191 Chemische Übungen für TPH"
  # ======================================================================= #
  when /^163\.?191(-|_| )?Chemische(-|_| )?Übungen(-|_| )?für(-|_| )?TPH$/i,
       /^Chemische(-|_| )?Übungen(-|_| )?für(-|_| )?TPH$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7833&dsrid=112&courseNr=163191&semester=2021S"
  # ======================================================================= #
  # === rf "384.061 Objektorientiertes Programmieren"
  # ======================================================================= #
  when /^384\.?061(-|_| )?Objektorientiertes(-|_| )?Programmieren$/i,
       /^Objektorientiertes(-|_| )?Programmieren$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9971&dsrid=269&courseNr=384061&semester=2022S"
  # ======================================================================= #
  # === rf "105.679 Programmieren mit MATLAB"
  # ======================================================================= #
  when /^105\.?679(-|_| )?Programmieren(-|_| )?mit(-|_| )?MATLAB$/i,
       /^Programmieren(-|_| )?mit(-|_| )?MATLAB$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4332&dsrid=538&courseNr=105679&semester=2023S"
  # ======================================================================= #
  # === rf "184.737 Einführung in wissensbasierte Systeme"
  # ======================================================================= #
  when /^184\.?737(-|_| )?Einführung(-|_| )?in(-|_| )?wissensbasierte(-|_| )?Systeme$/i,
       /^Einführung(-|_| )?in(-|_| )?wissensbasierte(-|_| )?Systeme$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2182&dsrid=553&courseNr=184737&semester=2022W"
  # ======================================================================= #
  # === rf "387.026 Photonik 1"
  # ======================================================================= #
  when /^387\.?026(-|_| )?Photonik(-|_| )?1$/i,
       /^Photonik(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8150&dsrid=588&courseNr=387026&semester=2019W"
  # ======================================================================= #
  # === rf "352.002 Technisches Programmieren in C++"
  # ======================================================================= #
  when /^352\.?002(-|_| )?Technisches(-|_| )?Programmieren(-|_| )?in(-|_| )?C++$/i,
       /^Technisches(-|_| )?Programmieren(-|_| )?in(-|_| )?C++$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3747&dsrid=793&courseNr=352002&semester=2020S"
  # ======================================================================= #
  # === rf "163.180 Rapid prototyping and polymeric microfabrication - from a digital design to a functional microdevice"
  # ======================================================================= #
  when /^163\.?180(-|_| )?Rapid(-|_| )?prototyping(-|_| )?and(-|_| )?polymeric(-|_| )?microfabrication(-|_| )?(-|_)?(-|_| )?from(-|_| )?a(-|_| )?digital(-|_| )?design(-|_| )?to(-|_| )?a(-|_| )?functional(-|_| )?microdevice$/i,
       /^Rapid(-|_| )?prototyping(-|_| )?and(-|_| )?polymeric(-|_| )?microfabrication(-|_| )?(-|_)?(-|_| )?from(-|_| )?a(-|_| )?digital(-|_| )?design(-|_| )?to(-|_| )?a(-|_| )?functional(-|_| )?microdevice$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3624&dsrid=957&courseNr=163180&semester=2023S"
  # ======================================================================= #
  # === rf "104.262 Analysis für Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^104\.?262(-|_| )?Analysis(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Analysis(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7109&dsrid=597&courseNr=104262&semester=2024S"
  # ======================================================================= #
  # === rf "163.192 Protein engineering Lab"
  # ======================================================================= #
  when /^163\.?192(-|_| )?Protein(-|_| )?engineering(-|_| )?Lab$/i,
       /^Protein(-|_| )?engineering(-|_| )?Lab$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7341&dsrid=869&courseNr=163192&semester=2020S"
  # ======================================================================= #
  # === rf "166.605 Biopharmazeutische Prozesstechnologie"
  # ======================================================================= #
  when /^166\.?605(-|_| )?Biopharmazeutische(-|_| )?Prozesstechnologie$/i,
       /^Biopharmazeutische(-|_| )?Prozesstechnologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7987&dsrid=37&courseNr=166605&semester=2024S"
  # ======================================================================= #
  # === rf "104.299 Mathematik 2 für MB, WIMB und VT"
  # ======================================================================= #
  when /^104\.?299(-|_| )?Mathematik(-|_| )?2(-|_| )?für(-|_| )?MB,?(-|_| )?WIMB(-|_| )?und(-|_| )?VT$/i,
       /^Mathematik(-|_| )?2(-|_| )?für(-|_| )?MB,?(-|_| )?WIMB(-|_| )?und(-|_| )?VT$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?courseNr=104299&semester=2023S&dswid=2397&dsrid=834"
  # ======================================================================= #
  # === rf "384.174 Mikrocomputer für Informatiker_innen"
  # ======================================================================= #
  when /^384\.?174(-|_| )?Mikrocomputer(-|_| )?für(-|_| )?Informatiker_innen$/i,
       /^Mikrocomputer(-|_| )?für(-|_| )?Informatiker_innen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8822&dsrid=321&courseNr=384174&semester=2023S"
  # ======================================================================= #
  # === rf "184.700 Deklaratives Problemlösen"
  # ======================================================================= #
  when /^184\.?700(-|_| )?Deklaratives(-|_| )?Problemlösen$/i,
       /^Deklaratives(-|_| )?Problemlösen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?courseNr=184700&semester=2022W"
  # ======================================================================= #
  # === rf "185.A07 Grundzüge der Informatik für Vermessung und Geoinformation"
  # ======================================================================= #
  when /^185\.?A07(-|_| )?Grundzüge(-|_| )?der(-|_| )?Informatik(-|_| )?für(-|_| )?Vermessung(-|_| )?und(-|_| )?Geoinformation$/i,
       /^Grundzüge(-|_| )?der(-|_| )?Informatik(-|_| )?für(-|_| )?Vermessung(-|_| )?und(-|_| )?Geoinformation$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9544&dsrid=839&courseNr=185A07&semester=2023W"
  # ======================================================================= #
  # === rf "163.162 Chemie-Propädeutikum"
  # ======================================================================= #
  when /^163\.?162(-|_| )?Chemie(-|_)?Propädeutikum$/i,
       /^Chemie(-|_)?Propädeutikum$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5742&dsrid=605&courseNr=163162&semester=2023W"
  # ======================================================================= #
  # === rf "107.369 Statistik und Wahrscheinlichkeitstheorie"
  # ======================================================================= #
  when /^107\.?369(-|_| )?Statistik(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie$/i,
       /^Statistik(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1067&dsrid=557&courseNr=107369"
  # ======================================================================= #
  # === rf "107.273 Statistik und Wahrscheinlichkeitstheorie"
  # ======================================================================= #
  when /^107\.?273(-|_| )?Statistik(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie$/i,
       /^Statistik(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9820&dsrid=91&courseNr=107273&semester=2023S"
  # ======================================================================= #
  # === rf "107.254 Statistik und Wahrscheinlichkeitstheorie"
  # ======================================================================= #
  when /^107\.?254(-|_| )?Statistik(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie$/i,
       /^Statistik(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1652&dsrid=165&courseNr=107254&semester=2022W"
  # ======================================================================= #
  # === rf "186.840 Einführung in die Mustererkennung"
  # ======================================================================= #
  when /^186\.?840(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Mustererkennung$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Mustererkennung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9250&dsrid=90&courseNr=186840&semester=2021W"
  # ======================================================================= #
  # === rf "164.287 European Union - Institutions, Policies and Future Challenges"
  # ======================================================================= #
  when /^164\.?287(-|_| )?European(-|_| )?Union(-|_| )?(-|_)?(-|_| )?Institutions,?(-|_| )?Policies(-|_| )?and(-|_| )?Future(-|_| )?Challenges$/i,
       /^European(-|_| )?Union(-|_| )?(-|_)?(-|_| )?Institutions,?(-|_| )?Policies(-|_| )?and(-|_| )?Future(-|_| )?Challenges$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3132&dsrid=3&courseNr=164287&semester=2022W"
  # ======================================================================= #
  # === rf "184.701 Deklaratives Problemlösen"
  # ======================================================================= #
  when /^184\.?701(-|_| )?Deklaratives(-|_| )?Problemlösen$/i,
       /^Deklaratives(-|_| )?Problemlösen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3023&dsrid=189&courseNr=184701&semester=2022W"
  # ======================================================================= #
  # === rf "104.907 Optimierung für Chemiker"
  # ======================================================================= #
  when /^104\.?907(-|_| )?Optimierung(-|_| )?für(-|_| )?Chemiker$/i,
       /^Optimierung(-|_| )?für(-|_| )?Chemiker$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5525&dsrid=900&courseNr=104907&semester=2018W"
  # ======================================================================= #
  # === rf "101.778 Analysis 1"
  # ======================================================================= #
  when /^101\.?778(-|_| )?Analysis(-|_| )?1$/i,
       /^Analysis(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9963&dsrid=210&courseNr=101778&semester=2023S"
  # ======================================================================= #
  # === rf "101.674 Analysis 1"
  # ======================================================================= #
  when /^101\.?674(-|_| )?Analysis(-|_| )?1$/i,
       /^Analysis(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8296&dsrid=507&courseNr=101674&semester=2023S"
  # ======================================================================= #
  # === rf "134.231 Grundlagen der Zellkultur"
  # ======================================================================= #
  when /^134\.?231(-|_| )?Grundlagen(-|_| )?der(-|_| )?Zellkultur$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Zellkultur$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3610&dsrid=154&courseNr=134231&semester=2024W"
  # ======================================================================= #
  # === rf "104.282 Lineare Algebra und Geometrie 2"
  # ======================================================================= #
  when /^104\.?282(-|_| )?Lineare(-|_| )?Algebra(-|_| )?und(-|_| )?Geometrie(-|_| )?2$/i,
       /^Lineare(-|_| )?Algebra(-|_| )?und(-|_| )?Geometrie(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4835&dsrid=299&courseNr=104282&semester=2022S"
  # ======================================================================= #
  # === rf "104.279 Lineare Algebra und Geometrie 2"
  # ======================================================================= #
  when /^104\.?279(-|_| )?Lineare(-|_| )?Algebra(-|_| )?und(-|_| )?Geometrie(-|_| )?2$/i,
       /^Lineare(-|_| )?Algebra(-|_| )?und(-|_| )?Geometrie(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9593&dsrid=70&courseNr=104279"
  # ======================================================================= #
  # === rf "104.274 Lineare Algebra und Geometrie 1"
  # ======================================================================= #
  when /^104\.?274(-|_| )?Lineare(-|_| )?Algebra(-|_| )?und(-|_| )?Geometrie(-|_| )?1$/i,
       /^Lineare(-|_| )?Algebra(-|_| )?und(-|_| )?Geometrie(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1636&dsrid=174&courseNr=104274&semester=2022W"
  # ======================================================================= #
  # === rf "104.998 Algebra"
  # ======================================================================= #
  when /^104\.?998(-|_| )?Algebra$/i,
       /^Algebra$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6131&dsrid=488&courseNr=104998&semester=2023S"
  # ======================================================================= #
  # === rf "104.304 Algebra UE"
  # ======================================================================= #
  when /^104\.?304(-|_| )?Algebra(-|_| )?UE$/i,
       /^Algebra(-|_| )?UE$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8049&dsrid=757&courseNr=104304&semester=2023S"
  # ======================================================================= #
  # === rf "107.A09 Maß- und Wahrscheinlichkeitstheorie 2"
  # ======================================================================= #
  when /^107\.?A09(-|_| )?Maß(-|_)?(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie(-|_| )?2$/i,
       /^Maß(-|_)?(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1140&dsrid=834&courseNr=107A01&semester=2022S"
  # ======================================================================= #
  # === rf "107.A08 Maß- und Wahrscheinlichkeitstheorie 2"
  # ======================================================================= #
  when /^107\.?A08(-|_| )?Maß(-|_)?(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie(-|_| )?2$/i,
       /^Maß(-|_)?(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1140&dsrid=834&courseNr=107A01&semester=2022S"
  # ======================================================================= #
  # === rf "107.A01 Maß- und Wahrscheinlichkeitstheorie 1"
  # ======================================================================= #
  when /^107\.?A01(-|_| )?Maß(-|_)?(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie(-|_| )?1$/i,
       /^Maß(-|_)?(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1140&dsrid=834&courseNr=107A01&semester=2022S"
  # ======================================================================= #
  # === rf "107.A02 Maß- und Wahrscheinlichkeitstheorie 1"
  # ======================================================================= #
  when /^107\.?A02(-|_| )?Maß(-|_)?(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie(-|_| )?1$/i,
       /^Maß(-|_)?(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9974&dsrid=332&courseNr=107A02&semester=2022S"
  # ======================================================================= #
  # === rf "104.259 Diskrete und geometrische Algorithmen"
  # ======================================================================= #
  when /^104\.?259(-|_| )?Diskrete(-|_| )?und(-|_| )?geometrische(-|_| )?Algorithmen$/i,
       /^Diskrete(-|_| )?und(-|_| )?geometrische(-|_| )?Algorithmen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3053&dsrid=390&courseNr=104259"
  # ======================================================================= #
  # === rf "104.504 Lineare Algebra und Geometrie 1"
  # ======================================================================= #
  when /^104\.?504(-|_| )?Lineare(-|_| )?Algebra(-|_| )?und(-|_| )?Geometrie(-|_| )?1$/i,
       /^Lineare(-|_| )?Algebra(-|_| )?und(-|_| )?Geometrie(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6349&dsrid=558&courseNr=104504"
  # ======================================================================= #
  # === rf "104.999 Diskrete und geometrische Algorithmen"
  # ======================================================================= #
  when /^104\.?999(-|_| )?Diskrete(-|_| )?und(-|_| )?geometrische(-|_| )?Algorithmen$/i,
       /^Diskrete(-|_| )?und(-|_| )?geometrische(-|_| )?Algorithmen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1052&dsrid=123&courseNr=104999"
  # ======================================================================= #
  # === rf "184.741 Programm- und Systemverifikation"
  # ======================================================================= #
  when /^184\.?741(-|_| )?Programm(-|_)?(-|_| )?und(-|_| )?Systemverifikation$/i,
       /^Programm(-|_)?(-|_| )?und(-|_| )?Systemverifikation$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1118&dsrid=465&courseNr=184741"
  # ======================================================================= #
  # === rf "103.301 Analysis 2 UE"
  # ======================================================================= #
  when /^103\.?301(-|_| )?Analysis(-|_| )?2(-|_| )?UE$/i,
       /^Analysis(-|_| )?2(-|_| )?UE$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5988&dsrid=185&courseNr=103301&semester=2023S"
  # ======================================================================= #
  # === rf "104.340 Logik und Grundlagen der Mathematik"
  # ======================================================================= #
  when /^104\.?340(-|_| )?Logik(-|_| )?und(-|_| )?Grundlagen(-|_| )?der(-|_| )?Mathematik$/i,
       /^Logik(-|_| )?und(-|_| )?Grundlagen(-|_| )?der(-|_| )?Mathematik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9891&dsrid=780&courseNr=104340&semester=2022W"
  # ======================================================================= #
  # === rf "185.249 Non-classical logics"
  # ======================================================================= #
  when /^185\.?249(-|_| )?Non(-|_)?classical(-|_| )?logics$/i,
       /^Non(-|_)?classical(-|_| )?logics$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1704&dsrid=325&courseNr=185249&semester=2016W"
  # ======================================================================= #
  # === rf "104.342 Logik und Grundlagen der Mathematik UE"
  # ======================================================================= #
  when /^104\.?342(-|_| )?Logik(-|_| )?und(-|_| )?Grundlagen(-|_| )?der(-|_| )?Mathematik(-|_| )?UE$/i,
       /^Logik(-|_| )?und(-|_| )?Grundlagen(-|_| )?der(-|_| )?Mathematik(-|_| )?UE$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8547&dsrid=830&courseNr=104342&semester=2022W"
  # ======================================================================= #
  # === rf "185.A60 Higher-order Logic"
  # ======================================================================= #
  when /^185\.?A60(-|_| )?Higher(-|_)?order(-|_| )?Logic$/i,
       /^Higher(-|_)?order(-|_| )?Logic$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?courseNr=185A60&semester=2019S"
  # ======================================================================= #
  # === rf "185.A98 Epistemic Logic and Communication"
  # ======================================================================= #
  when /^185\.?A98(-|_| )?Epistemic(-|_| )?Logic(-|_| )?and(-|_| )?Communication$/i,
       /^Epistemic(-|_| )?Logic(-|_| )?and(-|_| )?Communication$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?courseNr=185A98&semester=2021S"
  # ======================================================================= #
  # === rf "185.203 Computability Theory"
  # ======================================================================= #
  when /^185\.?203(-|_| )?Computability(-|_| )?Theory$/i,
       /^Computability(-|_| )?Theory$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1007&dsrid=411&courseNr=185203"
  # ======================================================================= #
  # === rf "104.394 Advanced Mathematical Logic"
  # ======================================================================= #
  when /^104\.?394(-|_| )?Advanced(-|_| )?Mathematical(-|_| )?Logic$/i,
       /^Advanced(-|_| )?Mathematical(-|_| )?Logic$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5134&dsrid=628&courseNr=104394&semester=2022S"
  # ======================================================================= #
  # === rf "185.316 Seminar aus Logik"
  # ======================================================================= #
  when /^185\.?316(-|_| )?Seminar(-|_| )?aus(-|_| )?Logik$/i,
       /^Seminar(-|_| )?aus(-|_| )?Logik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6098&dsrid=423&courseNr=185316&semester=2022S"
  # ======================================================================= #
  # === rf "185.A26 Bachelorarbeit für Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^185\.?A26(-|_| )?Bachelorarbeit(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Bachelorarbeit(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5146&dsrid=203&courseNr=185A26&semester=2023S"
  # ======================================================================= #
  # === rf "184.699 Logik für Wissensrepräsentation"
  # ======================================================================= #
  when /^184\.?699(-|_| )?Logik(-|_| )?für(-|_| )?Wissensrepräsentation$/i,
       /^Logik(-|_| )?für(-|_| )?Wissensrepräsentation$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9115&dsrid=338&courseNr=184699&semester=2022W"
  # ======================================================================= #
  # === rf "185.A12 Logikprogrammierung und Constraints"
  # ======================================================================= #
  when /^185\.?A12(-|_| )?Logikprogrammierung(-|_| )?und(-|_| )?Constraints$/i,
       /^Logikprogrammierung(-|_| )?und(-|_| )?Constraints$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1514&dsrid=103&courseNr=185A12&semester=2022W"
  # ======================================================================= #
  # === rf "184.685 Datenmodellierung"
  # ======================================================================= #
  when /^184\.?685(-|_| )?Datenmodellierung$/i,
       /^Datenmodellierung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7792&dsrid=508&courseNr=184685&semester=2022W"
  # ======================================================================= #
  # === rf "184.774 Automated Deduction"
  # ======================================================================= #
  when /^184\.?774(-|_| )?Automated(-|_| )?Deduction$/i,
       /^Automated(-|_| )?Deduction$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6396&dsrid=666&courseNr=184774&semester=2022S"
  # ======================================================================= #
  # === rf "101.257 Analysis 2"
  # ======================================================================= #
  when /^101\.?257(-|_| )?Analysis(-|_| )?2$/i,
       /^Analysis(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1425&dsrid=354&courseNr=101257&semester=2023S"
  # ======================================================================= #
  # === rf "192.071 Einführung in Theoretische Informatik und Logik"
  # ======================================================================= #
  when /^192\.?071(-|_| )?Einführung(-|_| )?in(-|_| )?Theoretische(-|_| )?Informatik(-|_| )?und(-|_| )?Logik$/i,
       /^Einführung(-|_| )?in(-|_| )?Theoretische(-|_| )?Informatik(-|_| )?und(-|_| )?Logik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9977&dsrid=701&courseNr=192071&semester=2023S"
  # ======================================================================= #
  # === rf "108.037 Theoretische Informatik, Übung"
  # ======================================================================= #
  when /^108\.?037(-|_| )?Theoretische(-|_| )?Informatik,?(-|_| )?Übung$/i,
       /^Theoretische(-|_| )?Informatik,?(-|_| )?Übung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3839&dsrid=993&courseNr=108037&semester=2023S"
  # ======================================================================= #
  # === rf "108.036 Theoretische Informatik"
  # ======================================================================= #
  when /^108\.?036(-|_| )?Theoretische(-|_| )?Informatik$/i,
       /^Theoretische(-|_| )?Informatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2343&dsrid=683&courseNr=108036&semester=2024S"
  # ======================================================================= #
  # === rf "183.579 Technische Grundlagen der Informatik"
  # ======================================================================= #
  when /^183\.?579(-|_| )?Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i,
       /^Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8733&dsrid=487&courseNr=183579&semester=2021W"
  # ======================================================================= #
  # === rf "181.142 Complexity theory"
  # ======================================================================= #
  when /^181\.?142(-|_| )?Complexity(-|_| )?theory$/i,
       /^Complexity(-|_| )?theory$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2975&dsrid=59&courseNr=181142&semester=2022W&locale=en"
  # ======================================================================= #
  # === rf "193.052 Wissenschaftliches Arbeiten"
  # ======================================================================= #
  when /^193\.?052(-|_| )?Wissenschaftliches(-|_| )?Arbeiten$/i,
       /^Wissenschaftliches(-|_| )?Arbeiten$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6437&dsrid=712&courseNr=193052&semester=2022W"
  # ======================================================================= #
  # === rf "185.A82 Brückenkurs Programmierung für Studienanfängerinnen"
  # ======================================================================= #
  when /^185\.?A82(-|_| )?Brückenkurs(-|_| )?Programmierung(-|_| )?für(-|_| )?Studienanfängerinnen$/i,
       /^Brückenkurs(-|_| )?Programmierung(-|_| )?für(-|_| )?Studienanfängerinnen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7696&dsrid=183&courseNr=185A82&semester=2019W"
  # ======================================================================= #
  # === rf "188.982 Privacy Enhancing Technologies"
  # ======================================================================= #
  when /^188\.?982(-|_| )?Privacy(-|_| )?Enhancing(-|_| )?Technologies$/i,
       /^Privacy(-|_| )?Enhancing(-|_| )?Technologies$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3321&dsrid=392&courseNr=188982&semester=2022W"
  # ======================================================================= #
  # === rf "159.808 Verfahrenstechnik Labor"
  # ======================================================================= #
  when /^159\.?808(-|_| )?Verfahrenstechnik(-|_| )?Labor$/i,
       /^Verfahrenstechnik(-|_| )?Labor$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3600&dsrid=911&courseNr=159808&semester=2022W"
  # ======================================================================= #
  # === rf "166.037 Chemische Verfahrenstechnik"
  # ======================================================================= #
  when /^166\.?037(-|_| )?Chemische(-|_| )?Verfahrenstechnik$/i,
       /^Chemische(-|_| )?Verfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4074&dsrid=898&courseNr=166037&semester=2022W"
  # ======================================================================= #
  # === rf "159.786 Chemische Verfahrenstechnik"
  # ======================================================================= #
  when /^159\.?786(-|_| )?Chemische(-|_| )?Verfahrenstechnik$/i,
       /^Chemische(-|_| )?Verfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5771&dsrid=549&courseNr=159786&semester=2022W"
  # ======================================================================= #
  # === rf "362.182 Genomic technologies and processes"
  # ======================================================================= #
  when /^362\.?182(-|_| )?Genomic(-|_| )?technologies(-|_| )?and(-|_| )?processes$/i,
       /^Genomic(-|_| )?technologies(-|_| )?and(-|_| )?processes$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1871&dsrid=473&courseNr=362182&semester=2022W"
  # ======================================================================= #
  # === rf "107.106 AKSTA Statistical Computing"
  # ======================================================================= #
  when /^107\.?106(-|_| )?AKSTA(-|_| )?Statistical(-|_| )?Computing$/i,
       /^AKSTA(-|_| )?Statistical(-|_| )?Computing$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9774&dsrid=189&courseNr=107106&semester=2021S"
  # ======================================================================= #
  # === rf "101.979 Introduction to Numerics"
  # ======================================================================= #
  when /^101\.?979(-|_| )?Introduction(-|_| )?to(-|_| )?Numerics$/i,
       /^Introduction(-|_| )?to(-|_| )?Numerics$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3785&dsrid=711&courseNr=101979&semester=2022W"
  # ======================================================================= #
  # === rf "184.735 Einführung in die Künstliche Intelligenz"
  # ======================================================================= #
  when /^184\.?735(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Künstliche(-|_| )?Intelligenz$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Künstliche(-|_| )?Intelligenz$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1028&dsrid=15&courseNr=184735&semester=2022S"
  # ======================================================================= #
  # === rf "164.309 Analytische Trenn- und Kopplungstechniken"
  # ======================================================================= #
  when /^164\.?309(-|_| )?Analytische(-|_| )?Trenn(-|_)?(-|_| )?und(-|_| )?Kopplungstechniken$/i,
       /^Analytische(-|_| )?Trenn(-|_)?(-|_| )?und(-|_| )?Kopplungstechniken$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3936&dsrid=70&courseNr=164309&semester=2022S"
  # ======================================================================= #
  # === rf "164.268 Biosensoren und Bioprozessanalytik"
  # ======================================================================= #
  when /^164\.?268(-|_| )?Biosensoren(-|_| )?und(-|_| )?Bioprozessanalytik$/i,
       /^Biosensoren(-|_| )?und(-|_| )?Bioprozessanalytik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9781&dsrid=963&courseNr=164268&semester=2022W"
  # ======================================================================= #
  # === rf "253.118 Ringvorlesung Ökologie"
  # ======================================================================= #
  when /^253\.?118(-|_| )?Ringvorlesung(-|_| )?Ökologie$/i,
       /^Ringvorlesung(-|_| )?Ökologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7173&dsrid=752&courseNr=253118&semester=2024S"
  # ======================================================================= #
  # === rf "104.513 Einführung ins Mathematische Arbeiten"
  # ======================================================================= #
  when /^104\.?513(-|_| )?Einführung(-|_| )?ins(-|_| )?Mathematische(-|_| )?Arbeiten$/i,
       /^Einführung(-|_| )?ins(-|_| )?Mathematische(-|_| )?Arbeiten$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6270&dsrid=63&courseNr=104513&semester=2022W"
  # ======================================================================= #
  # === rf "153.075 Chemie für TPH"
  # ======================================================================= #
  when /^153\.?075(-|_| )?Chemie(-|_| )?für(-|_| )?TPH$/i,
       /^Chemie(-|_| )?für(-|_| )?TPH$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1874&dsrid=742&courseNr=153075&semester=2024S"
  # ======================================================================= #
  # === rf "164.216 Technische Elektrochemie"
  # ======================================================================= #
  when /^164\.?216(-|_| )?Technische(-|_| )?Elektrochemie$/i,
       /^Technische(-|_| )?Elektrochemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3502&dsrid=360&courseNr=164216&semester=2023W"
  # ======================================================================= #
  # === rf "134.997 Mikroskopie an Biomolekülen"
  # ======================================================================= #
  when /^134\.?997(-|_| )?Mikroskopie(-|_| )?an(-|_| )?Biomolekülen$/i,
       /^Mikroskopie(-|_| )?an(-|_| )?Biomolekülen$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=2528&dsrid=626&courseNr=134997&semester=2022W"
  # ======================================================================= #
  # === rf "163.048 Bioorganische Chemie"
  # ======================================================================= #
  when /^163\.?048(-|_| )?Bioorganische(-|_| )?Chemie$/i,
       /^Bioorganische(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7111&dsrid=340&courseNr=163048&semester=2022W"
  # ======================================================================= #
  # === rf "187.B12 Denkweisen der Informatik"
  # ======================================================================= #
  when /^187\.?B12(-|_| )?Denkweisen(-|_| )?der(-|_| )?Informatik$/i,
       /^Denkweisen(-|_| )?der(-|_| )?Informatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6314&dsrid=718&courseNr=187B12&semester=2022W"
  # ======================================================================= #
  # === rf "164.023 Bioelektrochemie"
  # ======================================================================= #
  when /^164\.?023(-|_| )?Bioelektrochemie$/i,
       /^Bioelektrochemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2325&dsrid=358&courseNr=164023&semester=2022W"
  # ======================================================================= #
  # === rf "163.149 Green Chemistry"
  # ======================================================================= #
  when /^163\.?149(-|_| )?Green(-|_| )?Chemistry$/i,
       /^Green(-|_| )?Chemistry$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8837&dsrid=943&courseNr=163149&semester=2022W"
  # ======================================================================= #
  # === rf "159.478 Mechanische Verfahrenstechnik"
  # ======================================================================= #
  when /^159\.?478(-|_| )?Mechanische(-|_| )?Verfahrenstechnik$/i,
       /^Mechanische(-|_| )?Verfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3789&dsrid=958&courseNr=159478&semester=2023S"
  # ======================================================================= #
  # === rf "300707 Orientierungslehrveranstaltung für Erstsemestrige in der Technischen Chemie"
  # ======================================================================= #
  when /^300707(-|_| )?Orientierungslehrveranstaltung(-|_| )?für(-|_| )?Erstsemestrige(-|_| )?in(-|_| )?der(-|_| )?Technischen(-|_| )?Chemie$/i,
       /^Orientierungslehrveranstaltung(-|_| )?für(-|_| )?Erstsemestrige(-|_| )?in(-|_| )?der(-|_| )?Technischen(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5392&dsrid=151&windowId=dc5&courseNr=163136&semester=2012W"
  # ======================================================================= #
  # === rf "163.173 Orientierungslehrveranstaltung für Erstsemestrige in der Technischen Chemie I"
  # ======================================================================= #
  when /^163\.?173(-|_| )?Orientierungslehrveranstaltung(-|_| )?für(-|_| )?Erstsemestrige(-|_| )?in(-|_| )?der(-|_| )?Technischen(-|_| )?Chemie(-|_| )?I$/i,
       /^Orientierungslehrveranstaltung(-|_| )?für(-|_| )?Erstsemestrige(-|_| )?in(-|_| )?der(-|_| )?Technischen(-|_| )?Chemie(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9656&dsrid=601&courseNr=163173&semester=2022W"
  # ======================================================================= #
  # === rf "166.186 Angewandte Chemie in der medizinischen Forschung"
  # ======================================================================= #
  when /^166\.?186(-|_| )?Angewandte(-|_| )?Chemie(-|_| )?in(-|_| )?der(-|_| )?medizinischen(-|_| )?Forschung$/i,
       /^Angewandte(-|_| )?Chemie(-|_| )?in(-|_| )?der(-|_| )?medizinischen(-|_| )?Forschung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7270&dsrid=795&windowId=193&semester=2020S&courseNr=166186"
  # ======================================================================= #
  # === rf "134.154 Der Laser in Physik, Chemie, Biologie und Medizin"
  # ======================================================================= #
  when /^134\.?154(-|_| )?Der(-|_| )?Laser(-|_| )?in(-|_| )?Physik,?(-|_| )?Chemie,?(-|_| )?Biologie(-|_| )?und(-|_| )?Medizin$/i,
       /^Der(-|_| )?Laser(-|_| )?in(-|_| )?Physik,?(-|_| )?Chemie,?(-|_| )?Biologie(-|_| )?und(-|_| )?Medizin$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3222&dsrid=543&courseNr=134154&semester=2022W"
  # ======================================================================= #
  # === rf "164.245 Die Europäische Union: Institutionen und Politiken"
  # ======================================================================= #
  when /^164\.?245(-|_| )?Die(-|_| )?Europäische(-|_| )?Union:(-|_| )?Institutionen(-|_| )?und(-|_| )?Politiken$/i,
       /^Die(-|_| )?Europäische(-|_| )?Union:(-|_| )?Institutionen(-|_| )?und(-|_| )?Politiken$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7423&dsrid=445&windowId=0c5&semester=2013S&courseNr=164245"
  # ======================================================================= #
  # === rf "166.160 Molekulare Physiologie Industrieller (Mikro)Organismen"
  # ======================================================================= #
  when /^166\.?160(-|_| )?Molekulare(-|_| )?Physiologie(-|_| )?Industrieller(-|_| )?\(?Mikro\)?Organismen$/i,
       /^Molekulare(-|_| )?Physiologie(-|_| )?Industrieller(-|_| )?\(?Mikro\)?Organismen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9562&dsrid=351&windowId=78d&courseNr=166160&semester=2013W"
  # ======================================================================= #
  # === rf "101.757 Mathematik I für Geodäsie und Geoinformation"
  # ======================================================================= #
  when /^101\.?757(-|_| )?Mathematik(-|_| )?I(-|_| )?für(-|_| )?Geodäsie(-|_| )?und(-|_| )?Geoinformation$/i,
       /^Mathematik(-|_| )?I(-|_| )?für(-|_| )?Geodäsie(-|_| )?und(-|_| )?Geoinformation$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2288&dsrid=648&courseNr=101757&semester=2022W"
  # ======================================================================= #
  # === rf "166.142 Biologie"
  # ======================================================================= #
  when /^166\.?142(-|_| )?Biologie$/i,
       /^Biologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1441&dsrid=62&courseNr=166142&semester=2022W"
  # ======================================================================= #
  # === rf "166.190 Biochemie Proseminar"
  # ======================================================================= #
  when /^166\.?190(-|_| )?Biochemie(-|_| )?Proseminar$/i,
       /^Biochemie(-|_| )?Proseminar$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?courseNr=166190&semester=2018S&dswid=6176&dsrid=82"
  # ======================================================================= #
  # === rf "164.339 Qualitatives Analytisches Praktikum"
  # ======================================================================= #
  when /^164\.?339(-|_| )?Qualitatives(-|_| )?Analytisches(-|_| )?Praktikum$/i,
       /^Qualitatives(-|_| )?Analytisches(-|_| )?Praktikum$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8074&dsrid=484&courseNr=164339&semester=2022W"
  # ======================================================================= #
  # === rf "163.177 Grundlagen der Chemie"
  # ======================================================================= #
  when /^163\.?177(-|_| )?Grundlagen(-|_| )?der(-|_| )?Chemie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1584&dsrid=585&courseNr=163177&semester=2022W"
  # ======================================================================= #
  # === rf "163.006 Grundlagen der Chemie"
  # ======================================================================= #
  when /^163\.?006(-|_| )?Grundlagen(-|_| )?der(-|_| )?Chemie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4618&dsrid=97&courseNr=163006&semester=2022W"
  # ======================================================================= #
  # === rf "164.235 Biomedical Mass Spectrometry - Biomedizinische Massenspektrometrie"
  # ======================================================================= #
  when /^164\.?235(-|_| )?Biomedical(-|_| )?Mass(-|_| )?Spectrometry(-|_| )?(-|_)?(-|_| )?Biomedizinische(-|_| )?Massenspektrometrie$/i,
       /^Biomedical(-|_| )?Mass(-|_| )?Spectrometry(-|_| )?(-|_)?(-|_| )?Biomedizinische(-|_| )?Massenspektrometrie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8265&dsrid=769&courseNr=164235&semester=2023S"
  # ======================================================================= #
  # === rf "165.162 Physikalische Chemie für Umweltingenieurwesen"
  # ======================================================================= #
  when /^165\.?162(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?für(-|_| )?Umweltingenieurwesen$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?für(-|_| )?Umweltingenieurwesen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9556&dsrid=925&courseNr=165162&semester=2023S"
  # ======================================================================= #
  # === rf "163.133 Chemische Technologie organischer Stoffe für Verfahrenstechniker"
  # ======================================================================= #
  when /^163\.?133(-|_| )?Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe(-|_| )?für(-|_| )?Verfahrenstechniker$/i,
       /^Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe(-|_| )?für(-|_| )?Verfahrenstechniker$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4075&dsrid=705&courseNr=163133&semester=2023S"
  # ======================================================================= #
  # === rf "163.181 Labortechnik für VT"
  # ======================================================================= #
  when /^163\.?181(-|_| )?Labortechnik(-|_| )?für(-|_| )?VT$/i,
       /^Labortechnik(-|_| )?für(-|_| )?VT$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4604&dsrid=633&courseNr=163181&semester=2022W"
  # ======================================================================= #
  # === rf "185.A01 Objektorientierte Programmiertechniken"
  # ======================================================================= #
  when /^185\.?A01(-|_| )?Objektorientierte(-|_| )?Programmiertechniken$/i,
       /^Objektorientierte(-|_| )?Programmiertechniken$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6751&dsrid=744&courseNr=185A01&semester=2022W"
  # ======================================================================= #
  # === rf "166.200 Mikroskopie in der Biologie"
  # ======================================================================= #
  when /^166\.?200(-|_| )?Mikroskopie(-|_| )?in(-|_| )?der(-|_| )?Biologie$/i,
       /^Mikroskopie(-|_| )?in(-|_| )?der(-|_| )?Biologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7211&dsrid=766&courseNr=166200&semester=2023S"
  # ======================================================================= #
  # === rf "184.702 Machine Learning"
  # ======================================================================= #
  when /^184\.?702(-|_| )?Machine(-|_| )?Learning$/i,
       /^Machine(-|_| )?Learning$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?courseNr=184702&semester=2022S&dswid=8952&dsrid=674"
  # ======================================================================= #
  # === rf "166.156 Gentechnik und Industrielle Genomik"
  # ======================================================================= #
  when /^166\.?156(-|_| )?Gentechnik(-|_| )?und(-|_| )?Industrielle(-|_| )?Genomik$/i,
       /^Gentechnik(-|_| )?und(-|_| )?Industrielle(-|_| )?Genomik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5431&dsrid=896&courseNr=166156&semester=2019W"
  # ======================================================================= #
  # === rf "104.347 Analyse von Algorithmen"
  # ======================================================================= #
  when /^104\.?347(-|_| )?Analyse(-|_| )?von(-|_| )?Algorithmen$/i,
       /^Analyse(-|_| )?von(-|_| )?Algorithmen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1943&dsrid=689&courseNr=104347&semester=2021W"
  # ======================================================================= #
  # === rf "104.345 Analyse von Algorithmen"
  # ======================================================================= #
  when /^104\.?345(-|_| )?Analyse(-|_| )?von(-|_| )?Algorithmen$/i,
       /^Analyse(-|_| )?von(-|_| )?Algorithmen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5442&dsrid=759&courseNr=104345&semester=2021W"
  # ======================================================================= #
  # === rf "182.702 Distributed Algorithms"
  # ======================================================================= #
  when /^182\.?702(-|_| )?Distributed(-|_| )?Algorithms$/i,
       /^Distributed(-|_| )?Algorithms$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2202&dsrid=294&courseNr=182702&semester=2022S"
  # ======================================================================= #
  # === rf "186.814 Algorithmics"
  # ======================================================================= #
  when /^186\.?814(-|_| )?Algorithmics$/i,
       /^Algorithmics$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8728&dsrid=900&courseNr=186814&semester=2021W"
  # ======================================================================= #
  # === rf "194.076 Modeling and Simulation"
  # ======================================================================= #
  when /^194\.?076(-|_| )?Modeling(-|_| )?and(-|_| )?Simulation$/i,
       /^Modeling(-|_| )?and(-|_| )?Simulation$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1975&dsrid=781&courseNr=194076&semester=2021W"
  # ======================================================================= #
  # === rf "185.291 Formale Methoden der Informatik"
  # ======================================================================= #
  when /^185\.?291(-|_| )?Formale(-|_| )?Methoden(-|_| )?der(-|_| )?Informatik$/i,
       /^Formale(-|_| )?Methoden(-|_| )?der(-|_| )?Informatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1776&dsrid=905&courseNr=185291&semester=2023S"
  # ======================================================================= #
  # === rf "194.101 Machine Learning Algorithms and Applications"
  # ======================================================================= #
  when /^194\.?101(-|_| )?Machine(-|_| )?Learning(-|_| )?Algorithms(-|_| )?and(-|_| )?Applications$/i,
       /^Machine(-|_| )?Learning(-|_| )?Algorithms(-|_| )?and(-|_| )?Applications$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2135&dsrid=557&courseNr=194101&semester=2022S"
  # ======================================================================= #
  # === rf "194.077 Applied Deep Learning"
  # ======================================================================= #
  when /^194\.?077(-|_| )?Applied(-|_| )?Deep(-|_| )?Learning$/i,
       /^Applied(-|_| )?Deep(-|_| )?Learning$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1884&dsrid=876&courseNr=194077&semester=2022W"
  # ======================================================================= #
  # === rf "194.065 Ausgewählte Kapitel digitaler Forensik I"
  # ======================================================================= #
  when /^194\.?065(-|_| )?Ausgewählte(-|_| )?Kapitel(-|_| )?digitaler(-|_| )?Forensik(-|_| )?I$/i,
       /^Ausgewählte(-|_| )?Kapitel(-|_| )?digitaler(-|_| )?Forensik(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2052&dsrid=619&courseNr=194065&semester=2022S"
  # ======================================================================= #
  # === rf "194.052 Pragmatische Werkzeuge für modernes Projektmanagement für Ingenieure"
  # ======================================================================= #
  when /^194\.?052(-|_| )?Pragmatische(-|_| )?Werkzeuge(-|_| )?für(-|_| )?modernes(-|_| )?Projektmanagement(-|_| )?für(-|_| )?Ingenieure$/i,
       /^Pragmatische(-|_| )?Werkzeuge(-|_| )?für(-|_| )?modernes(-|_| )?Projektmanagement(-|_| )?für(-|_| )?Ingenieure$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5780&dsrid=214&courseNr=194052&semester=2022S"
  # ======================================================================= #
  # === rf "183.618 Ausgewählte Kapitel der Technischen Informatik"
  # ======================================================================= #
  when /^183\.?618(-|_| )?Ausgewählte(-|_| )?Kapitel(-|_| )?der(-|_| )?Technischen(-|_| )?Informatik$/i,
       /^Ausgewählte(-|_| )?Kapitel(-|_| )?der(-|_| )?Technischen(-|_| )?Informatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3940&dsrid=95&courseNr=183618&semester=2022S"
  # ======================================================================= #
  # === rf "184.208 Logik für Wissensrepräsentation"
  # ======================================================================= #
  when /^184\.?208(-|_| )?Logik(-|_| )?für(-|_| )?Wissensrepräsentation$/i,
       /^Logik(-|_| )?für(-|_| )?Wissensrepräsentation$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9261&dsrid=777&courseNr=184208&semester=2022W"
  # ======================================================================= #
  # === rf "308.863 Werkstofftechnik der Stähle"
  # ======================================================================= #
  when /^308\.?863(-|_| )?Werkstofftechnik(-|_| )?der(-|_| )?Stähle$/i,
       /^Werkstofftechnik(-|_| )?der(-|_| )?Stähle$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9202&dsrid=182&courseNr=308863&semester=2023S"
  # ======================================================================= #
  # === rf "166.212 Einführung in die Biotechnologie und Bioverfahrenstechnik"
  # ======================================================================= #
  when /^166\.?212(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biotechnologie(-|_| )?und(-|_| )?Bioverfahrenstechnik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Biotechnologie(-|_| )?und(-|_| )?Bioverfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7934&dsrid=297&courseNr=166212&semester=2022S"
  # ======================================================================= #
  # === rf "183.239 Software Engineering und Projektmanagement"
  # ======================================================================= #
  when /^183\.?239(-|_| )?Software(-|_| )?Engineering(-|_| )?und(-|_| )?Projektmanagement$/i,
       /^Software(-|_| )?Engineering(-|_| )?und(-|_| )?Projektmanagement$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5831&dsrid=113&courseNr=183239&semester=2022W"
  # ======================================================================= #
  # === rf "330.162 Produktions- und Qualitätsmanagement 2"
  # ======================================================================= #
  when /^330\.?162(-|_| )?Produktions(-|_)?(-|_| )?und(-|_| )?Qualitätsmanagement(-|_| )?2$/i,
       /^Produktions(-|_)?(-|_| )?und(-|_| )?Qualitätsmanagement(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1183&dsrid=661&courseNr=330162&semester=2022S"
  # ======================================================================= #
  # === rf "206.265 Qualitätsmanagement 1"
  # ======================================================================= #
  when /^206\.?265(-|_| )?Qualitätsmanagement(-|_| )?1$/i,
       /^Qualitätsmanagement(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6834&dsrid=702&courseNr=206265&semester=2023S"
  # ======================================================================= #
  # === rf "173.409 Phytochemie"
  # ======================================================================= #
  when /^173\.?409(-|_| )?Phytochemie$/i,
       /^Phytochemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6837&dsrid=267&courseNr=173409&semester=2022S"
  # ======================================================================= #
  # === rf "166.652 Ökologie und Biochemie der Pflanzen"
  # ======================================================================= #
  when /^166\.?652(-|_| )?Ökologie(-|_| )?und(-|_| )?Biochemie(-|_| )?der(-|_| )?Pflanzen$/i,
       /^Ökologie(-|_| )?und(-|_| )?Biochemie(-|_| )?der(-|_| )?Pflanzen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4483&dsrid=914&courseNr=166652&semester=2022S"
  # ======================================================================= #
  # === rf "166.645 Molekulare Biotechnologie"
  # ======================================================================= #
  when /^166\.?645(-|_| )?Molekulare(-|_| )?Biotechnologie$/i,
       /^Molekulare(-|_| )?Biotechnologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6491&dsrid=138&courseNr=166645&semester=2017W"
  # ======================================================================= #
  # === rf "163.190 Chemie Rechenübungen"
  # ======================================================================= #
  when /^163\.?190(-|_| )?Chemie(-|_| )?Rechenübungen$/i,
       /^Chemie(-|_| )?Rechenübungen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9409&dsrid=71&courseNr=163190&semester=2021W"
  # ======================================================================= #
  # === rf "164.253 Analytische Chemie III"
  # ======================================================================= #
  when /^164\.?253(-|_| )?Analytische(-|_| )?Chemie(-|_| )?III$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?III$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5837&dsrid=626&courseNr=164253&semester=2022W"
  # ======================================================================= #
  # === rf "280.774 Finanzwissenschaft und Infrastrukurökonomie"
  # ======================================================================= #
  when /^280\.?774(-|_| )?Finanzwissenschaft(-|_| )?und(-|_| )?Infrastrukurökonomie$/i,
       /^Finanzwissenschaft(-|_| )?und(-|_| )?Infrastrukurökonomie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9937&dsrid=705&courseNr=280774&semester=2023S"
  # ======================================================================= #
  # === rf "134.152 Introduction to Nanotechnology"
  # ======================================================================= #
  when /^134\.?152(-|_| )?Introduction(-|_| )?to(-|_| )?Nanotechnology$/i,
       /^Introduction(-|_| )?to(-|_| )?Nanotechnology$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4554&dsrid=898&courseNr=134152&semester=2021W"
  # ======================================================================= #
  # === rf "362.118 Biomedizinische Mikrosysteme"
  # ======================================================================= #
  when /^362\.?118(-|_| )?Biomedizinische(-|_| )?Mikrosysteme$/i,
       /^Biomedizinische(-|_| )?Mikrosysteme$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3095&dsrid=779&courseNr=362118&semester=2021W"
  # ======================================================================= #
  # === rf "165.088 Chemie der Nanomaterialien"
  # ======================================================================= #
  when /^165\.?088(-|_| )?Chemie(-|_| )?der(-|_| )?Nanomaterialien$/i,
       /^Chemie(-|_| )?der(-|_| )?Nanomaterialien$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3126&dsrid=443&courseNr=165088&semester=2022S"
  # ======================================================================= #
  # === rf "164.357 Spatial Omics"
  # ======================================================================= #
  when /^164\.?357(-|_| )?Spatial(-|_| )?Omics$/i,
       /^Spatial(-|_| )?Omics$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6167&dsrid=978&courseNr=164357&semester=2022W"
  # ======================================================================= #
  # === rf "141.A13 Nanophotonik"
  # ======================================================================= #
  when /^141\.?A13(-|_| )?Nanophotonik$/i,
       /^Nanophotonik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4024&dsrid=840&courseNr=141A13&semester=2021W"
  # ======================================================================= #
  # === rf "376.052 Nanometrology"
  # ======================================================================= #
  when /^376\.?052(-|_| )?Nanometrology$/i,
       /^Nanometrology$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8431&dsrid=636&courseNr=376052&semester=2022S"
  # ======================================================================= #
  # === rf "164.315 Biologische Massenspektrometrie"
  # ======================================================================= #
  when /^164\.?315(-|_| )?Biologische(-|_| )?Massenspektrometrie$/i,
       /^Biologische(-|_| )?Massenspektrometrie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6154&dsrid=137&courseNr=164315&semester=2022S"
  # ======================================================================= #
  # === rf "362.177 Biophysik"
  # ======================================================================= #
  when /^362\.?177(-|_| )?Biophysik$/i,
       /^Biophysik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2886&dsrid=30&courseNr=362177&semester=2022W"
  # ======================================================================= #
  # === rf "166.089 Phytochemie"
  # ======================================================================= #
  when /^166\.?089(-|_| )?Phytochemie$/i,
       /^Phytochemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8431&dsrid=883&courseNr=166089&semester=2023S"
  # ======================================================================= #
  # === rf "260.300 Betriebswirtschaftliche Grundlagen der Projektentwicklung"
  # ======================================================================= #
  when /^260\.?300(-|_| )?Betriebswirtschaftliche(-|_| )?Grundlagen(-|_| )?der(-|_| )?Projektentwicklung$/i,
       /^Betriebswirtschaftliche(-|_| )?Grundlagen(-|_| )?der(-|_| )?Projektentwicklung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1721&dsrid=102&courseNr=260300&semester=2019S"
  # ======================================================================= #
  # === rf "366.057 Sensors and Microsystem Technology für BME"
  # ======================================================================= #
  when /^366\.?057(-|_| )?Sensors(-|_| )?and(-|_| )?Microsystem(-|_| )?Technology(-|_| )?für(-|_| )?BME$/i,
       /^Sensors(-|_| )?and(-|_| )?Microsystem(-|_| )?Technology(-|_| )?für(-|_| )?BME$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5630&dsrid=164&courseNr=366057&semester=2019S"
  # ======================================================================= #
  # === rf "321.001 Der Motor Muskel"
  # ======================================================================= #
  when /^321\.?001(-|_| )?Der(-|_| )?Motor(-|_| )?Muskel$/i,
       /^Der(-|_| )?Motor(-|_| )?Muskel$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4163&dsrid=982&courseNr=321001&semester=2022S"
  # ======================================================================= #
  # === rf "159.731 Thermische Verfahrenstechnik"
  # ======================================================================= #
  when /^159\.?731(-|_| )?Thermische(-|_| )?Verfahrenstechnik$/i,
       /^Thermische(-|_| )?Verfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6246&dsrid=201&courseNr=159731&semester=2022W"
  # ======================================================================= #
  # === rf "311.123 Physik für MB"
  # ======================================================================= #
  when /^311\.?123(-|_| )?Physik(-|_| )?für(-|_| )?MB$/i,
       /^Physik(-|_| )?für(-|_| )?MB$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=6589&dsrid=916&courseNr=311123&semester=2023S"
  # ======================================================================= #
  # === rf "173.201 Biologie der Steroidhormone"
  # ======================================================================= #
  when /^173\.?201(-|_| )?Biologie(-|_| )?der(-|_| )?Steroidhormone$/i,
       /^Biologie(-|_| )?der(-|_| )?Steroidhormone$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8894&dsrid=271&windowId=5f3&courseNr=173201&semester=2013S"
  # ======================================================================= #
  # === rf "166.685 Technische Mikroskopie"
  # ======================================================================= #
  when /^166\.?685(-|_| )?Technische(-|_| )?Mikroskopie$/i,
       /^Technische(-|_| )?Mikroskopie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1925&dsrid=369&courseNr=166685&semester=2024S"
  # ======================================================================= #
  # === rf "120.055 Geologie und Landformenkunde"
  # ======================================================================= #
  when /^120\.?055(-|_| )?Geologie(-|_| )?und(-|_| )?Landformenkunde$/i,
       /^Geologie(-|_| )?und(-|_| )?Landformenkunde$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2007&dsrid=380&courseNr=120055&semester=2022W"
  # ======================================================================= #
  # === rf "166.604 Bioprozess Technologie und Bioanalytik"
  # ======================================================================= #
  when /^166\.?604(-|_| )?Bioprozess(-|_| )?Technologie(-|_| )?und(-|_| )?Bioanalytik$/i,
       /^Bioprozess(-|_| )?Technologie(-|_| )?und(-|_| )?Bioanalytik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6203&dsrid=263&courseNr=166604&semester=2022S"
  # ======================================================================= #
  # === rf "105.620 Grundlagen der Mikroökonomie"
  # ======================================================================= #
  when /^105\.?620(-|_| )?Grundlagen(-|_| )?der(-|_| )?Mikroökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Mikroökonomie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3626&dsrid=217&courseNr=105620&semester=2022W"
  # ======================================================================= #
  # === rf "163.179 Live-cell microarray & Organ-on-a-chip Technologien"
  # ======================================================================= #
  when /^163\.?179(-|_| )?Live(-|_)?cell(-|_| )?microarray(-|_| )?&(-|_| )?Organ(-|_)?on(-|_)?a(-|_)?chip(-|_| )?Technologien$/i,
       /^Live(-|_)?cell(-|_| )?microarray(-|_| )?&(-|_| )?Organ(-|_)?on(-|_)?a(-|_)?chip(-|_| )?Technologien$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2731&dsrid=212&courseNr=163179&semester=2023S"
  # ======================================================================= #
  # === rf "163.112 Grundlagen der Chemie"
  # ======================================================================= #
  when /^163\.?112(-|_| )?Grundlagen(-|_| )?der(-|_| )?Chemie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3700&dsrid=156&courseNr=163112&semester=2022W"
  # ======================================================================= #
  # === rf "172.071 Toxikologie"
  # ======================================================================= #
  when /^172\.?071(-|_| )?Toxikologie$/i,
       /^Toxikologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7359&dsrid=379&courseNr=172071&semester=2024S"
  # ======================================================================= #
  # === rf "015.111 Technical English Presentation A"
  # ======================================================================= #
  when /^015\.?111(-|_| )?Technical(-|_| )?English(-|_| )?Presentation(-|_| )?A$/i,
       /^Technical(-|_| )?English(-|_| )?Presentation(-|_| )?A$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8994&dsrid=4&courseNr=015111&semester=2022S"
  # ======================================================================= #
  # === rf "166.706 Molekularbiologie"
  # ======================================================================= #
  when /^166\.?706(-|_| )?Molekularbiologie$/i,
       /^Molekularbiologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5061&dsrid=950&courseNr=166706&semester=2022W"
  # ======================================================================= #
  # === rf "163.138 Chemische Technologie organischer Stoffe"
  # ======================================================================= #
  when /^163\.?138(-|_| )?Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe$/i,
       /^Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2860&dsrid=144&courseNr=163138&semester=2021W"
  # ======================================================================= #
  # === rf "166.231 Angewandte Bioinformatik"
  # ======================================================================= #
  when /^166\.?231(-|_| )?Angewandte(-|_| )?Bioinformatik$/i,
       /^Angewandte(-|_| )?Bioinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6820&dsrid=673&courseNr=166231&semester=2023S"
  # ======================================================================= #
  # === rf "265.068 Data and Information Law"
  # ======================================================================= #
  when /^265\.?068(-|_| )?Data(-|_| )?and(-|_| )?Information(-|_| )?Law$/i,
       /^Data(-|_| )?and(-|_| )?Information(-|_| )?Law$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1704&dsrid=946&courseNr=265068&semester=2022S"
  # ======================================================================= #
  # === rf "106.054 Computernumerik"
  # ======================================================================= #
  when /^106\.?054(-|_| )?Computernumerik$/i,
       /^Computernumerik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6007&dsrid=602&courseNr=106054&semester=2021W"
  # ======================================================================= #
  # === rf "106.001 Computernumerik"
  # ======================================================================= #
  when /^106\.?001(-|_| )?Computernumerik$/i,
       /^Computernumerik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5918&dsrid=802&courseNr=106001&semester=2021W"
  # ======================================================================= #
  # === rf "166.691 Biochemie, Molekularbiologie und Biotechnologie"
  # ======================================================================= #
  when /^166\.?691(-|_| )?Biochemie,?(-|_| )?Molekularbiologie(-|_| )?und(-|_| )?Biotechnologie$/i,
       /^Biochemie,?(-|_| )?Molekularbiologie(-|_| )?und(-|_| )?Biotechnologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5313&dsrid=533&courseNr=166691&semester=2024S"
  # ======================================================================= #
  # === rf "308.862 Werkstoffkunde metallischer Werkstoffe"
  # ======================================================================= #
  when /^308\.?862(-|_| )?Werkstoffkunde(-|_| )?metallischer(-|_| )?Werkstoffe$/i,
       /^Werkstoffkunde(-|_| )?metallischer(-|_| )?Werkstoffe$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2959&dsrid=759&courseNr=308862"
  # ======================================================================= #
  # === rf "166.703 Methoden der Molekularbiologie und Gentechnik"
  # ======================================================================= #
  when /^166\.?703(-|_| )?Methoden(-|_| )?der(-|_| )?Molekularbiologie(-|_| )?und(-|_| )?Gentechnik$/i,
       /^Methoden(-|_| )?der(-|_| )?Molekularbiologie(-|_| )?und(-|_| )?Gentechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2561&dsrid=134&courseNr=166703&semester=2023W"
  # ======================================================================= #
  # === rf "330.159 Produktions- und Qualitätsmanagement 1"
  # ======================================================================= #
  when /^330\.?159(-|_| )?Produktions(-|_)?(-|_| )?und(-|_| )?Qualitätsmanagement(-|_| )?1$/i,
       /^Produktions(-|_)?(-|_| )?und(-|_| )?Qualitätsmanagement(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8226&dsrid=743&courseNr=330159&semester=2023W"
  # ======================================================================= #
  # === rf "164.169 Qualitätssicherung und GLP/GMP"
  # ======================================================================= #
  when /^164\.?169(-|_| )?Qualitätssicherung(-|_| )?und(-|_| )?GLP\/?GMP$/i,
       /^Qualitätssicherung(-|_| )?und(-|_| )?GLP\/?GMP$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9537&dsrid=959&courseNr=164169&semester=2021W"
  # ======================================================================= #
  # === rf "202.673 Mechanics of cells, tissues and biological systems"
  # ======================================================================= #
  when /^202\.?673(-|_| )?Mechanics(-|_| )?of(-|_| )?cells,?(-|_| )?tissues(-|_| )?and(-|_| )?biological(-|_| )?systems$/i,
       /^Mechanics(-|_| )?of(-|_| )?cells,?(-|_| )?tissues(-|_| )?and(-|_| )?biological(-|_| )?systems$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2731&dsrid=767&courseNr=202673&semester=2021W"
  # ======================================================================= #
  # === rf "362.180 Genomics technologies, processes and instrumentation"
  # ======================================================================= #
  when /^362\.?180(-|_| )?Genomics(-|_| )?technologies,?(-|_| )?processes(-|_| )?and(-|_| )?instrumentation$/i,
       /^Genomics(-|_| )?technologies,?(-|_| )?processes(-|_| )?and(-|_| )?instrumentation$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1713&dsrid=229&courseNr=362180&semester=2022S"
  # ======================================================================= #
  # === rf "105.692 Einführung in die Statistik"
  # ======================================================================= #
  when /^105\.?692(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Statistik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Statistik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5633&dsrid=823&courseNr=105692&semester=2021S"
  # ======================================================================= #
  # === rf "166.704 Biochemie II"
  # ======================================================================= #
  when /^166\.?704(-|_| )?Biochemie(-|_| )?II$/i,
       /^Biochemie(-|_| )?II$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4274&dsrid=863&courseNr=166704&semester=2023W"
  # ======================================================================= #
  # === rf "130.005 Einführung in das Physikstudium"
  # ======================================================================= #
  when /^130\.?005(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Physikstudium$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?Physikstudium$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3851&dsrid=469&courseNr=130005&semester=2022W"
  # ======================================================================= #
  # === rf "164.199 Biosensoren und Bioprozessanalytik"
  # ======================================================================= #
  when /^164\.?199(-|_| )?Biosensoren(-|_| )?und(-|_| )?Bioprozessanalytik$/i,
       /^Biosensoren(-|_| )?und(-|_| )?Bioprozessanalytik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6500&dsrid=517&courseNr=164199&semester=2021W"
  # ======================================================================= #
  # === rf "163.185 Feuerlöschübung"
  # ======================================================================= #
  when /^163\.?185(-|_| )?Feuerlöschübung$/i,
       /^Feuerlöschübung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?courseNr=163185&semester=2024S"
  # ======================================================================= #
  # === rf "188.995 Datenorientierte Programmierparadigmen"
  # ======================================================================= #
  when /^188\.?995(-|_| )?Datenorientierte(-|_| )?Programmierparadigmen$/i,
       /^Datenorientierte(-|_| )?Programmierparadigmen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4680&dsrid=57&courseNr=188995&semester=2022W"
  # ======================================================================= #
  # === rf "184.237 Verteilte Systeme"
  # ======================================================================= #
  when /^184\.?237(-|_| )?Verteilte(-|_| )?Systeme$/i,
       /^Verteilte(-|_| )?Systeme$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8760&dsrid=680&courseNr=184237&semester=2020W"
  # ======================================================================= #
  # === rf "184.167 Verteilte Systeme"
  # ======================================================================= #
  when /^184\.?167(-|_| )?Verteilte(-|_| )?Systeme$/i,
       /^Verteilte(-|_| )?Systeme$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1077&dsrid=417&courseNr=184167&semester=2020W"
  # ======================================================================= #
  # === rf "186.841 Einführung in die digitale Bildverarbeitung"
  # ======================================================================= #
  when /^186\.?841(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?digitale(-|_| )?Bildverarbeitung$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?digitale(-|_| )?Bildverarbeitung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3613&dsrid=568&courseNr=186841&semester=2021W"
  # ======================================================================= #
  # === rf "138.038 Grundlagen der Physik"
  # ======================================================================= #
  when /^138\.?038(-|_| )?Grundlagen(-|_| )?der(-|_| )?Physik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Physik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1231&dsrid=450&courseNr=138038&semester=2021S"
  # ======================================================================= #
  # === rf "107.A03 Datenanalyse"
  # ======================================================================= #
  when /^107\.?A03(-|_| )?Datenanalyse$/i,
       /^Datenanalyse$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2896&dsrid=38&courseNr=107A03&semester=2022S"
  # ======================================================================= #
  # === rf "183.636 Mobile Computing in Health Care"
  # ======================================================================= #
  when /^183\.?636(-|_| )?Mobile(-|_| )?Computing(-|_| )?in(-|_| )?Health(-|_| )?Care$/i,
       /^Mobile(-|_| )?Computing(-|_| )?in(-|_| )?Health(-|_| )?Care$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7539&dsrid=94&courseNr=183636&semester=2021S"
  # ======================================================================= #
  # === rf "183.253 Informationssysteme des Gesundheitswesens"
  # ======================================================================= #
  when /^183\.?253(-|_| )?Informationssysteme(-|_| )?des(-|_| )?Gesundheitswesens$/i,
       /^Informationssysteme(-|_| )?des(-|_| )?Gesundheitswesens$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3607&dsrid=63&courseNr=183253&semester=2020W"
  # ======================================================================= #
  # === rf "193.054 Anwendungen im Gesundheitswesen"
  # ======================================================================= #
  when /^193\.?054(-|_| )?Anwendungen(-|_| )?im(-|_| )?Gesundheitswesen$/i,
       /^Anwendungen(-|_| )?im(-|_| )?Gesundheitswesen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7857&dsrid=505&courseNr=193054&semester=2020W"
  # ======================================================================= #
  # === rf "186.844 Einführung in die Mustererkennung"
  # ======================================================================= #
  when /^186\.?844(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Mustererkennung$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Mustererkennung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6554&dsrid=98&courseNr=186844&semester=2020W"
  # ======================================================================= #
  # === rf "166.157 Bioverfahrenstechnik - Downstream processing"
  # ======================================================================= #
  when /^166\.?157(-|_| )?Bioverfahrenstechnik(-|_| )?(-|_)?(-|_| )?Downstream(-|_| )?processing$/i,
       /^Bioverfahrenstechnik(-|_| )?(-|_)?(-|_| )?Downstream(-|_| )?processing$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2154&dsrid=64&courseNr=166157&semester=2023S"
  # ======================================================================= #
  # === rf "187.250 Zwischen Karriere und Barriere"
  # ======================================================================= #
  when /^187\.?250(-|_| )?Zwischen(-|_| )?Karriere(-|_| )?und(-|_| )?Barriere$/i,
       /^Zwischen(-|_| )?Karriere(-|_| )?und(-|_| )?Barriere$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9095&dsrid=145&courseNr=187250&semester=2021W"
  # ======================================================================= #
  # === rf "166.692 Introduction to Microscopy in Biology"
  # ======================================================================= #
  when /^166\.?692(-|_| )?Introduction(-|_| )?to(-|_| )?Microscopy(-|_| )?in(-|_| )?Biology$/i,
       /^Introduction(-|_| )?to(-|_| )?Microscopy(-|_| )?in(-|_| )?Biology$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3946&dsrid=474&courseNr=166692&semester=2023W"
  # ======================================================================= #
  # === rf "166.681 Biochemie"
  # ======================================================================= #
  when /^166\.?681(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5917&dsrid=818&courseNr=166681&semester=2024S"
  # ======================================================================= #
  # === rf "104.084 Mathematik für TCH I"
  # ======================================================================= #
  when /^104\.?084(-|_| )?Mathematik(-|_| )?für(-|_| )?TCH(-|_| )?I$/i,
       /^Mathematik(-|_| )?für(-|_| )?TCH(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3254&dsrid=119&courseNr=104084&semester=2022W"
  # ======================================================================= #
  # === rf "104.947 Mathematik für TCH II"
  # ======================================================================= #
  when /^104\.?947(-|_| )?Mathematik(-|_| )?für(-|_| )?TCH(-|_| )?II$/i,
       /^Mathematik(-|_| )?für(-|_| )?TCH(-|_| )?II$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3337&dsrid=521&courseNr=104947&semester=2021S"
  # ======================================================================= #
  # === rf "163.105 Totalsynthese von Naturstoffen"
  # ======================================================================= #
  when /^163\.?105(-|_| )?Totalsynthese(-|_| )?von(-|_| )?Naturstoffen$/i,
       /^Totalsynthese(-|_| )?von(-|_| )?Naturstoffen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8581&dsrid=300&courseNr=163105&semester=2021S"
  # ======================================================================= #
  # === rf "202.647 Mathematical Systems Biology"
  # ======================================================================= #
  when /^202\.?647(-|_| )?Mathematical(-|_| )?Systems(-|_| )?Biology$/i,
       /^Mathematical(-|_| )?Systems(-|_| )?Biology$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2894&dsrid=678&courseNr=202647&semester=2021W"
  # ======================================================================= #
  # === rf "191.116 Scientific Programming with Python"
  # ======================================================================= #
  when /^191\.?116(-|_| )?Scientific(-|_| )?Programming(-|_| )?with(-|_| )?Python$/i,
       /^Scientific(-|_| )?Programming(-|_| )?with(-|_| )?Python$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6208&dsrid=421&courseNr=191116&semester=2020W"
  # ======================================================================= #
  # === rf "222.587 Statistik für Umweltingenieurwesen"
  # ======================================================================= #
  when /^222\.?587(-|_| )?Statistik(-|_| )?für(-|_| )?Umweltingenieurwesen$/i,
       /^Statistik(-|_| )?für(-|_| )?Umweltingenieurwesen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9606&dsrid=41&courseNr=222587&semester=2022S"
  # ======================================================================= #
  # === rf "164.183 Analytische Chemie und Meßmethoden"
  # ======================================================================= #
  when /^164\.?183(-|_| )?Analytische(-|_| )?Chemie(-|_| )?und(-|_| )?Meßmethoden$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?und(-|_| )?Meßmethoden$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3205&dsrid=488&courseNr=164183&semester=2022W"
  # ======================================================================= #
  # === rf "166.223 Biochemie für Informatiker"
  # ======================================================================= #
  when /^166\.?223(-|_| )?Biochemie(-|_| )?für(-|_| )?Informatiker$/i,
       /^Biochemie(-|_| )?für(-|_| )?Informatiker$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9866&dsrid=890&courseNr=166223&semester=2024S"
  # ======================================================================= #
  # === rf "350.002 Orientierung ETIT"
  # ======================================================================= #
  when /^350\.?002(-|_| )?Orientierung(-|_| )?ETIT$/i,
       /^Orientierung(-|_| )?ETIT$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2260&dsrid=830&courseNr=350002&dsrid=227"
  # ======================================================================= #
  # === rf "164.306 Organische Massenspektrometrie"
  # ======================================================================= #
  when /^164\.?306(-|_| )?Organische(-|_| )?Massenspektrometrie$/i,
       /^Organische(-|_| )?Massenspektrometrie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1438&dsrid=275&courseNr=164306&semester=2020W"
  # ======================================================================= #
  # === rf "188.366 Internet Security"
  # ======================================================================= #
  when /^188\.?366(-|_| )?Internet(-|_| )?Security$/i,
       /^Internet(-|_| )?Security$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8086&dsrid=376&courseNr=188366&semester=2020S"
  # ======================================================================= #
  # === rf "180.766 Orientierung Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^180\.?766(-|_| )?Orientierung(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Orientierung(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2468&dsrid=267&courseNr=180766&semester=2024S"
  # ======================================================================= #
  # === rf "166.164 Bioverfahrenstechnik"
  # ======================================================================= #
  when /^166\.?164(-|_| )?Bioverfahrenstechnik$/i,
       /^Bioverfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9980&dsrid=724&courseNr=166164&semester=2023S"
  # ======================================================================= #
  # === rf "164.279 Statistik für Chemiker - Eine praxisorientierte Einführung"
  # ======================================================================= #
  when /^164\.?279(-|_| )?Statistik(-|_| )?für(-|_| )?Chemiker(-|_| )?(-|_)?(-|_| )?Eine(-|_| )?praxisorientierte(-|_| )?Einführung$/i,
       /^Statistik(-|_| )?für(-|_| )?Chemiker(-|_| )?(-|_)?(-|_| )?Eine(-|_| )?praxisorientierte(-|_| )?Einführung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3758&dsrid=36&courseNr=164279&semester=2020S"
  # ======================================================================= #
  # === rf "175.024 Political Economy of Europe"
  # ======================================================================= #
  when /^175\.?024(-|_| )?Political(-|_| )?Economy(-|_| )?of(-|_| )?Europe$/i,
       /^Political(-|_| )?Economy(-|_| )?of(-|_| )?Europe$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4583&dsrid=811&courseNr=175024&semester=2022W"
  # ======================================================================= #
  # === rf "159.073 Industrieseminar"
  # ======================================================================= #
  when /^159\.?073(-|_| )?Industrieseminar$/i,
       /^Industrieseminar$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6680&dsrid=139&courseNr=159073&semester=2021S"
  # ======================================================================= #
  # === rf "163.123 Organische Chemie für Verfahrenstechniker"
  # ======================================================================= #
  when /^163\.?123(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Verfahrenstechniker$/i,
       /^Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Verfahrenstechniker$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6041&dsrid=464&courseNr=163123&semester=2023S"
  # ======================================================================= #
  # === rf "134.202 Biomembranes"
  # ======================================================================= #
  when /^134\.?202(-|_| )?Biomembranes$/i,
       /^Biomembranes$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5656&dsrid=265&courseNr=134202&semester=2023S"
  # ======================================================================= #
  # === rf "166.216 Projektmanagement für VT"
  # ======================================================================= #
  when /^166\.?216(-|_| )?Projektmanagement(-|_| )?für(-|_| )?VT$/i,
       /^Projektmanagement(-|_| )?für(-|_| )?VT$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8351&dsrid=397&courseNr=166216&semester=2022W"
  # ======================================================================= #
  # === rf "330.156 Projektmanagement"
  # ======================================================================= #
  when /^330\.?156(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6675&dsrid=765&courseNr=330156&semester=2022S"
  # ======================================================================= #
  # === rf "153.054 Chemische Übungen für TPH"
  # ======================================================================= #
  when /^153\.?054(-|_| )?Chemische(-|_| )?Übungen(-|_| )?für(-|_| )?TPH$/i,
       /^Chemische(-|_| )?Übungen(-|_| )?für(-|_| )?TPH$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4563&dsrid=892&courseNr=153054&semester=2021S"
  # ======================================================================= #
  # === rf "163.176 Strukturaufklärung"
  # ======================================================================= #
  when /^163\.?176(-|_| )?Strukturaufklärung$/i,
       /^Strukturaufklärung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2787&dsrid=70&courseNr=163176&semester=2022W"
  # ======================================================================= #
  # === rf "166.193 Mikrobiologie Laborübungen"
  # ======================================================================= #
  when /^166\.?193(-|_| )?Mikrobiologie(-|_| )?Laborübungen$/i,
       /^Mikrobiologie(-|_| )?Laborübungen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6900&dsrid=260&courseNr=166193&semester=2021W"
  # ======================================================================= #
  # === rf "164.171 Chemische Nanoskopie"
  # ======================================================================= #
  when /^164\.?171(-|_| )?Chemische(-|_| )?Nanoskopie$/i,
       /^Chemische(-|_| )?Nanoskopie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2315&dsrid=817&courseNr=164171&semester=2022W"
  # ======================================================================= #
  # === rf "185.326 Molecular Computing"
  # ======================================================================= #
  when /^185\.?326(-|_| )?Molecular(-|_| )?Computing$/i,
       /^Molecular(-|_| )?Computing$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1736&dsrid=715&courseNr=185326&semester=2020S&dsrid=799"
  # ======================================================================= #
  # === rf "317.032 Biomechanik der Gewebe"
  # ======================================================================= #
  when /^317\.?032(-|_| )?Biomechanik(-|_| )?der(-|_| )?Gewebe$/i,
       /^Biomechanik(-|_| )?der(-|_| )?Gewebe$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3144&dsrid=105&courseNr=317032&semester=2022W"
  # ======================================================================= #
  # === rf "164.178 Analytische Chemie II"
  # ======================================================================= #
  when /^164\.?178(-|_| )?Analytische(-|_| )?Chemie(-|_| )?II$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?II$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6314&dsrid=965&courseNr=164178&semester=2023S"
  # ======================================================================= #
  # === rf "182.709 Betriebssysteme"
  # ======================================================================= #
  when /^182\.?709(-|_| )?Betriebssysteme$/i,
       /^Betriebssysteme$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6793&dsrid=65&courseNr=182709&semester=2022W"
  # ======================================================================= #
  # === rf "133.293 Grundlagen der Elektronenmikroskopie"
  # ======================================================================= #
  when /^133\.?293(-|_| )?Grundlagen(-|_| )?der(-|_| )?Elektronenmikroskopie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Elektronenmikroskopie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4632&dsrid=177&courseNr=133293&semester=2020S"
  # ======================================================================= #
  # === rf "166.641 Biotechnologie für VT"
  # ======================================================================= #
  when /^166\.?641(-|_| )?Biotechnologie(-|_| )?für(-|_| )?VT$/i,
       /^Biotechnologie(-|_| )?für(-|_| )?VT$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1295&dsrid=422&courseNr=166641&semester=2022W"
  # ======================================================================= #
  # === rf "183.594 Introduction to Security"
  # ======================================================================= #
  when /^183\.?594(-|_| )?Introduction(-|_| )?to(-|_| )?Security$/i,
       /^Introduction(-|_| )?to(-|_| )?Security$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7654&dsrid=467&courseNr=183594&semester=2020W"
  # ======================================================================= #
  # === rf "134.201 Molecular Biology of the Cell"
  # ======================================================================= #
  when /^134\.?201(-|_| )?Molecular(-|_| )?Biology(-|_| )?of(-|_| )?the(-|_| )?Cell$/i,
       /^Molecular(-|_| )?Biology(-|_| )?of(-|_| )?the(-|_| )?Cell$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4375&dsrid=103&courseNr=134201&semester=2022W"
  # ======================================================================= #
  # === rf "164.319 Röntgenkristallographie"
  # ======================================================================= #
  when /^164\.?319(-|_| )?Röntgenkristallographie$/i,
       /^Röntgenkristallographie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1681&dsrid=544&courseNr=164319&semester=2020W"
  # ======================================================================= #
  # === rf "180.771 Propädeutikum für Informatik"
  # ======================================================================= #
  when /^180\.?771(-|_| )?Propädeutikum(-|_| )?für(-|_| )?Informatik$/i,
       /^Propädeutikum(-|_| )?für(-|_| )?Informatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7218&dsrid=501&courseNr=180771&semester=2022W"
  # ======================================================================= #
  # === rf "138.000 Physikalisches Praktikum für InformatikerInnen"
  # ======================================================================= #
  when /^138\.?000(-|_| )?Physikalisches(-|_| )?Praktikum(-|_| )?für(-|_| )?InformatikerInnen$/i,
       /^Physikalisches(-|_| )?Praktikum(-|_| )?für(-|_| )?InformatikerInnen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3588&dsrid=74&courseNr=138000&semester=2020W"
  # ======================================================================= #
  # === rf "122.424 Einführung in das Programmieren 1 für Geodäsie, Geoinformation und Umweltingenieurwesen"
  # ======================================================================= #
  when /^122\.?424(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Programmieren(-|_| )?1(-|_| )?für(-|_| )?Geodäsie,?(-|_| )?Geoinformation(-|_| )?und(-|_| )?Umweltingenieurwesen$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?Programmieren(-|_| )?1(-|_| )?für(-|_| )?Geodäsie,?(-|_| )?Geoinformation(-|_| )?und(-|_| )?Umweltingenieurwesen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1649&dsrid=898&courseNr=122424&semester=2021W"
  # ======================================================================= #
  # === rf "163.178 Lab-on-a-Chip Technologien"
  # ======================================================================= #
  when /^163\.?178(-|_| )?Lab(-|_)?on(-|_)?a(-|_)?Chip(-|_| )?Technologien$/i,
       /^Lab(-|_)?on(-|_)?a(-|_)?Chip(-|_| )?Technologien$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9972&dsrid=1&courseNr=163178&semester=2022W"
  # ======================================================================= #
  # === rf "185.211 Fortgeschrittene objektorientierte Programmierung"
  # ======================================================================= #
  when /^185\.?211(-|_| )?Fortgeschrittene(-|_| )?objektorientierte(-|_| )?Programmierung$/i,
       /^Fortgeschrittene(-|_| )?objektorientierte(-|_| )?Programmierung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6085&dsrid=681&courseNr=185211&semester=2023S"
  # ======================================================================= #
  # === rf "164.185 Festkörperchemie"
  # ======================================================================= #
  when /^164\.?185(-|_| )?Festkörperchemie$/i,
       /^Festkörperchemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3957&dsrid=995&courseNr=164185&semester=2024S"
  # ======================================================================= #
  # === rf "164.221 Chemische Technologie anorganischer Stoffe"
  # ======================================================================= #
  when /^164\.?221(-|_| )?Chemische(-|_| )?Technologie(-|_| )?anorganischer(-|_| )?Stoffe$/i,
       /^Chemische(-|_| )?Technologie(-|_| )?anorganischer(-|_| )?Stoffe$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6811&dsrid=842&courseNr=164221&semester=2023S"
  # ======================================================================= #
  # === rf "120.089 Einführung in Python-Programmierung für Geowissenschaften"
  # ======================================================================= #
  when /^120\.?089(-|_| )?Einführung(-|_| )?in(-|_| )?Python(-|_)?Programmierung(-|_| )?für(-|_| )?Geowissenschaften$/i,
       /^Einführung(-|_| )?in(-|_| )?Python(-|_)?Programmierung(-|_| )?für(-|_| )?Geowissenschaften$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4117&dsrid=255&courseNr=120089&semester=2019W"
  # ======================================================================= #
  # === rf "164.220 Biochip Technologies in (Bio)Analytical Chemistry"
  # ======================================================================= #
  when /^164\.?220(-|_| )?Biochip(-|_| )?Technologies(-|_| )?in(-|_| )?\(?Bio\)?Analytical(-|_| )?Chemistry$/i,
       /^Biochip(-|_| )?Technologies(-|_| )?in(-|_| )?\(?Bio\)?Analytical(-|_| )?Chemistry$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3455&dsrid=787&courseNr=164220&semester=2023S"
  # ======================================================================= #
  # === rf "280.239 EDV-Vertragsrecht"
  # ======================================================================= #
  when /^280\.?239(-|_| )?EDV(-|_)?Vertragsrecht$/i,
       /^EDV(-|_)?Vertragsrecht$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6277&dsrid=705&courseNr=280239&semester=2021S"
  # ======================================================================= #
  # === rf "166.127 Ökologische u. gesellschaftliche Aspekte d. Chemie"
  # ======================================================================= #
  when /^166\.?127(-|_| )?Ökologische(-|_| )?u\.?(-|_| )?gesellschaftliche(-|_| )?Aspekte(-|_| )?d\.?(-|_| )?Chemie$/i,
       /^Ökologische(-|_| )?u\.?(-|_| )?gesellschaftliche(-|_| )?Aspekte(-|_| )?d\.?(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7752&dsrid=436&courseNr=166127&semester=2022S"
  # ======================================================================= #
  # === rf "134.996 Mikroskopie an Biomolekülen"
  # ======================================================================= #
  when /^134\.?996(-|_| )?Mikroskopie(-|_| )?an(-|_| )?Biomolekülen$/i,
       /^Mikroskopie(-|_| )?an(-|_| )?Biomolekülen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6466&dsrid=277&courseNr=134996&semester=2022W"
  # ======================================================================= #
  # === rf "134.220 Superresolution microscopy with single molecules"
  # ======================================================================= #
  when /^134\.?220(-|_| )?Superresolution(-|_| )?microscopy(-|_| )?with(-|_| )?single(-|_| )?molecules$/i,
       /^Superresolution(-|_| )?microscopy(-|_| )?with(-|_| )?single(-|_| )?molecules$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8319&dsrid=905&courseNr=134220&semester=2023S"
  # ======================================================================= #
  # === rf "101.028 Einführung in die Biomedizinische Technik"
  # ======================================================================= #
  when /^101\.?028(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biomedizinische(-|_| )?Technik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Biomedizinische(-|_| )?Technik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3184&dsrid=612&courseNr=101028&semester=2023W"
  # ======================================================================= #
  # === rf "164.292 Industrielle Chemie"
  # ======================================================================= #
  when /^164\.?292(-|_| )?Industrielle(-|_| )?Chemie$/i,
       /^Industrielle(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1161&dsrid=970&courseNr=164292&semester=2023S"
  # ======================================================================= #
  # === rf "366.079 Optische Sensoren für die Biomedizin"
  # ======================================================================= #
  when /^366\.?079(-|_| )?Optische(-|_| )?Sensoren(-|_| )?für(-|_| )?die(-|_| )?Biomedizin$/i,
       /^Optische(-|_| )?Sensoren(-|_| )?für(-|_| )?die(-|_| )?Biomedizin$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7771&dsrid=913&courseNr=366079&semester=2020S"
  # ======================================================================= #
  # === rf "153.063 Demonstrationen zu Chemie für TPH"
  # ======================================================================= #
  when /^153\.?063(-|_| )?Demonstrationen(-|_| )?zu(-|_| )?Chemie(-|_| )?für(-|_| )?TPH$/i,
       /^Demonstrationen(-|_| )?zu(-|_| )?Chemie(-|_| )?für(-|_| )?TPH$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9436&dsrid=346&courseNr=153063&semester=2020S"
  # ======================================================================= #
  # === rf "317.530 Grundlagen des Programmierens für MB, WIMB und VT"
  # ======================================================================= #
  when /^317\.?530(-|_| )?Grundlagen(-|_| )?des(-|_| )?Programmierens(-|_| )?für(-|_| )?MB,?(-|_| )?WIMB(-|_| )?und(-|_| )?VT$/i,
       /^Grundlagen(-|_| )?des(-|_| )?Programmierens(-|_| )?für(-|_| )?MB,?(-|_| )?WIMB(-|_| )?und(-|_| )?VT$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7035&dsrid=698&courseNr=317530&semester=2023W"
  # ======================================================================= #
  # === rf "185.A83 Machine Learning for Health Informatics"
  # ======================================================================= #
  when /^185\.?A83(-|_| )?Machine(-|_| )?Learning(-|_| )?for(-|_| )?Health(-|_| )?Informatics$/i,
       /^Machine(-|_| )?Learning(-|_| )?for(-|_| )?Health(-|_| )?Informatics$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3811&dsrid=725&courseNr=185A83&semester=2020S"
  # ======================================================================= #
  # === rf "186.182 Seminar aus Algorithmik"
  # ======================================================================= #
  when /^186\.?182(-|_| )?Seminar(-|_| )?aus(-|_| )?Algorithmik$/i,
       /^Seminar(-|_| )?aus(-|_| )?Algorithmik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2627&dsrid=725&courseNr=186182&semester=2020S"
  # ======================================================================= #
  # === rf "360.017 Programmieren 2"
  # ======================================================================= #
  when /^360\.?017(-|_| )?Programmieren(-|_| )?2$/i,
       /^Programmieren(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5448&dsrid=353&courseNr=360017&semester=2019W"
  # ======================================================================= #
  # === rf "184.682 Abstract Argumentation"
  # ======================================================================= #
  when /^184\.?682(-|_| )?Abstract(-|_| )?Argumentation$/i,
       /^Abstract(-|_| )?Argumentation$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3747&dsrid=793&courseNr=352002&semester=2020S"
  # ======================================================================= #
  # === rf "138.066 Datenverarbeitung für TPH I"
  # ======================================================================= #
  when /^138\.?066(-|_| )?Datenverarbeitung(-|_| )?für(-|_| )?TPH(-|_| )?I$/i,
       /^Datenverarbeitung(-|_| )?für(-|_| )?TPH(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9343&dsrid=287&courseNr=138066&semester=2019W"
  # ======================================================================= #
  # === rf "166.648 Biologie und Genetik industrieller Mikroorganismen"
  # ======================================================================= #
  when /^166\.?648(-|_| )?Biologie(-|_| )?und(-|_| )?Genetik(-|_| )?industrieller(-|_| )?Mikroorganismen$/i,
       /^Biologie(-|_| )?und(-|_| )?Genetik(-|_| )?industrieller(-|_| )?Mikroorganismen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5374&dsrid=68&courseNr=166648&semester=2024S"
  # ======================================================================= #
  # === rf "166.159 Mikrobiologie"
  # ======================================================================= #
  when /^166\.?159(-|_| )?Mikrobiologie$/i,
       /^Mikrobiologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7422&dsrid=41&courseNr=166159&semester=2021W"
  # ======================================================================= #
  # === rf "226.011 Biologie und Chemie des Wassers"
  # ======================================================================= #
  when /^226\.?011(-|_| )?Biologie(-|_| )?und(-|_| )?Chemie(-|_| )?des(-|_| )?Wassers$/i,
       /^Biologie(-|_| )?und(-|_| )?Chemie(-|_| )?des(-|_| )?Wassers$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2324&dsrid=410&courseNr=226011&semester=2012W"
  # ======================================================================= #
  # === rf "163.114 Medizinische Chemie"
  # ======================================================================= #
  when /^163\.?114(-|_| )?Medizinische(-|_| )?Chemie$/i,
       /^Medizinische(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2324&dsrid=410&courseNr=163114&semester=2020W"
  # ======================================================================= #
  # === rf "183.223 Web Application Engineering & Content Management"
  # ======================================================================= #
  when /^183\.?223(-|_| )?Web(-|_| )?Application(-|_| )?Engineering(-|_| )?&(-|_| )?Content(-|_| )?Management$/i,
       /^Web(-|_| )?Application(-|_| )?Engineering(-|_| )?&(-|_| )?Content(-|_| )?Management$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8758&dsrid=833&courseNr=183223&semester=2020S"
  # ======================================================================= #
  # === rf "163.159 Strategien in der organischen Synthese"
  # ======================================================================= #
  when /^163\.?159(-|_| )?Strategien(-|_| )?in(-|_| )?der(-|_| )?organischen(-|_| )?Synthese$/i,
       /^Strategien(-|_| )?in(-|_| )?der(-|_| )?organischen(-|_| )?Synthese$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1203&dsrid=618&courseNr=163159&semester=2020S"
  # ======================================================================= #
  # === rf "188.519 Programmierung von Geschäfts-Anwendungen mit Ruby on Rails"
  # ======================================================================= #
  when /^188\.?519(-|_| )?Programmierung(-|_| )?von(-|_| )?Geschäfts(-|_)?Anwendungen(-|_| )?mit(-|_| )?Ruby(-|_| )?on(-|_| )?Rails$/i,
       /^Programmierung(-|_| )?von(-|_| )?Geschäfts(-|_)?Anwendungen(-|_| )?mit(-|_| )?Ruby(-|_| )?on(-|_| )?Rails$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8123&dsrid=265&courseNr=188519&semester=2022S"
  # ======================================================================= #
  # === rf "138.053 Materialwissenschaften"
  # ======================================================================= #
  when /^138\.?053(-|_| )?Materialwissenschaften$/i,
       /^Materialwissenschaften$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5005&dsrid=49&courseNr=138053&semester=2023W"
  # ======================================================================= #
  # === rf "164.314 Instrumentelle Bioanalytik"
  # ======================================================================= #
  when /^164\.?314(-|_| )?Instrumentelle(-|_| )?Bioanalytik$/i,
       /^Instrumentelle(-|_| )?Bioanalytik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3393&dsrid=903&courseNr=164314&semester=2022S"
  # ======================================================================= #
  # === rf "280.122 Finanzwissenschaft und Infrastrukurökonomie"
  # ======================================================================= #
  when /^280\.?122(-|_| )?Finanzwissenschaft(-|_| )?und(-|_| )?Infrastrukurökonomie$/i,
       /^Finanzwissenschaft(-|_| )?und(-|_| )?Infrastrukurökonomie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8062&dsrid=822&courseNr=280122&semester=2020S"
  # ======================================================================= #
  # === rf "164.240 Festkörperchemie"
  # ======================================================================= #
  when /^164\.?240(-|_| )?Festkörperchemie$/i,
       /^Festkörperchemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3188&dsrid=331&courseNr=164240&semester=2020S"
  # ======================================================================= #
  # === rf "164.254 Instrumentelles und Bioanalytisches Labor"
  # ======================================================================= #
  when /^164\.?254(-|_| )?Instrumentelles(-|_| )?und(-|_| )?Bioanalytisches(-|_| )?Labor$/i,
       /^Instrumentelles(-|_| )?und(-|_| )?Bioanalytisches(-|_| )?Labor$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1179&dsrid=485&courseNr=164254&semester=2021S"
  # ======================================================================= #
  # === rf "163.119 Organische Chemie I"
  # ======================================================================= #
  when /^163\.?119(-|_| )?Organische(-|_| )?Chemie(-|_| )?I$/i,
       /^Organische(-|_| )?Chemie(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5723&dsrid=496&courseNr=163119&semester=2020S"
  # ======================================================================= #
  # === rf "166.209 Verfahrenstechnik"
  # ======================================================================= #
  when /^166\.?209(-|_| )?Verfahrenstechnik$/i,
       /^Verfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2534&dsrid=581&courseNr=166209&semester=2020S&dsrid=649"
  # ======================================================================= #
  # === rf "164.234 Instrumental Analytical Biochemistry - Instrumentelle Analytische Biochemie"
  # ======================================================================= #
  when /^164\.?234(-|_| )?Instrumental(-|_| )?Analytical(-|_| )?Biochemistry(-|_| )?(-|_)?(-|_| )?Instrumentelle(-|_| )?Analytische(-|_| )?Biochemie$/i,
       /^Instrumental(-|_| )?Analytical(-|_| )?Biochemistry(-|_| )?(-|_)?(-|_| )?Instrumentelle(-|_| )?Analytische(-|_| )?Biochemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4492&dsrid=521&courseNr=164234&semester=2024S"
  # ======================================================================= #
  # === rf "134.209 Molekulare Biophysik"
  # ======================================================================= #
  when /^134\.?209(-|_| )?Molekulare(-|_| )?Biophysik$/i,
       /^Molekulare(-|_| )?Biophysik$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=6268&dsrid=108&courseNr=134209&semester=2022W"
  # ======================================================================= #
  # === rf "164.343 Introduction to Biostatistics"
  # ======================================================================= #
  when /^164\.?343(-|_| )?Introduction(-|_| )?to(-|_| )?Biostatistics$/i,
       /^Introduction(-|_| )?to(-|_| )?Biostatistics$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6099&dsrid=991&courseNr=164343&semester=2020W"
  # ======================================================================= #
  # === rf "362.156 Programmierpraktikum"
  # ======================================================================= #
  when /^362\.?156(-|_| )?Programmierpraktikum$/i,
       /^Programmierpraktikum$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6038&dsrid=531&courseNr=362156&semester=2023W"
  # ======================================================================= #
  # === rf "317.516 Numerische Methoden der Ingenieurwissenschaften"
  # ======================================================================= #
  when /^317\.?516(-|_| )?Numerische(-|_| )?Methoden(-|_| )?der(-|_| )?Ingenieurwissenschaften$/i,
       /^Numerische(-|_| )?Methoden(-|_| )?der(-|_| )?Ingenieurwissenschaften$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9873&dsrid=603&courseNr=317516&semester=2022S"
  # ======================================================================= #
  # === rf "166.647 Synthetische Biologie"
  # ======================================================================= #
  when /^166\.?647(-|_| )?Synthetische(-|_| )?Biologie$/i,
       /^Synthetische(-|_| )?Biologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6051&dsrid=131&courseNr=166647&semester=2023S"
  # ======================================================================= #
  # === rf "242.022 Grundzüge der Bauinformatik"
  # ======================================================================= #
  when /^242\.?022(-|_| )?Grundzüge(-|_| )?der(-|_| )?Bauinformatik$/i,
       /^Grundzüge(-|_| )?der(-|_| )?Bauinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8792&dsrid=205&courseNr=242022&semester=2020S"
  # ======================================================================= #
  # === rf "226.024 Chemie im Bauwesen"
  # ======================================================================= #
  when /^226\.?024(-|_| )?Chemie(-|_| )?im(-|_| )?Bauwesen$/i,
       /^Chemie(-|_| )?im(-|_| )?Bauwesen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3684&dsrid=527&courseNr=226024&semester=2023W"
  # ======================================================================= #
  # === rf "166.201 Einführung in die Biologie"
  # ======================================================================= #
  when /^166\.?201(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9036&dsrid=843&courseNr=166201&semester=2021W"
  # ======================================================================= #
  # === rf "308.106 Biokompatible Werkstoffe"
  # ======================================================================= #
  when /^308\.?106(-|_| )?Biokompatible(-|_| )?Werkstoffe$/i,
       /^Biokompatible(-|_| )?Werkstoffe$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1365&dsrid=663&courseNr=308106&semester=2022W"
  # ======================================================================= #
  # === rf "166.229 Angewandte Bioinformatik"
  # ======================================================================= #
  when /^166\.?229(-|_| )?Angewandte(-|_| )?Bioinformatik$/i,
       /^Angewandte(-|_| )?Bioinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3667&dsrid=874&courseNr=166229&semester=2022W"
  # ======================================================================= #
  # === rf "185.278 Theoretische Informatik und Logik"
  # ======================================================================= #
  when /^185\.?278(-|_| )?Theoretische(-|_| )?Informatik(-|_| )?und(-|_| )?Logik$/i,
       /^Theoretische(-|_| )?Informatik(-|_| )?und(-|_| )?Logik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5084&dsrid=62&courseNr=185278&semester=2022W"
  # ======================================================================= #
  # === rf "265.066 Daten- und Informatikrecht"
  # ======================================================================= #
  when /^265\.?066(-|_| )?Daten(-|_)?(-|_| )?und(-|_| )?Informatikrecht$/i,
       /^Daten(-|_)?(-|_| )?und(-|_| )?Informatikrecht$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4566&dsrid=332&courseNr=265066&semester=2021W"
  # ======================================================================= #
  # === rf "138.049 Elektronenmikroskopie"
  # ======================================================================= #
  when /^138\.?049(-|_| )?Elektronenmikroskopie$/i,
       /^Elektronenmikroskopie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5723&dsrid=570&courseNr=138049&semester=2019W"
  # ======================================================================= #
  # === rf "166.695 Biochemie Einführung in die"
  # ======================================================================= #
  when /^166\.?695(-|_| )?Biochemie(-|_| )?Einführung(-|_| )?in(-|_| )?die$/i,
       /^Biochemie(-|_| )?Einführung(-|_| )?in(-|_| )?die$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8447&dsrid=336&courseNr=166695&semester=2024S"
  # ======================================================================= #
  # === rf "166.217 Gerbereichemie und Ledertechnik"
  # ======================================================================= #
  when /^166\.?217(-|_| )?Gerbereichemie(-|_| )?und(-|_| )?Ledertechnik$/i,
       /^Gerbereichemie(-|_| )?und(-|_| )?Ledertechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5281&dsrid=349&courseNr=166217&semester=2020S"
  # ======================================================================= #
  # === rf "164.053 Analytische Chemie I"
  # ======================================================================= #
  when /^164\.?053(-|_| )?Analytische(-|_| )?Chemie(-|_| )?I$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5351&dsrid=50&courseNr=164053&semester=2019W"
  # ======================================================================= #
  # === rf "166.221 Bioinformatics for Biomedical Engineers"
  # ======================================================================= #
  when /^166\.?221(-|_| )?Bioinformatics(-|_| )?for(-|_| )?Biomedical(-|_| )?Engineers$/i,
       /^Bioinformatics(-|_| )?for(-|_| )?Biomedical(-|_| )?Engineers$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3981&dsrid=826&courseNr=166221&semester=2022W"
  # ======================================================================= #
  # === rf "166.210 Biotechnologie 2"
  # ======================================================================= #
  when /^166\.?210(-|_| )?Biotechnologie(-|_| )?2$/i,
       /^Biotechnologie(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3813&dsrid=975&courseNr=166210&semester=2023S"
  # ======================================================================= #
  # === rf "166.663 Weisse Biotechnologie und Biorefineries"
  # ======================================================================= #
  when /^166\.?663(-|_| )?Weisse(-|_| )?Biotechnologie(-|_| )?und(-|_| )?Biorefineries$/i,
       /^Weisse(-|_| )?Biotechnologie(-|_| )?und(-|_| )?Biorefineries$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3392&dsrid=881&courseNr=166663&semester=2023S"
  # ======================================================================= #
  # === rf "185.A47 Physiologie und Grundlagen der Pathologie"
  # ======================================================================= #
  when /^185\.?A47(-|_| )?Physiologie(-|_| )?und(-|_| )?Grundlagen(-|_| )?der(-|_| )?Pathologie$/i,
       /^Physiologie(-|_| )?und(-|_| )?Grundlagen(-|_| )?der(-|_| )?Pathologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1419&dsrid=423&courseNr=185A47&semester=2023S"
  # ======================================================================= #
  # === rf "187.A99 Bachelorarbeit für Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^187\.?A99(-|_| )?Bachelorarbeit(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Bachelorarbeit(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2202&dsrid=230&courseNr=187A99&semester=2022S"
  # ======================================================================= #
  # === rf "107.370 Statistik und Wahrscheinlichkeitstheorie"
  # ======================================================================= #
  when /^107\.?370(-|_| )?Statistik(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie$/i,
       /^Statistik(-|_| )?und(-|_| )?Wahrscheinlichkeitstheorie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3864&dsrid=245&courseNr=107370&semester=2022S"
  # ======================================================================= #
  # === rf "166.687 Einführung in die Verfahrenstechnik"
  # ======================================================================= #
  when /^166\.?687(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Verfahrenstechnik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Verfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1887&dsrid=305&courseNr=166687&semester=2019W"
  # ======================================================================= #
  # === rf "280.237 Immobilienwirtschaft"
  # ======================================================================= #
  when /^280\.?237(-|_| )?Immobilienwirtschaft$/i,
       /^Immobilienwirtschaft$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3454&dsrid=461&courseNr=280237&semester=2019S"
  # ======================================================================= #
  # === rf "280.628 Immobilienwirtschaft"
  # ======================================================================= #
  when /^280\.?628(-|_| )?Immobilienwirtschaft$/i,
       /^Immobilienwirtschaft$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1886&dsrid=754&courseNr=280628&semester=2019S"
  # ======================================================================= #
  # === rf "234.992 Der Bauträger in der Immobilienwirtschaft"
  # ======================================================================= #
  when /^234\.?992(-|_| )?Der(-|_| )?Bauträger(-|_| )?in(-|_| )?der(-|_| )?Immobilienwirtschaft$/i,
       /^Der(-|_| )?Bauträger(-|_| )?in(-|_| )?der(-|_| )?Immobilienwirtschaft$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4893&dsrid=992&courseNr=234992&semester=2019W"
  # ======================================================================= #
  # === rf "172.695 Biochemie I"
  # ======================================================================= #
  when /^172\.?695(-|_| )?Biochemie(-|_| )?I$/i,
       /^Biochemie(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2244&dsrid=461&courseNr=172695&semester=2023W"
  # ======================================================================= #
  # === rf "186.819 Bachelorarbeit für Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^186\.?819(-|_| )?Bachelorarbeit(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Bachelorarbeit(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3563&dsrid=990&courseNr=186819&semester=2019W"
  # ======================================================================= #
  # === rf "105.605 Mikroökonomie für WM"
  # ======================================================================= #
  when /^105\.?605(-|_| )?Mikroökonomie(-|_| )?für(-|_| )?WM$/i,
       /^Mikroökonomie(-|_| )?für(-|_| )?WM$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5836&dsrid=531&courseNr=105605&semester=2023S"
  # ======================================================================= #
  # === rf "186.832 Einführung in die Computergraphik"
  # ======================================================================= #
  when /^186\.?832(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Computergraphik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Computergraphik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8955&dsrid=82&courseNr=186832&semester=2019W"
  # ======================================================================= #
  # === rf "317.043 Einführung in die Biomechanik"
  # ======================================================================= #
  when /^317\.?043(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biomechanik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Biomechanik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5102&dsrid=32&courseNr=317043&semester=2019W"
  # ======================================================================= #
  # === rf "351.008 Elektrotechnik 1"
  # ======================================================================= #
  when /^351\.?008(-|_| )?Elektrotechnik(-|_| )?1$/i,
       /^Elektrotechnik(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1039&dsrid=278&courseNr=351008&semester=2019W"
  # ======================================================================= #
  # === rf "351.009 Elektrotechnik 1"
  # ======================================================================= #
  when /^351\.?009(-|_| )?Elektrotechnik(-|_| )?1$/i,
       /^Elektrotechnik(-|_| )?1$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2551&dsrid=292&courseNr=351009&semester=2019W"
  # ======================================================================= #
  # === rf "351.012 Elektrotechnik 2"
  # ======================================================================= #
  when /^351\.?012(-|_| )?Elektrotechnik(-|_| )?2$/i,
       /^Elektrotechnik(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2072&dsrid=27&courseNr=351011&semester=2019W"
  # ======================================================================= #
  # === rf "185.330 Anatomie und Histologie"
  # ======================================================================= #
  when /^185\.?330(-|_| )?Anatomie(-|_| )?und(-|_| )?Histologie$/i,
       /^Anatomie(-|_| )?und(-|_| )?Histologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8991&dsrid=869&courseNr=185330&semester=2022W"
  # ======================================================================= #
  # === rf "107.391 Multivariate Statistik"
  # ======================================================================= #
  when /^107\.?391(-|_| )?Multivariate(-|_| )?Statistik$/i,
       /^Multivariate(-|_| )?Statistik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3479&dsrid=74&courseNr=107391&semester=2023W"
  # ======================================================================= #
  # === rf "107.330 Statistische Simulation und computerintensive Methoden"
  # ======================================================================= #
  when /^107\.?330(-|_| )?Statistische(-|_| )?Simulation(-|_| )?und(-|_| )?computerintensive(-|_| )?Methoden$/i,
       /^Statistische(-|_| )?Simulation(-|_| )?und(-|_| )?computerintensive(-|_| )?Methoden$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5274&dsrid=567&courseNr=107330&semester=2019W"
  # ======================================================================= #
  # === rf "107.388 Multivariate Statistik"
  # ======================================================================= #
  when /^107\.?388(-|_| )?Multivariate(-|_| )?Statistik$/i,
       /^Multivariate(-|_| )?Statistik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9549&dsrid=512&courseNr=107388&semester=2023W"
  # ======================================================================= #
  # === rf "165.156 Physikalische Chemie I"
  # ======================================================================= #
  when /^165\.?156(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?I$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5084&dsrid=687&courseNr=165156&semester=2019S"
  # ======================================================================= #
  # === rf "164.230 Bachelorarbeit"
  # ======================================================================= #
  when /^164\.?230(-|_| )?Bachelorarbeit$/i,
       /^Bachelorarbeit$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3648&dsrid=215&courseNr=164230&semester=2020S"
  # ======================================================================= #
  # === rf "138.042 Physik II für TCH"
  # ======================================================================= #
  when /^138\.?042(-|_| )?Physik(-|_| )?II(-|_| )?für(-|_| )?TCH$/i,
       /^Physik(-|_| )?II(-|_| )?für(-|_| )?TCH$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6806&dsrid=869&courseNr=138042&semester=2020S"
  # ======================================================================= #
  # === rf "165.098 Physikalische Chemie I"
  # ======================================================================= #
  when /^165\.?098(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?I$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4762&dsrid=526&courseNr=165098&semester=2020S"
  # ======================================================================= #
  # === rf "165.153 Physikalische Chemie I"
  # ======================================================================= #
  when /^165\.?153(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?I$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8965&dsrid=653&courseNr=165153&semester=2019S"
  # ======================================================================= #
  # === rf "166.646 Biochemie"
  # ======================================================================= #
  when /^166\.?646(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2780&dsrid=355&courseNr=166646&semester=2018S"
  # ======================================================================= #
  # === rf "163.137 Einführung in die biologische Chemie"
  # ======================================================================= #
  when /^163\.?137(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?biologische(-|_| )?Chemie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?biologische(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5433&dsrid=864&courseNr=163137&semester=2023W"
  # ======================================================================= #
  # === rf "061.009 Grundlagen wissenschaftlichen Arbeitens"
  # ======================================================================= #
  when /^061\.?009(-|_| )?Grundlagen(-|_| )?wissenschaftlichen(-|_| )?Arbeitens$/i,
       /^Grundlagen(-|_| )?wissenschaftlichen(-|_| )?Arbeitens$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1443&dsrid=323&courseNr=061009&semester=2020S"
  # ======================================================================= #
  # === rf "253.280 Nachhaltiges Bauen mit nachwachsenden Rohstoffen "Nachhaltige Sanierung mit nachwachsenden Rohstoffen""
  # ======================================================================= #
  when /^253\.?280(-|_| )?Nachhaltiges(-|_| )?Bauen(-|_| )?mit(-|_| )?nachwachsenden(-|_| )?Rohstoffen(-|_| )?"?Nachhaltige(-|_| )?Sanierung(-|_| )?mit(-|_| )?nachwachsenden(-|_| )?Rohstoffen"?$/i,
       /^Nachhaltiges(-|_| )?Bauen(-|_| )?mit(-|_| )?nachwachsenden(-|_| )?Rohstoffen(-|_| )?"?Nachhaltige(-|_| )?Sanierung(-|_| )?mit(-|_| )?nachwachsenden(-|_| )?Rohstoffen"?$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5582&dsrid=682&courseNr=253280&semester=2019S"
  # ======================================================================= #
  # === rf "104.267 Analysis 2 für Informatik"
  # ======================================================================= #
  when /^104\.?267(-|_| )?Analysis(-|_| )?2(-|_| )?für(-|_| )?Informatik$/i,
       /^Analysis(-|_| )?2(-|_| )?für(-|_| )?Informatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4024&dsrid=631&courseNr=104267&semester=2020S"
  # ======================================================================= #
  # === rf "141.A37 Computerunterstützte Abbildungsverfahren"
  # ======================================================================= #
  when /^141\.?A37(-|_| )?Computerunterstützte(-|_| )?Abbildungsverfahren$/i,
       /^Computerunterstützte(-|_| )?Abbildungsverfahren$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4284&dsrid=165&courseNr=141A37&semester=2020S"
  # ======================================================================= #
  # === rf "163.130 Organische Chemie 2"
  # ======================================================================= #
  when /^163\.?130(-|_| )?Organische(-|_| )?Chemie(-|_| )?2$/i,
       /^Organische(-|_| )?Chemie(-|_| )?2$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2569&dsrid=711&courseNr=163130&semester=2019W"
  # ======================================================================= #
  # === rf "164.211 Chemische Technologie anorganischer Stoffe für VT"
  # ======================================================================= #
  when /^164\.?211(-|_| )?Chemische(-|_| )?Technologie(-|_| )?anorganischer(-|_| )?Stoffe(-|_| )?für(-|_| )?VT$/i,
       /^Chemische(-|_| )?Technologie(-|_| )?anorganischer(-|_| )?Stoffe(-|_| )?für(-|_| )?VT$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1091&dsrid=347&courseNr=164211&semester=2020S"
  # ======================================================================= #
  # === rf "188.482 Propädeutikum für Informatik"
  # ======================================================================= #
  when /^188\.?482(-|_| )?Propädeutikum(-|_| )?für(-|_| )?Informatik$/i,
       /^Propädeutikum(-|_| )?für(-|_| )?Informatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8361&dsrid=550&courseNr=188482&semester=2017W"
  # ======================================================================= #
  # === rf "138.041 Physik I für TCH"
  # ======================================================================= #
  when /^138\.?041(-|_| )?Physik(-|_| )?I(-|_| )?für(-|_| )?TCH$/i,
       /^Physik(-|_| )?I(-|_| )?für(-|_| )?TCH$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=7311&dsrid=395&courseNr=138041&semester=2019W"
  # ======================================================================= #
  # === rf "153.494 Chemie für Maschinenbau"
  # ======================================================================= #
  when /^153\.?494(-|_| )?Chemie(-|_| )?für(-|_| )?Maschinenbau$/i,
       /^Chemie(-|_| )?für(-|_| )?Maschinenbau$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2593&dsrid=890&courseNr=153494&semester=2022W"
  # ======================================================================= #
  # === rf "163.172 Orientierungslehrveranstaltung Technische Chemie II"
  # ======================================================================= #
  when /^163\.?172(-|_| )?Orientierungslehrveranstaltung(-|_| )?Technische(-|_| )?Chemie(-|_| )?II$/i,
       /^Orientierungslehrveranstaltung(-|_| )?Technische(-|_| )?Chemie(-|_| )?II$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6188&dsrid=304&courseNr=163172&semester=2022W"
  # ======================================================================= #
  # === rf "163.056 Chemische Technologie organischer Stoffe"
  # ======================================================================= #
  when /^163\.?056(-|_| )?Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe$/i,
       /^Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9607&dsrid=838&courseNr=163056&semester=2020S"
  # ======================================================================= #
  # === rf "134.210 Molekulare Biophysik"
  # ======================================================================= #
  when /^134\.?210(-|_| )?Molekulare(-|_| )?Biophysik$/i,
       /^Molekulare(-|_| )?Biophysik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9941&dsrid=665&courseNr=134210&semester=2021W"
  # ======================================================================= #
  # === rf "104.937 Mathematik für TCH Übung I"
  # ======================================================================= #
  when /^104\.?937(-|_| )?Mathematik(-|_| )?für(-|_| )?TCH(-|_| )?Übung(-|_| )?I$/i,
       /^Mathematik(-|_| )?für(-|_| )?TCH(-|_| )?Übung(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3897&dsrid=149&courseNr=104937&semester=2020W"
  # ======================================================================= #
  # === rf "104.958 Mathematik für TCH Übung II"
  # ======================================================================= #
  when /^104\.?958(-|_| )?Mathematik(-|_| )?für(-|_| )?TCH(-|_| )?Übung(-|_| )?II$/i,
       /^Mathematik(-|_| )?für(-|_| )?TCH(-|_| )?Übung(-|_| )?II$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5845&dsrid=396&courseNr=104958&semester=2021S"
  # ======================================================================= #
  # === rf "165.008 Physikalische Chemie"
  # ======================================================================= #
  when /^165\.?008(-|_| )?Physikalische(-|_| )?Chemie$/i,
       /^Physikalische(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9103&dsrid=12&courseNr=165008&semester=2019W"
  # ======================================================================= #
  # === rf "164.302 Industrielle Proteomik"
  # ======================================================================= #
  when /^164\.?302(-|_| )?Industrielle(-|_| )?Proteomik$/i,
       /^Industrielle(-|_| )?Proteomik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3719&dsrid=742&courseNr=164302&semester=2019W"
  # ======================================================================= #
  # === rf "153.052 Bioanorganische Chemie"
  # ======================================================================= #
  when /^153\.?052(-|_| )?Bioanorganische(-|_| )?Chemie$/i,
       /^Bioanorganische(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3320&dsrid=973&courseNr=153052&semester=2020S"
  # ======================================================================= #
  # === rf "387.072 Durchstimmbare Laser"
  # ======================================================================= #
  when /^387\.?072(-|_| )?Durchstimmbare(-|_| )?Laser$/i,
       /^Durchstimmbare(-|_| )?Laser$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4402&dsrid=155&courseNr=387072&semester=2019W"
  # ======================================================================= #
  # === rf "366.103 Theorie, Modellierung und Simulation mikro- und nanoelektromechanischer Systeme (MEMS/NEMS)"
  # ======================================================================= #
  when /^366\.?103(-|_| )?Theorie,?(-|_| )?Modellierung(-|_| )?und(-|_| )?Simulation(-|_| )?mikro(-|_)?(-|_| )?und(-|_| )?nanoelektromechanischer(-|_| )?Systeme(-|_| )?\(?MEMS\/?NEMS\)?$/i,
       /^Theorie,?(-|_| )?Modellierung(-|_| )?und(-|_| )?Simulation(-|_| )?mikro(-|_)?(-|_| )?und(-|_| )?nanoelektromechanischer(-|_| )?Systeme(-|_| )?\(?MEMS\/?NEMS\)?$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5543&dsrid=634&courseNr=164294&semester=2019W"
  # ======================================================================= #
  # === rf "164.294 Glykomik, Lipidomik und Metabolomik"
  # ======================================================================= #
  when /^164\.?294(-|_| )?Glykomik,?(-|_| )?Lipidomik(-|_| )?und(-|_| )?Metabolomik$/i,
       /^Glykomik,?(-|_| )?Lipidomik(-|_| )?und(-|_| )?Metabolomik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5543&dsrid=634&courseNr=164294&semester=2019W"
  # ======================================================================= #
  # === rf "351.029 Biomedical Sensors and Signals"
  # ======================================================================= #
  when /^351\.?029(-|_| )?Biomedical(-|_| )?Sensors(-|_| )?and(-|_| )?Signals$/i,
       /^Biomedical(-|_| )?Sensors(-|_| )?and(-|_| )?Signals$/i
    "351.029 Biomedical Sensors and Signals https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5309&dsrid=306&courseNr=351029&semester=2019W"
  # ======================================================================= #
  # === rf "166.222 Biochemie und Biotechnologie"
  # ======================================================================= #
  when /^166\.?222(-|_| )?Biochemie(-|_| )?und(-|_| )?Biotechnologie$/i,
       /^Biochemie(-|_| )?und(-|_| )?Biotechnologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8339&dsrid=790&courseNr=166222&semester=2022W"
  # ======================================================================= #
  # === rf "134.203 Single Molecule Microscopy"
  # ======================================================================= #
  when /^134\.?203(-|_| )?Single(-|_| )?Molecule(-|_| )?Microscopy$/i,
       /^Single(-|_| )?Molecule(-|_| )?Microscopy$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5056&dsrid=101&courseNr=134203&semester=2019W"
  # ======================================================================= #
  # === rf "120.050 Einführung in Python-Programmierung für Geowissenschaften"
  # ======================================================================= #
  when /^120\.?050(-|_| )?Einführung(-|_| )?in(-|_| )?Python(-|_)?Programmierung(-|_| )?für(-|_| )?Geowissenschaften$/i,
       /^Einführung(-|_| )?in(-|_| )?Python(-|_)?Programmierung(-|_| )?für(-|_| )?Geowissenschaften$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1586&dsrid=575&courseNr=120050&semester=2019W"
  # ======================================================================= #
  # === rf "104.330 AKANW. Biomathematisches Praktikum am PC"
  # ======================================================================= #
  when /^104\.?330(-|_| )?AKANW\.?(-|_| )?Biomathematisches(-|_| )?Praktikum(-|_| )?am(-|_| )?PC$/i,
       /^AKANW\.?(-|_| )?Biomathematisches(-|_| )?Praktikum(-|_| )?am(-|_| )?PC$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9370&dsrid=434&courseNr=104330&semester=2019S"
  # ======================================================================= #
  # === rf "185.A57 Rechtliche Grundlagen der medizinischen Versorgung"
  # ======================================================================= #
  when /^185\.?A57(-|_| )?Rechtliche(-|_| )?Grundlagen(-|_| )?der(-|_| )?medizinischen(-|_| )?Versorgung$/i,
       /^Rechtliche(-|_| )?Grundlagen(-|_| )?der(-|_| )?medizinischen(-|_| )?Versorgung$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1456&dsrid=440&courseNr=185A57&semester=2019S&dsrid=525"
  # ======================================================================= #
  # === rf "183.635 eHealth in Theorie und Praxis"
  # ======================================================================= #
  when /^183\.?635(-|_| )?eHealth(-|_| )?in(-|_| )?Theorie(-|_| )?und(-|_| )?Praxis$/i,
       /^eHealth(-|_| )?in(-|_| )?Theorie(-|_| )?und(-|_| )?Praxis$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1392&dsrid=234&courseNr=183635&semester=2019S"
  # ======================================================================= #
  # === rf "165.009 Theoretische Chemie"
  # ======================================================================= #
  when /^165\.?009(-|_| )?Theoretische(-|_| )?Chemie$/i,
       /^Theoretische(-|_| )?Chemie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4502&dsrid=587&courseNr=165009&semester=2018W"
  # ======================================================================= #
  # === rf "166.635 Generegulation in Eukaryoten"
  # ======================================================================= #
  when /^166\.?635(-|_| )?Generegulation(-|_| )?in(-|_| )?Eukaryoten$/i,
       /^Generegulation(-|_| )?in(-|_| )?Eukaryoten$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=6921&dsrid=330&courseNr=166635&semester=2022S"
  # ======================================================================= #
  # === rf "311.128 Lasergeräte"
  # ======================================================================= #
  when /^311\.?128(-|_| )?Lasergeräte$/i,
       /^Lasergeräte$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2627&dsrid=172&courseNr=311128&semester=2019S"
  # ======================================================================= #
  # === rf "311.127 Laborübungen Lasertechnik"
  # ======================================================================= #
  when /^311\.?127(-|_| )?Laborübungen(-|_| )?Lasertechnik$/i,
       /^Laborübungen(-|_| )?Lasertechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2108&dsrid=757&courseNr=311127&semester=2022S"
  # ======================================================================= #
  # === rf "164.249 Quantitatives Analytisches Praktikum"
  # ======================================================================= #
  when /^164\.?249(-|_| )?Quantitatives(-|_| )?Analytisches(-|_| )?Praktikum$/i,
       /^Quantitatives(-|_| )?Analytisches(-|_| )?Praktikum$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9208&dsrid=12&courseNr=164249&semester=2018W"
  # ======================================================================= #
  # === rf "164.251 Seminar zur Bachelorarbeit"
  # ======================================================================= #
  when /^164\.?251(-|_| )?Seminar(-|_| )?zur(-|_| )?Bachelorarbeit$/i,
       /^Seminar(-|_| )?zur(-|_| )?Bachelorarbeit$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3866&dsrid=342&courseNr=164251&semester=2019S"
  # ======================================================================= #
  # === rf "166.606 Modellierung, Simulation und Steuerung von Bioprozessen"
  # ======================================================================= #
  when /^166\.?606(-|_| )?Modellierung,?(-|_| )?Simulation(-|_| )?und(-|_| )?Steuerung(-|_| )?von(-|_| )?Bioprozessen$/i,
       /^Modellierung,?(-|_| )?Simulation(-|_| )?und(-|_| )?Steuerung(-|_| )?von(-|_| )?Bioprozessen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2776&dsrid=996&courseNr=166606&semester=2019S"
  # ======================================================================= #
  # === rf "166.061 Bioverfahrenstechnik"
  # ======================================================================= #
  when /^166\.?061(-|_| )?Bioverfahrenstechnik$/i,
       /^Bioverfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8985&dsrid=977&courseNr=166061&semester=2018W"
  # ======================================================================= #
  # === rf "163.145 Synthesepraktikum LU"
  # ======================================================================= #
  when /^163\.?145(-|_| )?Synthesepraktikum(-|_| )?LU$/i,
       /^Synthesepraktikum(-|_| )?LU$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9228&dsrid=388&courseNr=163145&semester=2021S"
  # ======================================================================= #
  # === rf "165.154 Physikalische Chemie II"
  # ======================================================================= #
  when /^165\.?154(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?II$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?II$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1762&dsrid=907&courseNr=165154&semester=2018W"
  # ======================================================================= #
  # === rf "165.155 Physikalische Chemie II"
  # ======================================================================= #
  when /^165\.?155(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?II$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?II$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1762&dsrid=836&courseNr=165155&semester=2018W"
  # ======================================================================= #
  # === rf "165.115 Physikalische Chemie II"
  # ======================================================================= #
  when /^165\.?115(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?II$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?II$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=5228&dsrid=827&courseNr=165115&semester=2018W"
  # ======================================================================= #
  # === rf "165.112 Anorganische Chemie II"
  # ======================================================================= #
  when /^165\.?112(-|_| )?Anorganische(-|_| )?Chemie(-|_| )?II$/i,
       /^Anorganische(-|_| )?Chemie(-|_| )?II$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1397&dsrid=652&courseNr=165112&semester=2018W"
  # ======================================================================= #
  # === rf "161.006 Chemische Technologie Anorganischer Stoffe"
  # ======================================================================= #
  when /^161\.?006(-|_| )?Chemische(-|_| )?Technologie(-|_| )?Anorganischer(-|_| )?Stoffe$/i,
       /^Chemische(-|_| )?Technologie(-|_| )?Anorganischer(-|_| )?Stoffe$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4174&dsrid=143&courseNr=161006&semester=2019S"
  # ======================================================================= #
  # === rf "165.087 Anorganische Chemie I"
  # ======================================================================= #
  when /^165\.?087(-|_| )?Anorganische(-|_| )?Chemie(-|_| )?I$/i,
       /^Anorganische(-|_| )?Chemie(-|_| )?I$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9847&dsrid=710&courseNr=165087&semester=2018W"
  # ======================================================================= #
  # === rf "131.058 Technische Optik"
  # ======================================================================= #
  when /^131\.?058(-|_| )?Technische(-|_| )?Optik$/i,
       /^Technische(-|_| )?Optik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9863&dsrid=780&courseNr=131058&semester=2018W"
  # ======================================================================= #
  # === rf "970305 Biotechnology for sustainable processes and environmental protection (in Eng.)"
  # ======================================================================= #
  when /^970305(-|_| )?Biotechnology(-|_| )?for(-|_| )?sustainable(-|_| )?processes(-|_| )?and(-|_| )?environmental(-|_| )?protection(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biotechnology(-|_| )?for(-|_| )?sustainable(-|_| )?processes(-|_| )?and(-|_| )?environmental(-|_| )?protection(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309283?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "790315 Immunology (in Eng.)"
  # ======================================================================= #
  when /^790315(-|_| )?Immunology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Immunology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309266?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "790370 Mechanisms of cell regulation in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790370(-|_| )?Mechanisms(-|_| )?of(-|_| )?cell(-|_| )?regulation(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Mechanisms(-|_| )?of(-|_| )?cell(-|_| )?regulation(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309266?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "831110 Botanik (AW)"
  # ======================================================================= #
  when /^831110(-|_| )?Botanik(-|_| )?\(?AW\)?$/i,
       /^Botanik(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/310823?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "790015 Metabolic systems biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790015(-|_| )?Metabolic(-|_| )?systems(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Metabolic(-|_| )?systems(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/311570?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "790325 Flow cytometry and cell sorting in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790325(-|_| )?Flow(-|_| )?cytometry(-|_| )?and(-|_| )?cell(-|_| )?sorting(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Flow(-|_| )?cytometry(-|_| )?and(-|_| )?cell(-|_| )?sorting(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309043?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "911102 Bodenkunde (AW)"
  # ======================================================================= #
  when /^911102(-|_| )?Bodenkunde(-|_| )?\(?AW\)?$/i,
       /^Bodenkunde(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304463"
  # ======================================================================= #
  # === rf "790367 Stem cells and tissue engineering (in Eng.)"
  # ======================================================================= #
  when /^790367(-|_| )?Stem(-|_| )?cells(-|_| )?and(-|_| )?tissue(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Stem(-|_| )?cells(-|_| )?and(-|_| )?tissue(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311064"
  # ======================================================================= #
  # === rf "735111 Marketing (AW)"
  # ======================================================================= #
  when /^735111(-|_| )?Marketing(-|_| )?\(?AW\)?$/i,
       /^Marketing(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309414?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "734100 Allgemeine Betriebswirtschaftslehre"
  # ======================================================================= #
  when /^734100(-|_| )?Allgemeine(-|_| )?Betriebswirtschaftslehre$/i,
       /^Allgemeine(-|_| )?Betriebswirtschaftslehre$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/310864?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "733107 Landwirtschaftliche Betriebswirtschaftslehre"
  # ======================================================================= #
  when /^733107(-|_| )?Landwirtschaftliche(-|_| )?Betriebswirtschaftslehre$/i,
       /^Landwirtschaftliche(-|_| )?Betriebswirtschaftslehre$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303578"
  # ======================================================================= #
  # === rf "736112 Grundlagen des Rechts"
  # ======================================================================= #
  when /^736112(-|_| )?Grundlagen(-|_| )?des(-|_| )?Rechts$/i,
       /^Grundlagen(-|_| )?des(-|_| )?Rechts$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310983"
  # ======================================================================= #
  # === rf "736180 Grundlagen des Rechts"
  # ======================================================================= #
  when /^736180(-|_| )?Grundlagen(-|_| )?des(-|_| )?Rechts$/i,
       /^Grundlagen(-|_| )?des(-|_| )?Rechts$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311215"
  # ======================================================================= #
  # === rf "790391 Efficient microarray data analysis using R and FSPMA (in Eng.)"
  # ======================================================================= #
  when /^790391(-|_| )?Efficient(-|_| )?microarray(-|_| )?data(-|_| )?analysis(-|_| )?using(-|_| )?R(-|_| )?and(-|_| )?FSPMA(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Efficient(-|_| )?microarray(-|_| )?data(-|_| )?analysis(-|_| )?using(-|_| )?R(-|_| )?and(-|_| )?FSPMA(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310796"
  # ======================================================================= #
  # === rf "791774 Angewandte Virologie"
  # ======================================================================= #
  when /^791774(-|_| )?Angewandte(-|_| )?Virologie$/i,
       /^Angewandte(-|_| )?Virologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=282944"
  # ======================================================================= #
  # === rf "835101 Mathematik Übungen (LBT)"
  # ======================================================================= #
  when /^835101(-|_| )?Mathematik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i,
       /^Mathematik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310122"
  # ======================================================================= #
  # === rf "790043 Introduction to algorithms in bioinformatics (in Eng.)"
  # ======================================================================= #
  when /^790043(-|_| )?Introduction(-|_| )?to(-|_| )?algorithms(-|_| )?in(-|_| )?bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Introduction(-|_| )?to(-|_| )?algorithms(-|_| )?in(-|_| )?bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289339"
  # ======================================================================= #
  # === rf "790378 Mechanisms of cell regulation in biotechnology practical (in Eng.)"
  # ======================================================================= #
  when /^790378(-|_| )?Mechanisms(-|_| )?of(-|_| )?cell(-|_| )?regulation(-|_| )?in(-|_| )?biotechnology(-|_| )?practical(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Mechanisms(-|_| )?of(-|_| )?cell(-|_| )?regulation(-|_| )?in(-|_| )?biotechnology(-|_| )?practical(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310735"
  # ======================================================================= #
  # === rf "790395 Infectious diseases and vaccines (in Eng.)"
  # ======================================================================= #
  when /^790395(-|_| )?Infectious(-|_| )?diseases(-|_| )?and(-|_| )?vaccines(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Infectious(-|_| )?diseases(-|_| )?and(-|_| )?vaccines(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311063"
  # ======================================================================= #
  # === rf "818065 Einführung Synthetische Biologie und Technikfolgenabschätzung"
  # ======================================================================= #
  when /^818065(-|_| )?Einführung(-|_| )?Synthetische(-|_| )?Biologie(-|_| )?und(-|_| )?Technikfolgenabschätzung$/i,
       /^Einführung(-|_| )?Synthetische(-|_| )?Biologie(-|_| )?und(-|_| )?Technikfolgenabschätzung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311261"
  # ======================================================================= #
  # === rf "833106 Zoologie-Übungen (AW)"
  # ======================================================================= #
  when /^833106(-|_| )?Zoologie(-|_)?Übungen(-|_| )?\(?AW\)?$/i,
       /^Zoologie(-|_)?Übungen(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310402"
  # ======================================================================= #
  # === rf "951117 Grünlandbewirtschaftung und Weidewirtschaft beim Pferd"
  # ======================================================================= #
  when /^951117(-|_| )?Grünlandbewirtschaftung(-|_| )?und(-|_| )?Weidewirtschaft(-|_| )?beim(-|_| )?Pferd$/i,
       /^Grünlandbewirtschaftung(-|_| )?und(-|_| )?Weidewirtschaft(-|_| )?beim(-|_| )?Pferd$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284247"
  # ======================================================================= #
  # === rf "752324 Food biotechnology (in Eng.)"
  # ======================================================================= #
  when /^752324(-|_| )?Food(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Food(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/308820?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "771100 Einführung in die Chemie"
  # ======================================================================= #
  when /^771100(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Chemie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310662"
  # ======================================================================= #
  # === rf "835103 Mathematik (AW)"
  # ======================================================================= #
  when /^835103(-|_| )?Mathematik(-|_| )?\(?AW\)?$/i,
       /^Mathematik(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310522"
  # ======================================================================= #
  # === rf "790303 Computing skills for biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790303(-|_| )?Computing(-|_| )?skills(-|_| )?for(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Computing(-|_| )?skills(-|_| )?for(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311251"
  # ======================================================================= #
  # === rf "853111 Natur- und Landschaftsschutz"
  # ======================================================================= #
  when /^853111(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i,
       /^Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304272"
  # ======================================================================= #
  # === rf "941091 Agrargenetik und Biodiversität - Exkursion"
  # ======================================================================= #
  when /^941091(-|_| )?Agrargenetik(-|_| )?und(-|_| )?Biodiversität(-|_| )?(-|_)?(-|_| )?Exkursion$/i,
       /^Agrargenetik(-|_| )?und(-|_| )?Biodiversität(-|_| )?(-|_)?(-|_| )?Exkursion$/i
    "https://online.boku.ac.at/BOKUonline/wblv.wbShowLvDetail?pStpSpNr=272681"
  # ======================================================================= #
  # === rf "930105 Einführung in die Agrarwissenschaften"
  # ======================================================================= #
  when /^930105(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Agrarwissenschaften$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Agrarwissenschaften$/i
    "https://online.boku.ac.at/BOKUonline/wblv.wbShowLvDetail?pStpSpNr=272681"
  # ======================================================================= #
  # === rf "930100 Einführung in die Agrarwissenschaften"
  # ======================================================================= #
  when /^930100(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Agrarwissenschaften$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Agrarwissenschaften$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311181"
  # ======================================================================= #
  # === rf "892104 Physik (LBT)"
  # ======================================================================= #
  when /^892104(-|_| )?Physik(-|_| )?\(?LBT\)?$/i,
       /^Physik(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311002"
  # ======================================================================= #
  # === rf "814102 Meteorologie"
  # ======================================================================= #
  when /^814102(-|_| )?Meteorologie$/i,
       /^Meteorologie$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/311043?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "754110 Qualitätsmanagement II"
  # ======================================================================= #
  when /^754110(-|_| )?Qualitätsmanagement(-|_| )?II$/i,
       /^Qualitätsmanagement(-|_| )?II$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304007"
  # ======================================================================= #
  # === rf "894308 Modelling and simulation of biomolecules (in Eng.)"
  # ======================================================================= #
  when /^894308(-|_| )?Modelling(-|_| )?and(-|_| )?simulation(-|_| )?of(-|_| )?biomolecules(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Modelling(-|_| )?and(-|_| )?simulation(-|_| )?of(-|_| )?biomolecules(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304575"
  # ======================================================================= #
  # === rf "772304 Protein chemistry and protein engineering (in Eng.)"
  # ======================================================================= #
  when /^772304(-|_| )?Protein(-|_| )?chemistry(-|_| )?and(-|_| )?protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Protein(-|_| )?chemistry(-|_| )?and(-|_| )?protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/308504?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "872100 Geologie"
  # ======================================================================= #
  when /^872100(-|_| )?Geologie$/i,
       /^Geologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304612"
  # ======================================================================= #
  # === rf "790357 Up- und downstream-processing (in Eng.)"
  # ======================================================================= #
  when /^790357(-|_| )?Up(-|_)?(-|_| )?und(-|_| )?downstream(-|_)?processing(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Up(-|_)?(-|_| )?und(-|_| )?downstream(-|_)?processing(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310378"
  # ======================================================================= #
  # === rf "731128 Grundlagen der Makroökonomie"
  # ======================================================================= #
  when /^731128(-|_| )?Grundlagen(-|_| )?der(-|_| )?Makroökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Makroökonomie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310790"
  # ======================================================================= #
  # === rf "731120 Regionalplanung (AW)"
  # ======================================================================= #
  when /^731120(-|_| )?Regionalplanung(-|_| )?\(?AW\)?$/i,
       /^Regionalplanung(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303851"
  # ======================================================================= #
  # === rf "958118 Obst- und Weinbau"
  # ======================================================================= #
  when /^958118(-|_| )?Obst(-|_)?(-|_| )?und(-|_| )?Weinbau$/i,
       /^Obst(-|_)?(-|_| )?und(-|_| )?Weinbau$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309297?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "853109 Natur- und Landschaftsschutz - Grundlagen und Instrumente"
  # ======================================================================= #
  when /^853109(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?und(-|_| )?Instrumente$/i,
       /^Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?und(-|_| )?Instrumente$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285085"
  # ======================================================================= #
  # === rf "790379 Using bioinformatics for expression profiling by next generation sequencing (in Eng.)"
  # ======================================================================= #
  when /^790379(-|_| )?Using(-|_| )?bioinformatics(-|_| )?for(-|_| )?expression(-|_| )?profiling(-|_| )?by(-|_| )?next(-|_| )?generation(-|_| )?sequencing(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Using(-|_| )?bioinformatics(-|_| )?for(-|_| )?expression(-|_| )?profiling(-|_| )?by(-|_| )?next(-|_| )?generation(-|_| )?sequencing(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309801?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "790108 Bioethik"
  # ======================================================================= #
  when /^790108(-|_| )?Bioethik$/i,
       /^Bioethik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303664"
  # ======================================================================= #
  # === rf "790116 Mikrobielle Physiologie"
  # ======================================================================= #
  when /^790116(-|_| )?Mikrobielle(-|_| )?Physiologie$/i,
       /^Mikrobielle(-|_| )?Physiologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310245"
  # ======================================================================= #
  # === rf "790031 3D cell culture formats for generation of complex tissue engineering products and disease model application (in Eng.)"
  # ======================================================================= #
  when /^790031(-|_| )?3D(-|_| )?cell(-|_| )?culture(-|_| )?formats(-|_| )?for(-|_| )?generation(-|_| )?of(-|_| )?complex(-|_| )?tissue(-|_| )?engineering(-|_| )?products(-|_| )?and(-|_| )?disease(-|_| )?model(-|_| )?application(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^3D(-|_| )?cell(-|_| )?culture(-|_| )?formats(-|_| )?for(-|_| )?generation(-|_| )?of(-|_| )?complex(-|_| )?tissue(-|_| )?engineering(-|_| )?products(-|_| )?and(-|_| )?disease(-|_| )?model(-|_| )?application(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=308184"
  # ======================================================================= #
  # === rf "941332 Genetically modified organisms in the environment (in Eng.)"
  # ======================================================================= #
  when /^941332(-|_| )?Genetically(-|_| )?modified(-|_| )?organisms(-|_| )?in(-|_| )?the(-|_| )?environment(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Genetically(-|_| )?modified(-|_| )?organisms(-|_| )?in(-|_| )?the(-|_| )?environment(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303525"
  # ======================================================================= #
  # === rf "851109 Statistik (UBRM)"
  # ======================================================================= #
  when /^851109(-|_| )?Statistik(-|_| )?\(?UBRM\)?$/i,
       /^Statistik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303935"
  # ======================================================================= #
  # === rf "790397 Protein engineering (in Eng.)"
  # ======================================================================= #
  when /^790397(-|_| )?Protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310973"
  # ======================================================================= #
  # === rf "940301 Structure and analysis of genomes (in Eng.)"
  # ======================================================================= #
  when /^940301(-|_| )?Structure(-|_| )?and(-|_| )?analysis(-|_| )?of(-|_| )?genomes(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Structure(-|_| )?and(-|_| )?analysis(-|_| )?of(-|_| )?genomes(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306097"
  # ======================================================================= #
  # === rf "892304 Scattering techniques in nanomaterials science (in Eng.)"
  # ======================================================================= #
  when /^892304(-|_| )?Scattering(-|_| )?techniques(-|_| )?in(-|_| )?nanomaterials(-|_| )?science(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Scattering(-|_| )?techniques(-|_| )?in(-|_| )?nanomaterials(-|_| )?science(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297535"
  # ======================================================================= #
  # === rf "851314 Applied mathematics and biostatistics (in Eng.)"
  # ======================================================================= #
  when /^851314(-|_| )?Applied(-|_| )?mathematics(-|_| )?and(-|_| )?biostatistics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Applied(-|_| )?mathematics(-|_| )?and(-|_| )?biostatistics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310166"
  # ======================================================================= #
  # === rf "892110 Biomaterials (in Eng.)"
  # ======================================================================= #
  when /^892110(-|_| )?Biomaterials(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biomaterials(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304010"
  # ======================================================================= #
  # === rf "754104 Betriebswirtschaft und Betriebsorganisation"
  # ======================================================================= #
  when /^754104(-|_| )?Betriebswirtschaft(-|_| )?und(-|_| )?Betriebsorganisation$/i,
       /^Betriebswirtschaft(-|_| )?und(-|_| )?Betriebsorganisation$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305334"
  # ======================================================================= #
  # === rf "736102 Rechtsgrundlagen"
  # ======================================================================= #
  when /^736102(-|_| )?Rechtsgrundlagen$/i,
       /^Rechtsgrundlagen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304400"
  # ======================================================================= #
  # === rf "791364 Preclinical studies (in Eng.)"
  # ======================================================================= #
  when /^791364(-|_| )?Preclinical(-|_| )?studies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Preclinical(-|_| )?studies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304249"
  # ======================================================================= #
  # === rf "892102 Agrarphysik"
  # ======================================================================= #
  when /^892102(-|_| )?Agrarphysik$/i,
       /^Agrarphysik$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309591?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "851106 Statistik Übungen (LBT)"
  # ======================================================================= #
  when /^851106(-|_| )?Statistik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i,
       /^Statistik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304277"
  # ======================================================================= #
  # === rf "893103 Thermodynamik"
  # ======================================================================= #
  when /^893103(-|_| )?Thermodynamik$/i,
       /^Thermodynamik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303490"
  # ======================================================================= #
  # === rf "940108 Zellbiologische Übungen"
  # ======================================================================= #
  when /^940108(-|_| )?Zellbiologische(-|_| )?Übungen$/i,
       /^Zellbiologische(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303994"
  # ======================================================================= #
  # === rf "733309 Landwirtschaftliche Betriebswirtschaftslehre Übungen"
  # ======================================================================= #
  when /^733309(-|_| )?Landwirtschaftliche(-|_| )?Betriebswirtschaftslehre(-|_| )?Übungen$/i,
       /^Landwirtschaftliche(-|_| )?Betriebswirtschaftslehre(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304509"
  # ======================================================================= #
  # === rf "953112 Pflanzenschutz - Übungen"
  # ======================================================================= #
  when /^953112(-|_| )?Pflanzenschutz(-|_| )?(-|_)?(-|_| )?Übungen$/i,
       /^Pflanzenschutz(-|_| )?(-|_)?(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305227"
  # ======================================================================= #
  # === rf "731116 Grundlagen der Ökonomie - Übungen"
  # ======================================================================= #
  when /^731116(-|_| )?Grundlagen(-|_| )?der(-|_| )?Ökonomie(-|_| )?(-|_)?(-|_| )?Übungen$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Ökonomie(-|_| )?(-|_)?(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305632"
  # ======================================================================= #
  # === rf "833112 Lebensräume heimischer Pflanzen und Tiere"
  # ======================================================================= #
  when /^833112(-|_| )?Lebensräume(-|_| )?heimischer(-|_| )?Pflanzen(-|_| )?und(-|_| )?Tiere$/i,
       /^Lebensräume(-|_| )?heimischer(-|_| )?Pflanzen(-|_| )?und(-|_| )?Tiere$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304768"
  # ======================================================================= #
  # === rf "951104 Pflanzenbau"
  # ======================================================================= #
  when /^951104(-|_| )?Pflanzenbau$/i,
       /^Pflanzenbau$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305527"
  # ======================================================================= #
  # === rf "851112 Statistik (AW): Beispiele und Anwendungen"
  # ======================================================================= #
  when /^851112(-|_| )?Statistik(-|_| )?\(?AW\)?:(-|_| )?Beispiele(-|_| )?und(-|_| )?Anwendungen$/i,
       /^Statistik(-|_| )?\(?AW\)?:(-|_| )?Beispiele(-|_| )?und(-|_| )?Anwendungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304467"
  # ======================================================================= #
  # === rf "790109 Biologische Sicherheit"
  # ======================================================================= #
  when /^790109(-|_| )?Biologische(-|_| )?Sicherheit$/i,
       /^Biologische(-|_| )?Sicherheit$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304096"
  # ======================================================================= #
  # === rf "772306 Proteomics (in Eng.)"
  # ======================================================================= #
  when /^772306(-|_| )?Proteomics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Proteomics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303731"
  # ======================================================================= #
  # === rf "940304 Molecular biology for food analysis (in Eng.)"
  # ======================================================================= #
  when /^940304(-|_| )?Molecular(-|_| )?biology(-|_| )?for(-|_| )?food(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?biology(-|_| )?for(-|_| )?food(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303996"
  # ======================================================================= #
  # === rf "940331 Cell factory - plants (in Eng.)"
  # ======================================================================= #
  when /^940331(-|_| )?Cell(-|_| )?factory(-|_| )?(-|_)?(-|_| )?plants(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Cell(-|_| )?factory(-|_| )?(-|_)?(-|_| )?plants(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304551"
  # ======================================================================= #
  # === rf "773311 Introduction into crystallography and NMR spectroscopy of proteins (in Eng.)"
  # ======================================================================= #
  when /^773311(-|_| )?Introduction(-|_| )?into(-|_| )?crystallography(-|_| )?and(-|_| )?NMR(-|_| )?spectroscopy(-|_| )?of(-|_| )?proteins(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Introduction(-|_| )?into(-|_| )?crystallography(-|_| )?and(-|_| )?NMR(-|_| )?spectroscopy(-|_| )?of(-|_| )?proteins(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304762"
  # ======================================================================= #
  # === rf "772330 Microbiology and disease (in Eng.)"
  # ======================================================================= #
  when /^772330(-|_| )?Microbiology(-|_| )?and(-|_| )?disease(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Microbiology(-|_| )?and(-|_| )?disease(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304244"
  # ======================================================================= #
  # === rf "790129 Biotechnological products (in Eng.)"
  # ======================================================================= #
  when /^790129(-|_| )?Biotechnological(-|_| )?products(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biotechnological(-|_| )?products(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304292"
  # ======================================================================= #
  # === rf "940339 Methods in cell biology (in Eng.)"
  # ======================================================================= #
  when /^940339(-|_| )?Methods(-|_| )?in(-|_| )?cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Methods(-|_| )?in(-|_| )?cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304278"
  # ======================================================================= #
  # === rf "790369 Practical course in cell culture and fermentation (in Eng.)"
  # ======================================================================= #
  when /^790369(-|_| )?Practical(-|_| )?course(-|_| )?in(-|_| )?cell(-|_| )?culture(-|_| )?and(-|_| )?fermentation(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Practical(-|_| )?course(-|_| )?in(-|_| )?cell(-|_| )?culture(-|_| )?and(-|_| )?fermentation(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309113?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "790430 3D cell culture (in Eng.)"
  # ======================================================================= #
  when /^790430(-|_| )?3D(-|_| )?cell(-|_| )?culture(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^3D(-|_| )?cell(-|_| )?culture(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=309649"
  # ======================================================================= #
  # === rf "773316 Modern methods in structural analyses (in Eng.)"
  # ======================================================================= #
  when /^773316(-|_| )?Modern(-|_| )?methods(-|_| )?in(-|_| )?structural(-|_| )?analyses(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Modern(-|_| )?methods(-|_| )?in(-|_| )?structural(-|_| )?analyses(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304081"
  # ======================================================================= #
  # === rf "940326 Pathophysiology for biotechnologists (in Eng.)"
  # ======================================================================= #
  when /^940326(-|_| )?Pathophysiology(-|_| )?for(-|_| )?biotechnologists(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Pathophysiology(-|_| )?for(-|_| )?biotechnologists(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304032"
  # ======================================================================= #
  # === rf "932102 Tierzucht"
  # ======================================================================= #
  when /^932102(-|_| )?Tierzucht$/i,
       /^Tierzucht$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305708"
  # ======================================================================= #
  # === rf "932334 Molekulare Tiergenetik (in Eng.)"
  # ======================================================================= #
  when /^932334(-|_| )?Molekulare(-|_| )?Tiergenetik(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molekulare(-|_| )?Tiergenetik(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305879"
  # ======================================================================= #
  # === rf "855107 Introduction to urbanism (in Eng.)"
  # ======================================================================= #
  when /^855107(-|_| )?Introduction(-|_| )?to(-|_| )?urbanism(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Introduction(-|_| )?to(-|_| )?urbanism(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304792"
  # ======================================================================= #
  # === rf "893105 Mess- und Regeltechnik I"
  # ======================================================================= #
  when /^893105(-|_| )?Mess(-|_)?(-|_| )?und(-|_| )?Regeltechnik(-|_| )?I$/i,
       /^Mess(-|_)?(-|_| )?und(-|_| )?Regeltechnik(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303489"
  # ======================================================================= #
  # === rf "893123 Wärme- und Stoffübertragung"
  # ======================================================================= #
  when /^893123(-|_| )?Wärme(-|_)?(-|_| )?und(-|_| )?Stoffübertragung$/i,
       /^Wärme(-|_)?(-|_| )?und(-|_| )?Stoffübertragung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304850"
  # ======================================================================= #
  # === rf "803110 Biointerfaces, biomaterials and biophysics in nanobiosciences (in Eng.)"
  # ======================================================================= #
  when /^803110(-|_| )?Biointerfaces,?(-|_| )?biomaterials(-|_| )?and(-|_| )?biophysics(-|_| )?in(-|_| )?nanobiosciences(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biointerfaces,?(-|_| )?biomaterials(-|_| )?and(-|_| )?biophysics(-|_| )?in(-|_| )?nanobiosciences(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/310632?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "835100 Mathematik (LBT)"
  # ======================================================================= #
  when /^835100(-|_| )?Mathematik(-|_| )?\(?LBT\)?$/i,
       /^Mathematik(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310123"
  # ======================================================================= #
  # === rf "790383 Bioinformatics: Selected aspects (in Eng.)"
  # ======================================================================= #
  when /^790383(-|_| )?Bioinformatics:(-|_| )?Selected(-|_| )?aspects(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Bioinformatics:(-|_| )?Selected(-|_| )?aspects(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309035?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "754359 Lebensmittelmikrobiologie Übungen"
  # ======================================================================= #
  when /^754359(-|_| )?Lebensmittelmikrobiologie(-|_| )?Übungen$/i,
       /^Lebensmittelmikrobiologie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303728"
  # ======================================================================= #
  # === rf "790355 Introduction to metabolic modelling (in Eng.)"
  # ======================================================================= #
  when /^790355(-|_| )?Introduction(-|_| )?to(-|_| )?metabolic(-|_| )?modelling(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Introduction(-|_| )?to(-|_| )?metabolic(-|_| )?modelling(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/308716?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "940085 Molecular biology of fungi (in Eng.)"
  # ======================================================================= #
  when /^940085(-|_| )?Molecular(-|_| )?biology(-|_| )?of(-|_| )?fungi(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?biology(-|_| )?of(-|_| )?fungi(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304617"
  # ======================================================================= #
  # === rf "790047 Dynamic 3D cell culture (in Eng.)"
  # ======================================================================= #
  when /^790047(-|_| )?Dynamic(-|_| )?3D(-|_| )?cell(-|_| )?culture(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Dynamic(-|_| )?3D(-|_| )?cell(-|_| )?culture(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303468"
  # ======================================================================= #
  # === rf "933101 Ökologische Landwirtschaft"
  # ======================================================================= #
  when /^933101(-|_| )?Ökologische(-|_| )?Landwirtschaft$/i,
       /^Ökologische(-|_| )?Landwirtschaft$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305891"
  # ======================================================================= #
  # === rf "951105 Pflanzenbau - Übungen"
  # ======================================================================= #
  when /^951105(-|_| )?Pflanzenbau(-|_| )?(-|_)?(-|_| )?Übungen$/i,
       /^Pflanzenbau(-|_| )?(-|_)?(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310350"
  # ======================================================================= #
  # === rf "931100 Verfahrenstechnik Pflanzliche Produktion"
  # ======================================================================= #
  when /^931100(-|_| )?Verfahrenstechnik(-|_| )?Pflanzliche(-|_| )?Produktion$/i,
       /^Verfahrenstechnik(-|_| )?Pflanzliche(-|_| )?Produktion$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303800"
  # ======================================================================= #
  # === rf "932112 Nutztierethologie"
  # ======================================================================= #
  when /^932112(-|_| )?Nutztierethologie$/i,
       /^Nutztierethologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304350"
  # ======================================================================= #
  # === rf "976103 Technologie tierischer Lebensmittel"
  # ======================================================================= #
  when /^976103(-|_| )?Technologie(-|_| )?tierischer(-|_| )?Lebensmittel$/i,
       /^Technologie(-|_| )?tierischer(-|_| )?Lebensmittel$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304127"
  # ======================================================================= #
  # === rf "812329 Ökologie ausgewählter aquatischer Lebensräume"
  # ======================================================================= #
  when /^812329(-|_| )?Ökologie(-|_| )?ausgewählter(-|_| )?aquatischer(-|_| )?Lebensräume$/i,
       /^Ökologie(-|_| )?ausgewählter(-|_| )?aquatischer(-|_| )?Lebensräume$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304868"
  # ======================================================================= #
  # === rf "854106 Economics and politics of natural resources (in Eng.)"
  # ======================================================================= #
  when /^854106(-|_| )?Economics(-|_| )?and(-|_| )?politics(-|_| )?of(-|_| )?natural(-|_| )?resources(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Economics(-|_| )?and(-|_| )?politics(-|_| )?of(-|_| )?natural(-|_| )?resources(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305766"
  # ======================================================================= #
  # === rf "916110 Grundlagen der Ökologie II: Ökophysiologie und Ökologie der Lebensgemeinschaften"
  # ======================================================================= #
  when /^916110(-|_| )?Grundlagen(-|_| )?der(-|_| )?Ökologie(-|_| )?II:(-|_| )?Ökophysiologie(-|_| )?und(-|_| )?Ökologie(-|_| )?der(-|_| )?Lebensgemeinschaften$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Ökologie(-|_| )?II:(-|_| )?Ökophysiologie(-|_| )?und(-|_| )?Ökologie(-|_| )?der(-|_| )?Lebensgemeinschaften$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304209"
  # ======================================================================= #
  # === rf "790105 Angewandte Mikrobiologie Übungen"
  # ======================================================================= #
  when /^790105(-|_| )?Angewandte(-|_| )?Mikrobiologie(-|_| )?Übungen$/i,
       /^Angewandte(-|_| )?Mikrobiologie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303779"
  # ======================================================================= #
  # === rf "790030 Technology and innovation management in biotech (in Eng.)"
  # ======================================================================= #
  when /^790030(-|_| )?Technology(-|_| )?and(-|_| )?innovation(-|_| )?management(-|_| )?in(-|_| )?biotech(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Technology(-|_| )?and(-|_| )?innovation(-|_| )?management(-|_| )?in(-|_| )?biotech(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304216"
  # ======================================================================= #
  # === rf "771108 Analytische Chemie"
  # ======================================================================= #
  when /^771108(-|_| )?Analytische(-|_| )?Chemie$/i,
       /^Analytische(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303693"
  # ======================================================================= #
  # === rf "851105 Statistik (LBT)"
  # ======================================================================= #
  when /^851105(-|_| )?Statistik(-|_| )?\(?LBT\)?$/i,
       /^Statistik(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304368"
  # ======================================================================= #
  # === rf "802300 Biological nanosciences and nanotechnology (in Eng.)"
  # ======================================================================= #
  when /^802300(-|_| )?Biological(-|_| )?nanosciences(-|_| )?and(-|_| )?nanotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biological(-|_| )?nanosciences(-|_| )?and(-|_| )?nanotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310696"
  # ======================================================================= #
  # === rf "773113 Organische Chemie für Lebensmittel- und Biotechnologen"
  # ======================================================================= #
  when /^773113(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Lebensmittel(-|_)?(-|_| )?und(-|_| )?Biotechnologen$/i,
       /^Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Lebensmittel(-|_)?(-|_| )?und(-|_| )?Biotechnologen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310316"
  # ======================================================================= #
  # === rf "932113 Anatomie und Physiologie der Nutztiere"
  # ======================================================================= #
  when /^932113(-|_| )?Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?der(-|_| )?Nutztiere$/i,
       /^Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?der(-|_| )?Nutztiere$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303476"
  # ======================================================================= #
  # === rf "856106 Einführung Verkehrsplanung (UBRM)"
  # ======================================================================= #
  when /^856106(-|_| )?Einführung(-|_| )?Verkehrsplanung(-|_| )?\(?UBRM\)?$/i,
       /^Einführung(-|_| )?Verkehrsplanung(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305700"
  # ======================================================================= #
  # === rf "892105 Physik (UBRM)"
  # ======================================================================= #
  when /^892105(-|_| )?Physik(-|_| )?\(?UBRM\)?$/i,
       /^Physik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/308986?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "851319 Introduction to programming (in Eng.)"
  # ======================================================================= #
  when /^851319(-|_| )?Introduction(-|_| )?to(-|_| )?programming(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Introduction(-|_| )?to(-|_| )?programming(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304033"
  # ======================================================================= #
  # === rf "940115 Laboratory course in molecular biology I (in Eng.)"
  # ======================================================================= #
  when /^940115(-|_| )?Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?I(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?I(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303449"
  # ======================================================================= #
  # === rf "790393 Antibodies and beyond - emerging fields in antibody engineering (in Eng.)"
  # ======================================================================= #
  when /^790393(-|_| )?Antibodies(-|_| )?and(-|_| )?beyond(-|_| )?(-|_)?(-|_| )?emerging(-|_| )?fields(-|_| )?in(-|_| )?antibody(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Antibodies(-|_| )?and(-|_| )?beyond(-|_| )?(-|_)?(-|_| )?emerging(-|_| )?fields(-|_| )?in(-|_| )?antibody(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309055?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "940101 Molekularbiologie Übungen I"
  # ======================================================================= #
  when /^940101(-|_| )?Molekularbiologie(-|_| )?Übungen(-|_| )?I$/i,
       /^Molekularbiologie(-|_| )?Übungen(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304805"
  # ======================================================================= #
  # === rf "915180 Projektmanagement"
  # ======================================================================= #
  when /^915180(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304757"
  # ======================================================================= #
  # === rf "773310 Bioorganic chemistry (in Eng.)"
  # ======================================================================= #
  when /^773310(-|_| )?Bioorganic(-|_| )?chemistry(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Bioorganic(-|_| )?chemistry(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304082"
  # ======================================================================= #
  # === rf "731111 Grundlagen der Volkswirtschaftslehre"
  # ======================================================================= #
  when /^731111(-|_| )?Grundlagen(-|_| )?der(-|_| )?Volkswirtschaftslehre$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Volkswirtschaftslehre$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/310470?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "731115 Grundlagen der Ökonomie"
  # ======================================================================= #
  when /^731115(-|_| )?Grundlagen(-|_| )?der(-|_| )?Ökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Ökonomie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311114"
  # ======================================================================= #
  # === rf "803302 Methods in ultrastructure research (in Eng.)"
  # ======================================================================= #
  when /^803302(-|_| )?Methods(-|_| )?in(-|_| )?ultrastructure(-|_| )?research(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Methods(-|_| )?in(-|_| )?ultrastructure(-|_| )?research(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=299204"
  # ======================================================================= #
  # === rf "791113 Pflichtpraxisseminar"
  # ======================================================================= #
  when /^791113(-|_| )?Pflichtpraxisseminar$/i,
       /^Pflichtpraxisseminar$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305274"
  # ======================================================================= #
  # === rf "750103 Verfahrenstechnisches Praktikum"
  # ======================================================================= #
  when /^750103(-|_| )?Verfahrenstechnisches(-|_| )?Praktikum$/i,
       /^Verfahrenstechnisches(-|_| )?Praktikum$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305331"
  # ======================================================================= #
  # === rf "940106 Einführung in die Zellbiologie und Genetik"
  # ======================================================================= #
  when /^940106(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Zellbiologie(-|_| )?und(-|_| )?Genetik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Zellbiologie(-|_| )?und(-|_| )?Genetik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303543"
  # ======================================================================= #
  # === rf "732102 Kommunikation und Öffentlichkeitsarbeit"
  # ======================================================================= #
  when /^732102(-|_| )?Kommunikation(-|_| )?und(-|_| )?Öffentlichkeitsarbeit$/i,
       /^Kommunikation(-|_| )?und(-|_| )?Öffentlichkeitsarbeit$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305567"
  # ======================================================================= #
  # === rf "940323 Laboratory course in molecular biology II (in Eng.)"
  # ======================================================================= #
  when /^940323(-|_| )?Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310663"
  # ======================================================================= #
  # === rf "735100 Wissenschaftliches Arbeiten und Wissenschaftstheorien"
  # ======================================================================= #
  when /^735100(-|_| )?Wissenschaftliches(-|_| )?Arbeiten(-|_| )?und(-|_| )?Wissenschaftstheorien$/i,
       /^Wissenschaftliches(-|_| )?Arbeiten(-|_| )?und(-|_| )?Wissenschaftstheorien$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310338"
  # ======================================================================= #
  # === rf "790006 Medizinische Mikrobiologie und antiinfektive Therapie"
  # ======================================================================= #
  when /^790006(-|_| )?Medizinische(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?antiinfektive(-|_| )?Therapie$/i,
       /^Medizinische(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?antiinfektive(-|_| )?Therapie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291896"
  # ======================================================================= #
  # === rf "790365 Clinical studies (in Eng.)"
  # ======================================================================= #
  when /^790365(-|_| )?Clinical(-|_| )?studies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Clinical(-|_| )?studies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311062"
  # ======================================================================= #
  # === rf "790360 Products and processes in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790360(-|_| )?Products(-|_| )?and(-|_| )?processes(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Products(-|_| )?and(-|_| )?processes(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=309992"
  # ======================================================================= #
  # === rf "752339 Enzyme engineering (in Eng.)"
  # ======================================================================= #
  when /^752339(-|_| )?Enzyme(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Enzyme(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310024"
  # ======================================================================= #
  # === rf "752120 Lebensmitteltechnologische Grundverfahren"
  # ======================================================================= #
  when /^752120(-|_| )?Lebensmitteltechnologische(-|_| )?Grundverfahren$/i,
       /^Lebensmitteltechnologische(-|_| )?Grundverfahren$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305622"
  # ======================================================================= #
  # === rf "790044 Sicherheit am Arbeitsplatz"
  # ======================================================================= #
  when /^790044(-|_| )?Sicherheit(-|_| )?am(-|_| )?Arbeitsplatz$/i,
       /^Sicherheit(-|_| )?am(-|_| )?Arbeitsplatz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311047"
  # ======================================================================= #
  # === rf "790356 Metabolic and cell engineering (in Eng.)"
  # ======================================================================= #
  when /^790356(-|_| )?Metabolic(-|_| )?and(-|_| )?cell(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Metabolic(-|_| )?and(-|_| )?cell(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297775"
  # ======================================================================= #
  # === rf "831135 Allgemeine Botanik"
  # ======================================================================= #
  when /^831135(-|_| )?Allgemeine(-|_| )?Botanik$/i,
       /^Allgemeine(-|_| )?Botanik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305045"
  # ======================================================================= #
  # === rf "754117 Mikrobiologie - Übungen (AW)"
  # ======================================================================= #
  when /^754117(-|_| )?Mikrobiologie(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?AW\)?$/i,
       /^Mikrobiologie(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305248"
  # ======================================================================= #
  # === rf "790128 Allgemeine Mikrobiologie Übungen"
  # ======================================================================= #
  when /^790128(-|_| )?Allgemeine(-|_| )?Mikrobiologie(-|_| )?Übungen$/i,
       /^Allgemeine(-|_| )?Mikrobiologie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310585"
  # ======================================================================= #
  # === rf "813304 Life cycle management (in Eng.)"
  # ======================================================================= #
  when /^813304(-|_| )?Life(-|_| )?cycle(-|_| )?management(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Life(-|_| )?cycle(-|_| )?management(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304607"
  # ======================================================================= #
  # === rf "790351 Cell factories (in Eng.)"
  # ======================================================================= #
  when /^790351(-|_| )?Cell(-|_| )?factories(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Cell(-|_| )?factories(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304979"
  # ======================================================================= #
  # === rf "772114 Biochemie des Stoffwechsels"
  # ======================================================================= #
  when /^772114(-|_| )?Biochemie(-|_| )?des(-|_| )?Stoffwechsels$/i,
       /^Biochemie(-|_| )?des(-|_| )?Stoffwechsels$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304408"
  # ======================================================================= #
  # === rf "932120 Tierzucht für Pferdewissenschaften"
  # ======================================================================= #
  when /^932120(-|_| )?Tierzucht(-|_| )?für(-|_| )?Pferdewissenschaften$/i,
       /^Tierzucht(-|_| )?für(-|_| )?Pferdewissenschaften$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305008"
  # ======================================================================= #
  # === rf "772007 The molecular mechanisms of cancer immunotherapies (in Eng.)"
  # ======================================================================= #
  when /^772007(-|_| )?The(-|_| )?molecular(-|_| )?mechanisms(-|_| )?of(-|_| )?cancer(-|_| )?immunotherapies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^The(-|_| )?molecular(-|_| )?mechanisms(-|_| )?of(-|_| )?cancer(-|_| )?immunotherapies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/308941?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "772328 Methods in protein characterization (in Eng.)"
  # ======================================================================= #
  when /^772328(-|_| )?Methods(-|_| )?in(-|_| )?protein(-|_| )?characterization(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Methods(-|_| )?in(-|_| )?protein(-|_| )?characterization(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305967"
  # ======================================================================= #
  # === rf "916306 Demonstration von genetischen Markern und deren Auswertung (in Eng.)"
  # ======================================================================= #
  when /^916306(-|_| )?Demonstration(-|_| )?von(-|_| )?genetischen(-|_| )?Markern(-|_| )?und(-|_| )?deren(-|_| )?Auswertung(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Demonstration(-|_| )?von(-|_| )?genetischen(-|_| )?Markern(-|_| )?und(-|_| )?deren(-|_| )?Auswertung(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305284"
  # ======================================================================= #
  # === rf "735102 Präsentieren & Kommunizieren: Analog & Digital"
  # ======================================================================= #
  when /^735102(-|_| )?Präsentieren(-|_| )?&(-|_| )?Kommunizieren:(-|_| )?Analog(-|_| )?&(-|_| )?Digital$/i,
       /^Präsentieren(-|_| )?&(-|_| )?Kommunizieren:(-|_| )?Analog(-|_| )?&(-|_| )?Digital$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310557"
  # ======================================================================= #
  # === rf "770152 Allgemeine Chemie"
  # ======================================================================= #
  when /^770152(-|_| )?Allgemeine(-|_| )?Chemie$/i,
       /^Allgemeine(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305593"
  # ======================================================================= #
  # === rf "893117 Erneuerbare Energien"
  # ======================================================================= #
  when /^893117(-|_| )?Erneuerbare(-|_| )?Energien$/i,
       /^Erneuerbare(-|_| )?Energien$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297763"
  # ======================================================================= #
  # === rf "791100 Einführung in die Lebensmittel- und Biotechnologie"
  # ======================================================================= #
  when /^791100(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Lebensmittel(-|_)?(-|_| )?und(-|_| )?Biotechnologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Lebensmittel(-|_)?(-|_| )?und(-|_| )?Biotechnologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=278710"
  # ======================================================================= #
  # === rf "791127 Immunchemie"
  # ======================================================================= #
  when /^791127(-|_| )?Immunchemie$/i,
       /^Immunchemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=281468"
  # ======================================================================= #
  # === rf "771102 Einführung in die Chemie Übungen"
  # ======================================================================= #
  when /^771102(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Chemie(-|_| )?Übungen$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Chemie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305209"
  # ======================================================================= #
  # === rf "770102 Chemische Übungen (AW)"
  # ======================================================================= #
  when /^770102(-|_| )?Chemische(-|_| )?Übungen(-|_| )?\(?AW\)?$/i,
       /^Chemische(-|_| )?Übungen(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310200"
  # ======================================================================= #
  # === rf "790125 Selected topics in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790125(-|_| )?Selected(-|_| )?topics(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Selected(-|_| )?topics(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/308456?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "875117 Getting Started in Programming for UIW (in Eng.)"
  # ======================================================================= #
  when /^875117(-|_| )?Getting(-|_| )?Started(-|_| )?in(-|_| )?Programming(-|_| )?for(-|_| )?UIW(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Getting(-|_| )?Started(-|_| )?in(-|_| )?Programming(-|_| )?for(-|_| )?UIW(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297206"
  # ======================================================================= #
  # === rf "731139 An introduction to scientific programming (in Eng.)"
  # ======================================================================= #
  when /^731139(-|_| )?An(-|_| )?introduction(-|_| )?to(-|_| )?scientific(-|_| )?programming(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^An(-|_| )?introduction(-|_| )?to(-|_| )?scientific(-|_| )?programming(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297480"
  # ======================================================================= #
  # === rf "875110 Werkstoff- und Materialkunde"
  # ======================================================================= #
  when /^875110(-|_| )?Werkstoff(-|_)?(-|_| )?und(-|_| )?Materialkunde$/i,
       /^Werkstoff(-|_)?(-|_| )?und(-|_| )?Materialkunde$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305607"
  # ======================================================================= #
  # === rf "754103 Qualitätsmanagement Übungen"
  # ======================================================================= #
  when /^754103(-|_| )?Qualitätsmanagement(-|_| )?Übungen$/i,
       /^Qualitätsmanagement(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305133"
  # ======================================================================= #
  # === rf "754348 Angewandtes Qualitätsmanagement Übungen"
  # ======================================================================= #
  when /^754348(-|_| )?Angewandtes(-|_| )?Qualitätsmanagement(-|_| )?Übungen$/i,
       /^Angewandtes(-|_| )?Qualitätsmanagement(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297106"
  # ======================================================================= #
  # === rf "894004 Programming with Python (advanced) (in Eng.)"
  # ======================================================================= #
  when /^894004(-|_| )?Programming(-|_| )?with(-|_| )?Python(-|_| )?\(?advanced\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Programming(-|_| )?with(-|_| )?Python(-|_| )?\(?advanced\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310634"
  # ======================================================================= #
  # === rf "771109 Allgemeine und Physikalische Chemie"
  # ======================================================================= #
  when /^771109(-|_| )?Allgemeine(-|_| )?und(-|_| )?Physikalische(-|_| )?Chemie$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Physikalische(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305080"
  # ======================================================================= #
  # === rf "772325 Biochemical seminar (in Eng.)"
  # ======================================================================= #
  when /^772325(-|_| )?Biochemical(-|_| )?seminar(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biochemical(-|_| )?seminar(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310605"
  # ======================================================================= #
  # === rf "831001 Molekulare Genetik von Pflanzen - Laborkurs"
  # ======================================================================= #
  when /^831001(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?von(-|_| )?Pflanzen(-|_| )?(-|_)?(-|_| )?Laborkurs$/i,
       /^Molekulare(-|_| )?Genetik(-|_| )?von(-|_| )?Pflanzen(-|_| )?(-|_)?(-|_| )?Laborkurs$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310083"
  # ======================================================================= #
  # === rf "733104 Organisational behaviour (in Eng.)"
  # ======================================================================= #
  when /^733104(-|_| )?Organisational(-|_| )?behaviour(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Organisational(-|_| )?behaviour(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304968"
  # ======================================================================= #
  # === rf "831133 Allgemeine Botanik"
  # ======================================================================= #
  when /^831133(-|_| )?Allgemeine(-|_| )?Botanik$/i,
       /^Allgemeine(-|_| )?Botanik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305046"
  # ======================================================================= #
  # === rf "752344 Structure and function of proteins (in Eng.)"
  # ======================================================================= #
  when /^752344(-|_| )?Structure(-|_| )?and(-|_| )?function(-|_| )?of(-|_| )?proteins(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Structure(-|_| )?and(-|_| )?function(-|_| )?of(-|_| )?proteins(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/310687?$ctx=design=ca2;header=max;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "790392 Microbial ecology (in Eng.)"
  # ======================================================================= #
  when /^790392(-|_| )?Microbial(-|_| )?ecology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Microbial(-|_| )?ecology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305901"
  # ======================================================================= #
  # === rf "814014 Wissenschaftliche Arbeiten schreiben mit LaTeX"
  # ======================================================================= #
  when /^814014(-|_| )?Wissenschaftliche(-|_| )?Arbeiten(-|_| )?schreiben(-|_| )?mit(-|_| )?LaTeX$/i,
       /^Wissenschaftliche(-|_| )?Arbeiten(-|_| )?schreiben(-|_| )?mit(-|_| )?LaTeX$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293684"
  # ======================================================================= #
  # === rf "804310 Synthetic biology (in Eng.)"
  # ======================================================================= #
  when /^804310(-|_| )?Synthetic(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Synthetic(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305533"
  # ======================================================================= #
  # === rf "914147 Forstliche Biometrie I"
  # ======================================================================= #
  when /^914147(-|_| )?Forstliche(-|_| )?Biometrie(-|_| )?I$/i,
       /^Forstliche(-|_| )?Biometrie(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298847"
  # ======================================================================= #
  # === rf "731118 Neuere Agrargeschichte"
  # ======================================================================= #
  when /^731118(-|_| )?Neuere(-|_| )?Agrargeschichte$/i,
       /^Neuere(-|_| )?Agrargeschichte$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304595"
  # ======================================================================= #
  # === rf "833114 Humanökologie"
  # ======================================================================= #
  when /^833114(-|_| )?Humanökologie$/i,
       /^Humanökologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297719"
  # ======================================================================= #
  # === rf "790115 Einführung in das wissenschaftliche Arbeiten für NaturwissenschafterInnen"
  # ======================================================================= #
  when /^790115(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?wissenschaftliche(-|_| )?Arbeiten(-|_| )?für(-|_| )?NaturwissenschafterInnen$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?wissenschaftliche(-|_| )?Arbeiten(-|_| )?für(-|_| )?NaturwissenschafterInnen$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/310872?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "790377 Seminar in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790377(-|_| )?Seminar(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Seminar(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296837"
  # ======================================================================= #
  # === rf "912116 Waldökologie"
  # ======================================================================= #
  when /^912116(-|_| )?Waldökologie$/i,
       /^Waldökologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297203"
  # ======================================================================= #
  # === rf "730101 Einführung in das Umwelt- und Bioressourcenmanagement"
  # ======================================================================= #
  when /^730101(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Umwelt(-|_)?(-|_| )?und(-|_| )?Bioressourcenmanagement$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?Umwelt(-|_)?(-|_| )?und(-|_| )?Bioressourcenmanagement$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=275207"
  # ======================================================================= #
  # === rf "730104 Einführung in das Umwelt- und Bioressourcenmanagement"
  # ======================================================================= #
  when /^730104(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Umwelt(-|_)?(-|_| )?und(-|_| )?Bioressourcenmanagement$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?Umwelt(-|_)?(-|_| )?und(-|_| )?Bioressourcenmanagement$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305903"
  # ======================================================================= #
  # === rf "804301 Synthetic bioarchitectures (in Eng.)"
  # ======================================================================= #
  when /^804301(-|_| )?Synthetic(-|_| )?bioarchitectures(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Synthetic(-|_| )?bioarchitectures(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297537"
  # ======================================================================= #
  # === rf "790384 Machine learning and pattern recognition for bioinformatics (in Eng.)"
  # ======================================================================= #
  when /^790384(-|_| )?Machine(-|_| )?learning(-|_| )?and(-|_| )?pattern(-|_| )?recognition(-|_| )?for(-|_| )?bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Machine(-|_| )?learning(-|_| )?and(-|_| )?pattern(-|_| )?recognition(-|_| )?for(-|_| )?bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304582"
  # ======================================================================= #
  # === rf "790107 Bachelorseminar"
  # ======================================================================= #
  when /^790107(-|_| )?Bachelorseminar$/i,
       /^Bachelorseminar$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296802"
  # ======================================================================= #
  # === rf "772108 Grundlagen der Biochemie"
  # ======================================================================= #
  when /^772108(-|_| )?Grundlagen(-|_| )?der(-|_| )?Biochemie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Biochemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310076"
  # ======================================================================= #
  # === rf "771106 Instrumentelle Analytische und Physikalische Chemie Übungen"
  # ======================================================================= #
  when /^771106(-|_| )?Instrumentelle(-|_| )?Analytische(-|_| )?und(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?Übungen$/i,
       /^Instrumentelle(-|_| )?Analytische(-|_| )?und(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305079"
  # ======================================================================= #
  # === rf "771105 Analytische Chemie Übungen"
  # ======================================================================= #
  when /^771105(-|_| )?Analytische(-|_| )?Chemie(-|_| )?Übungen$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303692"
  # ======================================================================= #
  # === rf "790381 Essentials for bioinformatics data analysis (in Eng.)"
  # ======================================================================= #
  when /^790381(-|_| )?Essentials(-|_| )?for(-|_| )?bioinformatics(-|_| )?data(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Essentials(-|_| )?for(-|_| )?bioinformatics(-|_| )?data(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=311104"
  # ======================================================================= #
  # === rf "771118 Chemisches Rechnen I"
  # ======================================================================= #
  when /^771118(-|_| )?Chemisches(-|_| )?Rechnen(-|_| )?I$/i,
       /^Chemisches(-|_| )?Rechnen(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305148"
  # ======================================================================= #
  # === rf "941307 Developmental genetics (in Eng.)"
  # ======================================================================= #
  when /^941307(-|_| )?Developmental(-|_| )?genetics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Developmental(-|_| )?genetics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297804"
  # ======================================================================= #
  # === rf "791353 Quality management in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^791353(-|_| )?Quality(-|_| )?management(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Quality(-|_| )?management(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297864"
  # ======================================================================= #
  # === rf "893303 Mechanical and thermal process technology II (in Eng.)"
  # ======================================================================= #
  when /^893303(-|_| )?Mechanical(-|_| )?and(-|_| )?thermal(-|_| )?process(-|_| )?technology(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Mechanical(-|_| )?and(-|_| )?thermal(-|_| )?process(-|_| )?technology(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291922"
  # ======================================================================= #
  # === rf "752338 Practical course in enzyme technology (in Eng.)"
  # ======================================================================= #
  when /^752338(-|_| )?Practical(-|_| )?course(-|_| )?in(-|_| )?enzyme(-|_| )?technology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Practical(-|_| )?course(-|_| )?in(-|_| )?enzyme(-|_| )?technology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298569"
  # ======================================================================= #
  # === rf "940328 Molecular phytopathology (in Eng.)"
  # ======================================================================= #
  when /^940328(-|_| )?Molecular(-|_| )?phytopathology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?phytopathology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=299111"
  # ======================================================================= #
  # === rf "771317 Advanced instrumental analytical chemistry (in Eng.)"
  # ======================================================================= #
  when /^771317(-|_| )?Advanced(-|_| )?instrumental(-|_| )?analytical(-|_| )?chemistry(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Advanced(-|_| )?instrumental(-|_| )?analytical(-|_| )?chemistry(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296863"
  # ======================================================================= #
  # === rf "940337 Practical course in cell biology (in Eng.)"
  # ======================================================================= #
  when /^940337(-|_| )?Practical(-|_| )?course(-|_| )?in(-|_| )?cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Practical(-|_| )?course(-|_| )?in(-|_| )?cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=309898"
  # ======================================================================= #
  # === rf "940321 Plant molecular biology (in Eng.)"
  # ======================================================================= #
  when /^940321(-|_| )?Plant(-|_| )?molecular(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Plant(-|_| )?molecular(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303494"
  # ======================================================================= #
  # === rf "790121 Einführung in die Immunologie"
  # ======================================================================= #
  when /^790121(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Immunologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Immunologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304061"
  # ======================================================================= #
  # === rf "773120 Organische Chemie"
  # ======================================================================= #
  when /^773120(-|_| )?Organische(-|_| )?Chemie$/i,
       /^Organische(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296975"
  # ======================================================================= #
  # === rf "754109 Qualitätsmanagement I"
  # ======================================================================= #
  when /^754109(-|_| )?Qualitätsmanagement(-|_| )?I$/i,
       /^Qualitätsmanagement(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296676"
  # ======================================================================= #
  # === rf "940001 Understand the wonder of science behind vaccines (in Eng.)"
  # ======================================================================= #
  when /^940001(-|_| )?Understand(-|_| )?the(-|_| )?wonder(-|_| )?of(-|_| )?science(-|_| )?behind(-|_| )?vaccines(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Understand(-|_| )?the(-|_| )?wonder(-|_| )?of(-|_| )?science(-|_| )?behind(-|_| )?vaccines(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=302776"
  # ======================================================================= #
  # === rf "790110 Industrial production of secondary metabolites and comparative biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790110(-|_| )?Industrial(-|_| )?production(-|_| )?of(-|_| )?secondary(-|_| )?metabolites(-|_| )?and(-|_| )?comparative(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Industrial(-|_| )?production(-|_| )?of(-|_| )?secondary(-|_| )?metabolites(-|_| )?and(-|_| )?comparative(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304860"
  # ======================================================================= #
  # === rf "735101 Agrarmärkte"
  # ======================================================================= #
  when /^735101(-|_| )?Agrarmärkte$/i,
       /^Agrarmärkte$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309876?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "790311 Immunology (in Eng.)"
  # ======================================================================= #
  when /^790311(-|_| )?Immunology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Immunology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297192"
  # ======================================================================= #
  # === rf "754349 Hygiene Übungen"
  # ======================================================================= #
  when /^754349(-|_| )?Hygiene(-|_| )?Übungen$/i,
       /^Hygiene(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297306"
  # ======================================================================= #
  # === rf "772112 Biochemische Übungen I"
  # ======================================================================= #
  when /^772112(-|_| )?Biochemische(-|_| )?Übungen(-|_| )?I$/i,
       /^Biochemische(-|_| )?Übungen(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309580?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "941304 Molecular biology for food analysis (in Eng.)"
  # ======================================================================= #
  when /^941304(-|_| )?Molecular(-|_| )?biology(-|_| )?for(-|_| )?food(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?biology(-|_| )?for(-|_| )?food(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=283924"
  # ======================================================================= #
  # === rf "790102 Allgemeine Mikrobiologie"
  # ======================================================================= #
  when /^790102(-|_| )?Allgemeine(-|_| )?Mikrobiologie$/i,
       /^Allgemeine(-|_| )?Mikrobiologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296594"
  # ======================================================================= #
  # === rf "940105 Introduction to molecular biology (in Eng.)"
  # ======================================================================= #
  when /^940105(-|_| )?Introduction(-|_| )?to(-|_| )?molecular(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Introduction(-|_| )?to(-|_| )?molecular(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297265"
  # ======================================================================= #
  # === rf "940098 Seminars in molecular biotechnology (in Eng.)"
  # ======================================================================= #
  when /^940098(-|_| )?Seminars(-|_| )?in(-|_| )?molecular(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Seminars(-|_| )?in(-|_| )?molecular(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310376"
  # ======================================================================= #
  # === rf "941142 Einführung in die Zellbiologie und Genetik"
  # ======================================================================= #
  when /^941142(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Zellbiologie(-|_| )?und(-|_| )?Genetik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Zellbiologie(-|_| )?und(-|_| )?Genetik$/i
    "https://online.boku.ac.at/BOKUonline/wblv.wbShowLvDetail?pStpSpNr=271721"
  # ======================================================================= #
  # === rf "773010 Advances in protein crystallography (in Eng.)"
  # ======================================================================= #
  when /^773010(-|_| )?Advances(-|_| )?in(-|_| )?protein(-|_| )?crystallography(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Advances(-|_| )?in(-|_| )?protein(-|_| )?crystallography(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/pl/ui/$ctx/wbLv.wbShowLVDetail?pStpSpNr=294080"
  # ======================================================================= #
  # === rf "910100 Einführung in die Forstwirtschaft"
  # ======================================================================= #
  when /^910100(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Forstwirtschaft$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Forstwirtschaft$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304847"
  # ======================================================================= #
  # === rf "831138 Forstbotanik"
  # ======================================================================= #
  when /^831138(-|_| )?Forstbotanik$/i,
       /^Forstbotanik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303561"
  # ======================================================================= #
  # === rf "802301 Biomaterial interfaces and interactions (in Eng.)"
  # ======================================================================= #
  when /^802301(-|_| )?Biomaterial(-|_| )?interfaces(-|_| )?and(-|_| )?interactions(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biomaterial(-|_| )?interfaces(-|_| )?and(-|_| )?interactions(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296624"
  # ======================================================================= #
  # === rf "790122 Allgemeine Mykologie"
  # ======================================================================= #
  when /^790122(-|_| )?Allgemeine(-|_| )?Mykologie$/i,
       /^Allgemeine(-|_| )?Mykologie$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/308548?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "957120 Management genetischer Ressourcen"
  # ======================================================================= #
  when /^957120(-|_| )?Management(-|_| )?genetischer(-|_| )?Ressourcen$/i,
       /^Management(-|_| )?genetischer(-|_| )?Ressourcen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284249"
  # ======================================================================= #
  # === rf "957325 Molecular plant breeding (in Eng.)"
  # ======================================================================= #
  when /^957325(-|_| )?Molecular(-|_| )?plant(-|_| )?breeding(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?plant(-|_| )?breeding(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310799"
  # ======================================================================= #
  # === rf "790111 Plant biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790111(-|_| )?Plant(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Plant(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298173"
  # ======================================================================= #
  # === rf "932104 Tierhaltung"
  # ======================================================================= #
  when /^932104(-|_| )?Tierhaltung$/i,
       /^Tierhaltung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305707"
  # ======================================================================= #
  # === rf "790305 Antigene und Impfstoffe"
  # ======================================================================= #
  when /^790305(-|_| )?Antigene(-|_| )?und(-|_| )?Impfstoffe$/i,
       /^Antigene(-|_| )?und(-|_| )?Impfstoffe$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293083"
  # ======================================================================= #
  # === rf "851100 Angewandte Statistik"
  # ======================================================================= #
  when /^851100(-|_| )?Angewandte(-|_| )?Statistik$/i,
       /^Angewandte(-|_| )?Statistik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304891"
  # ======================================================================= #
  # === rf "790388 Bayesian data analysis in the life sciences (in Eng.)"
  # ======================================================================= #
  when /^790388(-|_| )?Bayesian(-|_| )?data(-|_| )?analysis(-|_| )?in(-|_| )?the(-|_| )?life(-|_| )?sciences(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Bayesian(-|_| )?data(-|_| )?analysis(-|_| )?in(-|_| )?the(-|_| )?life(-|_| )?sciences(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305710"
  # ======================================================================= #
  # === rf "894003 Programming with Python (basic) (in Eng.)"
  # ======================================================================= #
  when /^894003(-|_| )?Programming(-|_| )?with(-|_| )?Python(-|_| )?\(?basic\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Programming(-|_| )?with(-|_| )?Python(-|_| )?\(?basic\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304518"
  # ======================================================================= #
  # === rf "790014 Advanced light and chemical microscopy in life science (in Eng.)"
  # ======================================================================= #
  when /^790014(-|_| )?Advanced(-|_| )?light(-|_| )?and(-|_| )?chemical(-|_| )?microscopy(-|_| )?in(-|_| )?life(-|_| )?science(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Advanced(-|_| )?light(-|_| )?and(-|_| )?chemical(-|_| )?microscopy(-|_| )?in(-|_| )?life(-|_| )?science(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=299090"
  # ======================================================================= #
  # === rf "772322 Genetic model organisms in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^772322(-|_| )?Genetic(-|_| )?model(-|_| )?organisms(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Genetic(-|_| )?model(-|_| )?organisms(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298898"
  # ======================================================================= #
  # === rf "772307 Glycobiology (in Eng.)"
  # ======================================================================= #
  when /^772307(-|_| )?Glycobiology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Glycobiology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305121"
  # ======================================================================= #
  # === rf "754101 Mikrobiologie (AW)"
  # ======================================================================= #
  when /^754101(-|_| )?Mikrobiologie(-|_| )?\(?AW\)?$/i,
       /^Mikrobiologie(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305249"
  # ======================================================================= #
  # === rf "856104 Verkehrswegeplanung"
  # ======================================================================= #
  when /^856104(-|_| )?Verkehrswegeplanung$/i,
       /^Verkehrswegeplanung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287536"
  # ======================================================================= #
  # === rf "991002 Die ökologische Krise aus multidisziplinärer Perspektive"
  # ======================================================================= #
  when /^991002(-|_| )?Die(-|_| )?ökologische(-|_| )?Krise(-|_| )?aus(-|_| )?multidisziplinärer(-|_| )?Perspektive$/i,
       /^Die(-|_| )?ökologische(-|_| )?Krise(-|_| )?aus(-|_| )?multidisziplinärer(-|_| )?Perspektive$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=278148"
  # ======================================================================= #
  # === rf "733319 Welternährungswirtschaft"
  # ======================================================================= #
  when /^733319(-|_| )?Welternährungswirtschaft$/i,
       /^Welternährungswirtschaft$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293394"
  # ======================================================================= #
  # === rf "735304 Agrarmarketing II"
  # ======================================================================= #
  when /^735304(-|_| )?Agrarmarketing(-|_| )?II$/i,
       /^Agrarmarketing(-|_| )?II$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293428"
  # ======================================================================= #
  # === rf "953322 Plant virology and bacteriology (in Eng.)"
  # ======================================================================= #
  when /^953322(-|_| )?Plant(-|_| )?virology(-|_| )?and(-|_| )?bacteriology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Plant(-|_| )?virology(-|_| )?and(-|_| )?bacteriology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310536"
  # ======================================================================= #
  # === rf "851111 Statistik (AW)"
  # ======================================================================= #
  when /^851111(-|_| )?Statistik(-|_| )?\(?AW\)?$/i,
       /^Statistik(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303773"
  # ======================================================================= #
  # === rf "814101 Atmospheric Pollution and Climate Change (in Eng.)"
  # ======================================================================= #
  when /^814101(-|_| )?Atmospheric(-|_| )?Pollution(-|_| )?and(-|_| )?Climate(-|_| )?Change(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Atmospheric(-|_| )?Pollution(-|_| )?and(-|_| )?Climate(-|_| )?Change(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292478"
  # ======================================================================= #
  # === rf "893122 Mechanische und thermische Verfahrenstechnik"
  # ======================================================================= #
  when /^893122(-|_| )?Mechanische(-|_| )?und(-|_| )?thermische(-|_| )?Verfahrenstechnik$/i,
       /^Mechanische(-|_| )?und(-|_| )?thermische(-|_| )?Verfahrenstechnik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303488"
  # ======================================================================= #
  # === rf "940319 Cell and molecular biology I (in Eng.)"
  # ======================================================================= #
  when /^940319(-|_| )?Cell(-|_| )?and(-|_| )?molecular(-|_| )?biology(-|_| )?I(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Cell(-|_| )?and(-|_| )?molecular(-|_| )?biology(-|_| )?I(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310493"
  # ======================================================================= #
  # === rf "831114 Pflanzenphysiologie"
  # ======================================================================= #
  when /^831114(-|_| )?Pflanzenphysiologie$/i,
       /^Pflanzenphysiologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297574"
  # ======================================================================= #
  # === rf "892325 Bionik - technische Lösungen aus der Natur"
  # ======================================================================= #
  when /^892325(-|_| )?Bionik(-|_| )?(-|_)?(-|_| )?technische(-|_| )?Lösungen(-|_| )?aus(-|_| )?der(-|_| )?Natur$/i,
       /^Bionik(-|_| )?(-|_)?(-|_| )?technische(-|_| )?Lösungen(-|_| )?aus(-|_| )?der(-|_| )?Natur$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291927"
  # ======================================================================= #
  # === rf "931103 Grundlagen der Landtechnik"
  # ======================================================================= #
  when /^931103(-|_| )?Grundlagen(-|_| )?der(-|_| )?Landtechnik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Landtechnik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305197"
  # ======================================================================= #
  # === rf "752340 Biochemical technology (in Eng.)"
  # ======================================================================= #
  when /^752340(-|_| )?Biochemical(-|_| )?technology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biochemical(-|_| )?technology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297397"
  # ======================================================================= #
  # === rf "790304 Strain improvement of microorganisms and higher eukaryotic cells (in Eng.)"
  # ======================================================================= #
  when /^790304(-|_| )?Strain(-|_| )?improvement(-|_| )?of(-|_| )?microorganisms(-|_| )?and(-|_| )?higher(-|_| )?eukaryotic(-|_| )?cells(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Strain(-|_| )?improvement(-|_| )?of(-|_| )?microorganisms(-|_| )?and(-|_| )?higher(-|_| )?eukaryotic(-|_| )?cells(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303827"
  # ======================================================================= #
  # === rf "940322 Plant biochemistry and cell biology (in Eng.)"
  # ======================================================================= #
  when /^940322(-|_| )?Plant(-|_| )?biochemistry(-|_| )?and(-|_| )?cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Plant(-|_| )?biochemistry(-|_| )?and(-|_| )?cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304676"
  # ======================================================================= #
  # === rf "833107 Agrarökologie - Übungen"
  # ======================================================================= #
  when /^833107(-|_| )?Agrarökologie(-|_| )?(-|_)?(-|_| )?Übungen$/i,
       /^Agrarökologie(-|_| )?(-|_)?(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296820"
  # ======================================================================= #
  # === rf "790131 Einführung in die Lebensmitteltechnologie, Biotechnologie und Prozesstechnik"
  # ======================================================================= #
  when /^790131(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Lebensmitteltechnologie,?(-|_| )?Biotechnologie(-|_| )?und(-|_| )?Prozesstechnik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Lebensmitteltechnologie,?(-|_| )?Biotechnologie(-|_| )?und(-|_| )?Prozesstechnik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303951"
  # ======================================================================= #
  # === rf "790120 Grundlagen der Bioprozesstechnik"
  # ======================================================================= #
  when /^790120(-|_| )?Grundlagen(-|_| )?der(-|_| )?Bioprozesstechnik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Bioprozesstechnik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305471"
  # ======================================================================= #
  # === rf "790040 Emerging and re-emerging viral threats (in Eng.)"
  # ======================================================================= #
  when /^790040(-|_| )?Emerging(-|_| )?and(-|_| )?re(-|_)?emerging(-|_| )?viral(-|_| )?threats(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Emerging(-|_| )?and(-|_| )?re(-|_)?emerging(-|_| )?viral(-|_| )?threats(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310174"
  # ======================================================================= #
  # === rf "790026 Bioinformatische Übungen"
  # ======================================================================= #
  when /^790026(-|_| )?Bioinformatische(-|_| )?Übungen$/i,
       /^Bioinformatische(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289565"
  # ======================================================================= #
  # === rf "790310 Applied virology (in Eng.)"
  # ======================================================================= #
  when /^790310(-|_| )?Applied(-|_| )?virology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Applied(-|_| )?virology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298571"
  # ======================================================================= #
  # === rf "851110 Statistik (UBRM)"
  # ======================================================================= #
  when /^851110(-|_| )?Statistik(-|_| )?\(?UBRM\)?$/i,
       /^Statistik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304122"
  # ======================================================================= #
  # === rf "772311 Kinetics of biochemical reactions (in Eng.)"
  # ======================================================================= #
  when /^772311(-|_| )?Kinetics(-|_| )?of(-|_| )?biochemical(-|_| )?reactions(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Kinetics(-|_| )?of(-|_| )?biochemical(-|_| )?reactions(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303730"
  # ======================================================================= #
  # === rf "790394 Sequencing data analysis (in Eng.)"
  # ======================================================================= #
  when /^790394(-|_| )?Sequencing(-|_| )?data(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Sequencing(-|_| )?data(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303926"
  # ======================================================================= #
  # === rf "790398 Antibody engineering (in Eng.)"
  # ======================================================================= #
  when /^790398(-|_| )?Antibody(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Antibody(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310974"
  # ======================================================================= #
  # === rf "731101 Projektmanagement"
  # ======================================================================= #
  when /^731101(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309046?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "772300 Biophysical chemistry (in Eng.)"
  # ======================================================================= #
  when /^772300(-|_| )?Biophysical(-|_| )?chemistry(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biophysical(-|_| )?chemistry(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=309159"
  # ======================================================================= #
  # === rf "790126 Innovationsmanagement"
  # ======================================================================= #
  when /^790126(-|_| )?Innovationsmanagement$/i,
       /^Innovationsmanagement$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293081"
  # ======================================================================= #
  # === rf "790327 Practical course in plant biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790327(-|_| )?Practical(-|_| )?course(-|_| )?in(-|_| )?plant(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Practical(-|_| )?course(-|_| )?in(-|_| )?plant(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304063"
  # ======================================================================= #
  # === rf "851114 Statistik für KTWW - Übungen"
  # ======================================================================= #
  when /^851114(-|_| )?Statistik(-|_| )?für(-|_| )?KTWW(-|_| )?(-|_)?(-|_| )?Übungen$/i,
       /^Statistik(-|_| )?für(-|_| )?KTWW(-|_| )?(-|_)?(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292175"
  # ======================================================================= #
  # === rf "914100 Statistik (HNT)"
  # ======================================================================= #
  when /^914100(-|_| )?Statistik(-|_| )?\(?HNT\)?$/i,
       /^Statistik(-|_| )?\(?HNT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293516"
  # ======================================================================= #
  # === rf "957121 Kulturpflanzen und genetische Ressourcen"
  # ======================================================================= #
  when /^957121(-|_| )?Kulturpflanzen(-|_| )?und(-|_| )?genetische(-|_| )?Ressourcen$/i,
       /^Kulturpflanzen(-|_| )?und(-|_| )?genetische(-|_| )?Ressourcen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293774"
  # ======================================================================= #
  # === rf "851113 Statistik für KTWW"
  # ======================================================================= #
  when /^851113(-|_| )?Statistik(-|_| )?für(-|_| )?KTWW$/i,
       /^Statistik(-|_| )?für(-|_| )?KTWW$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292174"
  # ======================================================================= #
  # === rf "790037 Characterisation of blood stem cells as starting cells for biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790037(-|_| )?Characterisation(-|_| )?of(-|_| )?blood(-|_| )?stem(-|_| )?cells(-|_| )?as(-|_| )?starting(-|_| )?cells(-|_| )?for(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Characterisation(-|_| )?of(-|_| )?blood(-|_| )?stem(-|_| )?cells(-|_| )?as(-|_| )?starting(-|_| )?cells(-|_| )?for(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305907"
  # ======================================================================= #
  # === rf "790045 Interactions of the (innate) immune system and viruses (in Eng.)"
  # ======================================================================= #
  when /^790045(-|_| )?Interactions(-|_| )?of(-|_| )?the(-|_| )?\(?innate\)?(-|_| )?immune(-|_| )?system(-|_| )?and(-|_| )?viruses(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Interactions(-|_| )?of(-|_| )?the(-|_| )?\(?innate\)?(-|_| )?immune(-|_| )?system(-|_| )?and(-|_| )?viruses(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310260"
  # ======================================================================= #
  # === rf "791430 3D cell culture (in Eng.)"
  # ======================================================================= #
  when /^791430(-|_| )?3D(-|_| )?cell(-|_| )?culture(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^3D(-|_| )?cell(-|_| )?culture(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292459"
  # ======================================================================= #
  # === rf "957121 Genetische Ressourcen und GMO"
  # ======================================================================= #
  when /^957121(-|_| )?Genetische(-|_| )?Ressourcen(-|_| )?und(-|_| )?GMO$/i,
       /^Genetische(-|_| )?Ressourcen(-|_| )?und(-|_| )?GMO$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287706"
  # ======================================================================= #
  # === rf "916104 Einführung in den Forstschutz"
  # ======================================================================= #
  when /^916104(-|_| )?Einführung(-|_| )?in(-|_| )?den(-|_| )?Forstschutz$/i,
       /^Einführung(-|_| )?in(-|_| )?den(-|_| )?Forstschutz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291939"
  # ======================================================================= #
  # === rf "790390 Molecular evolution and phylogenetics (in Eng.)"
  # ======================================================================= #
  when /^790390(-|_| )?Molecular(-|_| )?evolution(-|_| )?and(-|_| )?phylogenetics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?evolution(-|_| )?and(-|_| )?phylogenetics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/310040?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "791380 Engineering of biotechnological production facilities (in Eng.)"
  # ======================================================================= #
  when /^791380(-|_| )?Engineering(-|_| )?of(-|_| )?biotechnological(-|_| )?production(-|_| )?facilities(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Engineering(-|_| )?of(-|_| )?biotechnological(-|_| )?production(-|_| )?facilities(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293598"
  # ======================================================================= #
  # === rf "892100 Physik (KTWW+HNT)"
  # ======================================================================= #
  when /^892100(-|_| )?Physik(-|_| )?\(?KTWW+HNT\)?$/i,
       /^Physik(-|_| )?\(?KTWW+HNT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292704"
  # ======================================================================= #
  # === rf "731131 Umwelt- und Ressourcenökonomie"
  # ======================================================================= #
  when /^731131(-|_| )?Umwelt(-|_)?(-|_| )?und(-|_| )?Ressourcenökonomie$/i,
       /^Umwelt(-|_)?(-|_| )?und(-|_| )?Ressourcenökonomie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288891"
  # ======================================================================= #
  # === rf "851315 Applied mathematics and biostatistics exercises (in Eng.)"
  # ======================================================================= #
  when /^851315(-|_| )?Applied(-|_| )?mathematics(-|_| )?and(-|_| )?biostatistics(-|_| )?exercises(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Applied(-|_| )?mathematics(-|_| )?and(-|_| )?biostatistics(-|_| )?exercises(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304924"
  # ======================================================================= #
  # === rf "731121 Projektmanagement (AW)"
  # ======================================================================= #
  when /^731121(-|_| )?Projektmanagement(-|_| )?\(?AW\)?$/i,
       /^Projektmanagement(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310471"
  # ======================================================================= #
  # === rf "911000 Umweltmikrobiologie"
  # ======================================================================= #
  when /^911000(-|_| )?Umweltmikrobiologie$/i,
       /^Umweltmikrobiologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293446"
  # ======================================================================= #
  # === rf "832313 Grundlagen der Wildtierökologie"
  # ======================================================================= #
  when /^832313(-|_| )?Grundlagen(-|_| )?der(-|_| )?Wildtierökologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Wildtierökologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292365"
  # ======================================================================= #
  # === rf "835106 Mathematik I"
  # ======================================================================= #
  when /^835106(-|_| )?Mathematik(-|_| )?I$/i,
       /^Mathematik(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291552"
  # ======================================================================= #
  # === rf "857104 Geoinformatik"
  # ======================================================================= #
  when /^857104(-|_| )?Geoinformatik$/i,
       /^Geoinformatik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292770"
  # ======================================================================= #
  # === rf "774322 Chemische Prozesse in Atmosphäre, Hydrosphäre und Geosphäre"
  # ======================================================================= #
  when /^774322(-|_| )?Chemische(-|_| )?Prozesse(-|_| )?in(-|_| )?Atmosphäre,?(-|_| )?Hydrosphäre(-|_| )?und(-|_| )?Geosphäre$/i,
       /^Chemische(-|_| )?Prozesse(-|_| )?in(-|_| )?Atmosphäre,?(-|_| )?Hydrosphäre(-|_| )?und(-|_| )?Geosphäre$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288738"
  # ======================================================================= #
  # === rf "833117 Einführung in die Insektenkunde"
  # ======================================================================= #
  when /^833117(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Insektenkunde$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Insektenkunde$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/311073?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "804402 Seminar synthetic biology (in Eng.)"
  # ======================================================================= #
  when /^804402(-|_| )?Seminar(-|_| )?synthetic(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Seminar(-|_| )?synthetic(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310067"
  # ======================================================================= #
  # === rf "790389 Modern bioinformatics (in Eng.)"
  # ======================================================================= #
  when /^790389(-|_| )?Modern(-|_| )?bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Modern(-|_| )?bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305973"
  # ======================================================================= #
  # === rf "940325 Cell and molecular biology II (in Eng.)"
  # ======================================================================= #
  when /^940325(-|_| )?Cell(-|_| )?and(-|_| )?molecular(-|_| )?biology(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Cell(-|_| )?and(-|_| )?molecular(-|_| )?biology(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306043"
  # ======================================================================= #
  # === rf "754325 Food microbiology for SIFC (in Eng.)"
  # ======================================================================= #
  when /^754325(-|_| )?Food(-|_| )?microbiology(-|_| )?for(-|_| )?SIFC(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Food(-|_| )?microbiology(-|_| )?for(-|_| )?SIFC(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291798"
  # ======================================================================= #
  # === rf "818061 Wissenschaftliches Arbeiten am Computer mit Linux"
  # ======================================================================= #
  when /^818061(-|_| )?Wissenschaftliches(-|_| )?Arbeiten(-|_| )?am(-|_| )?Computer(-|_| )?mit(-|_| )?Linux$/i,
       /^Wissenschaftliches(-|_| )?Arbeiten(-|_| )?am(-|_| )?Computer(-|_| )?mit(-|_| )?Linux$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289258%20#%202019W"
  # ======================================================================= #
  # === rf "731113 Allgemeine und Agrarsoziologie"
  # ======================================================================= #
  when /^731113(-|_| )?Allgemeine(-|_| )?und(-|_| )?Agrarsoziologie$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Agrarsoziologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297712"
  # ======================================================================= #
  # === rf "731130 Einführung in das wissenschaftliche Arbeiten"
  # ======================================================================= #
  when /^731130(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?wissenschaftliche(-|_| )?Arbeiten$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?wissenschaftliche(-|_| )?Arbeiten$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288890"
  # ======================================================================= #
  # === rf "831106 Bau der Pflanze"
  # ======================================================================= #
  when /^831106(-|_| )?Bau(-|_| )?der(-|_| )?Pflanze$/i,
       /^Bau(-|_| )?der(-|_| )?Pflanze$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292925"
  # ======================================================================= #
  # === rf "831145 Spezielle Botanik"
  # ======================================================================= #
  when /^831145(-|_| )?Spezielle(-|_| )?Botanik$/i,
       /^Spezielle(-|_| )?Botanik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296947"
  # ======================================================================= #
  # === rf "941305 Molecular biology of plant-pathogen interactions (in Eng.)"
  # ======================================================================= #
  when /^941305(-|_| )?Molecular(-|_| )?biology(-|_| )?of(-|_| )?plant(-|_)?pathogen(-|_| )?interactions(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?biology(-|_| )?of(-|_| )?plant(-|_)?pathogen(-|_| )?interactions(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287392"
  # ======================================================================= #
  # === rf "872138 Geologische Übungen (KTWW, FW)"
  # ======================================================================= #
  when /^872138(-|_| )?Geologische(-|_| )?Übungen(-|_| )?\(?KTWW,?(-|_| )?FW\)?$/i,
       /^Geologische(-|_| )?Übungen(-|_| )?\(?KTWW,?(-|_| )?FW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288282"
  # ======================================================================= #
  # === rf "835110 Mathematik II"
  # ======================================================================= #
  when /^835110(-|_| )?Mathematik(-|_| )?II$/i,
       /^Mathematik(-|_| )?II$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287195"
  # ======================================================================= #
  # === rf "856105 Straßenentwurf"
  # ======================================================================= #
  when /^856105(-|_| )?Straßenentwurf$/i,
       /^Straßenentwurf$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287537"
  # ======================================================================= #
  # === rf "812101 Allgemeine Hydrobiologie - Übungen (in Eng.)"
  # ======================================================================= #
  when /^812101(-|_| )?Allgemeine(-|_| )?Hydrobiologie(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Allgemeine(-|_| )?Hydrobiologie(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289080"
  # ======================================================================= #
  # === rf "816112 Pflichtpraxisseminar"
  # ======================================================================= #
  when /^816112(-|_| )?Pflichtpraxisseminar$/i,
       /^Pflichtpraxisseminar$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292076"
  # ======================================================================= #
  # === rf "790368 Biological therapeutics (in Eng.)"
  # ======================================================================= #
  when /^790368(-|_| )?Biological(-|_| )?therapeutics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biological(-|_| )?therapeutics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/309908?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "791373 Compulsory Internship Seminar"
  # ======================================================================= #
  when /^791373(-|_| )?Compulsory(-|_| )?Internship(-|_| )?Seminar$/i,
       /^Compulsory(-|_| )?Internship(-|_| )?Seminar$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297093"
  # ======================================================================= #
  # === rf "940107 Einführung in die Zellbiologie und Genetik Übungen"
  # ======================================================================= #
  when /^940107(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Zellbiologie(-|_| )?und(-|_| )?Genetik(-|_| )?Übungen$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Zellbiologie(-|_| )?und(-|_| )?Genetik(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305264"
  # ======================================================================= #
  # === rf "831111 Botanik-Übungen - Anatomie (AW)"
  # ======================================================================= #
  when /^831111(-|_| )?Botanik(-|_)?Übungen(-|_| )?(-|_)?(-|_| )?Anatomie(-|_| )?\(?AW\)?$/i,
       /^Botanik(-|_)?Übungen(-|_| )?(-|_)?(-|_| )?Anatomie(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305721"
  # ======================================================================= #
  # === rf "940002 RNA Biology (in Eng.)"
  # ======================================================================= #
  when /^940002(-|_| )?RNA(-|_| )?Biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^RNA(-|_| )?Biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297099"
  # ======================================================================= #
  # === rf "853102 Ökologie in der Landschaftsplanung"
  # ======================================================================= #
  when /^853102(-|_| )?Ökologie(-|_| )?in(-|_| )?der(-|_| )?Landschaftsplanung$/i,
       /^Ökologie(-|_| )?in(-|_| )?der(-|_| )?Landschaftsplanung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306092"
  # ======================================================================= #
  # === rf "731127 Grundlagen der Mikroökonomie"
  # ======================================================================= #
  when /^731127(-|_| )?Grundlagen(-|_| )?der(-|_| )?Mikroökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Mikroökonomie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305918"
  # ======================================================================= #
  # === rf "833102 Tierökologie terrestrischer Lebensräume"
  # ======================================================================= #
  when /^833102(-|_| )?Tierökologie(-|_| )?terrestrischer(-|_| )?Lebensräume$/i,
       /^Tierökologie(-|_| )?terrestrischer(-|_| )?Lebensräume$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305926"
  # ======================================================================= #
  # === rf "892101 Materialkunde"
  # ======================================================================= #
  when /^892101(-|_| )?Materialkunde$/i,
       /^Materialkunde$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305956"
  # ======================================================================= #
  # === rf "957106 Pflanzenzüchtung"
  # ======================================================================= #
  when /^957106(-|_| )?Pflanzenzüchtung$/i,
       /^Pflanzenzüchtung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297726"
  # ======================================================================= #
  # === rf "970307 Mikrobiologie"
  # ======================================================================= #
  when /^970307(-|_| )?Mikrobiologie$/i,
       /^Mikrobiologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305076"
  # ======================================================================= #
  # === rf "857107 Einführung in die Fernerkundung (UBRM)"
  # ======================================================================= #
  when /^857107(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Fernerkundung(-|_| )?\(?UBRM\)?$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Fernerkundung(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285019"
  # ======================================================================= #
  # === rf "735185 Datenerhebung in der empirischen Wirtschafts- und Sozialforschung"
  # ======================================================================= #
  when /^735185(-|_| )?Datenerhebung(-|_| )?in(-|_| )?der(-|_| )?empirischen(-|_| )?Wirtschafts(-|_)?(-|_| )?und(-|_| )?Sozialforschung$/i,
       /^Datenerhebung(-|_| )?in(-|_| )?der(-|_| )?empirischen(-|_| )?Wirtschafts(-|_)?(-|_| )?und(-|_| )?Sozialforschung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284026"
  # ======================================================================= #
  # === rf "791376 Antibody Engineering (in Eng.)"
  # ======================================================================= #
  when /^791376(-|_| )?Antibody(-|_| )?Engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Antibody(-|_| )?Engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wblv.wbShowLvDetail?pStpSpNr=275681"
  # ======================================================================= #
  # === rf "951107 Grünlandbewirtschaftung"
  # ======================================================================= #
  when /^951107(-|_| )?Grünlandbewirtschaftung$/i,
       /^Grünlandbewirtschaftung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306083"
  # ======================================================================= #
  # === rf "732114 Umwelt- und Ressourcenpolitik I: Grundlagen und klassische Themen"
  # ======================================================================= #
  when /^732114(-|_| )?Umwelt(-|_)?(-|_| )?und(-|_| )?Ressourcenpolitik(-|_| )?I:(-|_| )?Grundlagen(-|_| )?und(-|_| )?klassische(-|_| )?Themen$/i,
       /^Umwelt(-|_)?(-|_| )?und(-|_| )?Ressourcenpolitik(-|_| )?I:(-|_| )?Grundlagen(-|_| )?und(-|_| )?klassische(-|_| )?Themen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289568"
  # ======================================================================= #
  # === rf "894307 Statistical thermodynamics and molecular simulation (in Eng.)"
  # ======================================================================= #
  when /^894307(-|_| )?Statistical(-|_| )?thermodynamics(-|_| )?and(-|_| )?molecular(-|_| )?simulation(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Statistical(-|_| )?thermodynamics(-|_| )?and(-|_| )?molecular(-|_| )?simulation(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305648"
  # ======================================================================= #
  # === rf "771303 Environmental and biotechnological analysis (in Eng.)"
  # ======================================================================= #
  when /^771303(-|_| )?Environmental(-|_| )?and(-|_| )?biotechnological(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Environmental(-|_| )?and(-|_| )?biotechnological(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297001"
  # ======================================================================= #
  # === rf "940003 Emerging Topics in RNA Biology (in Eng.)"
  # ======================================================================= #
  when /^940003(-|_| )?Emerging(-|_| )?Topics(-|_| )?in(-|_| )?RNA(-|_| )?Biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Emerging(-|_| )?Topics(-|_| )?in(-|_| )?RNA(-|_| )?Biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297098"
  # ======================================================================= #
  # === rf "736302 Patent law and strategic patent management (in Eng.)"
  # ======================================================================= #
  when /^736302(-|_| )?Patent(-|_| )?law(-|_| )?and(-|_| )?strategic(-|_| )?patent(-|_| )?management(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Patent(-|_| )?law(-|_| )?and(-|_| )?strategic(-|_| )?patent(-|_| )?management(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297610"
  # ======================================================================= #
  # === rf "953318 Gene technology for plant pathologists (in Eng.)"
  # ======================================================================= #
  when /^953318(-|_| )?Gene(-|_| )?technology(-|_| )?for(-|_| )?plant(-|_| )?pathologists(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Gene(-|_| )?technology(-|_| )?for(-|_| )?plant(-|_| )?pathologists(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305029"
  # ======================================================================= #
  # === rf "914101 Datenanalyse und -management mit R"
  # ======================================================================= #
  when /^914101(-|_| )?Datenanalyse(-|_| )?und(-|_| )?(-|_)?management(-|_| )?mit(-|_| )?R$/i,
       /^Datenanalyse(-|_| )?und(-|_| )?(-|_)?management(-|_| )?mit(-|_| )?R$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305341"
  # ======================================================================= #
  # === rf "831123 Botany (UBRM) (in Eng.)"
  # ======================================================================= #
  when /^831123(-|_| )?Botany(-|_| )?\(?UBRM\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Botany(-|_| )?\(?UBRM\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/310061?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "940311 Cell biology (in Eng.)"
  # ======================================================================= #
  when /^940311(-|_| )?Cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304550"
  # ======================================================================= #
  # === rf "851309 Statistics with R (in Eng.)"
  # ======================================================================= #
  when /^851309(-|_| )?Statistics(-|_| )?with(-|_| )?R(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Statistics(-|_| )?with(-|_| )?R(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305261"
  # ======================================================================= #
  # === rf "810100 Bachelorseminar - Fächerübergreifende Abschlussarbeit"
  # ======================================================================= #
  when /^810100(-|_| )?Bachelorseminar(-|_| )?(-|_)?(-|_| )?Fächerübergreifende(-|_| )?Abschlussarbeit$/i,
       /^Bachelorseminar(-|_| )?(-|_)?(-|_| )?Fächerübergreifende(-|_| )?Abschlussarbeit$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289048"
  # ======================================================================= #
  # === rf "813101 Abfallwirtschaft und Abfallentsorgung"
  # ======================================================================= #
  when /^813101(-|_| )?Abfallwirtschaft(-|_| )?und(-|_| )?Abfallentsorgung$/i,
       /^Abfallwirtschaft(-|_| )?und(-|_| )?Abfallentsorgung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287422"
  # ======================================================================= #
  # === rf "813100 Abfallwirtschaft und Abfallentsorgung"
  # ======================================================================= #
  when /^813100(-|_| )?Abfallwirtschaft(-|_| )?und(-|_| )?Abfallentsorgung$/i,
       /^Abfallwirtschaft(-|_| )?und(-|_| )?Abfallentsorgung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288628"
  # ======================================================================= #
  # === rf "731129 Interdisziplinäre Ansätze und Methoden"
  # ======================================================================= #
  when /^731129(-|_| )?Interdisziplinäre(-|_| )?Ansätze(-|_| )?und(-|_| )?Methoden$/i,
       /^Interdisziplinäre(-|_| )?Ansätze(-|_| )?und(-|_| )?Methoden$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289001"
  # ======================================================================= #
  # === rf "930101 Grundlagen der Landwirtschaft"
  # ======================================================================= #
  when /^930101(-|_| )?Grundlagen(-|_| )?der(-|_| )?Landwirtschaft$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Landwirtschaft$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287742"
  # ======================================================================= #
  # === rf "833105 Zoologie für Pferdewissenschaften"
  # ======================================================================= #
  when /^833105(-|_| )?Zoologie(-|_| )?für(-|_| )?Pferdewissenschaften$/i,
       /^Zoologie(-|_| )?für(-|_| )?Pferdewissenschaften$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287964"
  # ======================================================================= #
  # === rf "833115 Umweltethik"
  # ======================================================================= #
  when /^833115(-|_| )?Umweltethik$/i,
       /^Umweltethik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306073"
  # ======================================================================= #
  # === rf "875103 Konstruktion - Stabtragwerke"
  # ======================================================================= #
  when /^875103(-|_| )?Konstruktion(-|_| )?(-|_)?(-|_| )?Stabtragwerke$/i,
       /^Konstruktion(-|_| )?(-|_)?(-|_| )?Stabtragwerke$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287538"
  # ======================================================================= #
  # === rf "770101 Organische Chemie und Biochemie (AW)"
  # ======================================================================= #
  when /^770101(-|_| )?Organische(-|_| )?Chemie(-|_| )?und(-|_| )?Biochemie(-|_| )?\(?AW\)?$/i,
       /^Organische(-|_| )?Chemie(-|_| )?und(-|_| )?Biochemie(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296805"
  # ======================================================================= #
  # === rf "812102 Hydrobiology (in Eng.)"
  # ======================================================================= #
  when /^812102(-|_| )?Hydrobiology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Hydrobiology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289081"
  # ======================================================================= #
  # === rf "812320 Hydrobiologie II"
  # ======================================================================= #
  when /^812320(-|_| )?Hydrobiologie(-|_| )?II$/i,
       /^Hydrobiologie(-|_| )?II$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288626"
  # ======================================================================= #
  # === rf "803001 Selected topics in high resolution microscopy (in Eng.)"
  # ======================================================================= #
  when /^803001(-|_| )?Selected(-|_| )?topics(-|_| )?in(-|_| )?high(-|_| )?resolution(-|_| )?microscopy(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Selected(-|_| )?topics(-|_| )?in(-|_| )?high(-|_| )?resolution(-|_| )?microscopy(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297745"
  # ======================================================================= #
  # === rf "940111 Genetische Ressourcen von Nutzpflanzen"
  # ======================================================================= #
  when /^940111(-|_| )?Genetische(-|_| )?Ressourcen(-|_| )?von(-|_| )?Nutzpflanzen$/i,
       /^Genetische(-|_| )?Ressourcen(-|_| )?von(-|_| )?Nutzpflanzen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304725"
  # ======================================================================= #
  # === rf "940327 Oncology for biotechnologists (in Eng.)"
  # ======================================================================= #
  when /^940327(-|_| )?Oncology(-|_| )?for(-|_| )?biotechnologists(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Oncology(-|_| )?for(-|_| )?biotechnologists(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297490"
  # ======================================================================= #
  # === rf "733109 Rechnungswesen"
  # ======================================================================= #
  when /^733109(-|_| )?Rechnungswesen$/i,
       /^Rechnungswesen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288858"
  # ======================================================================= #
  # === rf "818100 Umweltethik (UBRM)"
  # ======================================================================= #
  when /^818100(-|_| )?Umweltethik(-|_| )?\(?UBRM\)?$/i,
       /^Umweltethik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304744"
  # ======================================================================= #
  # === rf "916113 Interdisziplinäres Projekt UBRM"
  # ======================================================================= #
  when /^916113(-|_| )?Interdisziplinäres(-|_| )?Projekt(-|_| )?UBRM$/i,
       /^Interdisziplinäres(-|_| )?Projekt(-|_| )?UBRM$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288162"
  # ======================================================================= #
  # === rf "790382 High throughput sequencing and genome analysis (in Eng.)"
  # ======================================================================= #
  when /^790382(-|_| )?High(-|_| )?throughput(-|_| )?sequencing(-|_| )?and(-|_| )?genome(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^High(-|_| )?throughput(-|_| )?sequencing(-|_| )?and(-|_| )?genome(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296949"
  # ======================================================================= #
  # === rf "731311 Projektmanagement - Vertiefung"
  # ======================================================================= #
  when /^731311(-|_| )?Projektmanagement(-|_| )?(-|_)?(-|_| )?Vertiefung$/i,
       /^Projektmanagement(-|_| )?(-|_)?(-|_| )?Vertiefung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288969"
  # ======================================================================= #
  # === rf "976109 Einführung in die Ernährungswissenschaften"
  # ======================================================================= #
  when /^976109(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Ernährungswissenschaften$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Ernährungswissenschaften$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298522"
  # ======================================================================= #
  # === rf "831104 Botanik (UBRM)"
  # ======================================================================= #
  when /^831104(-|_| )?Botanik(-|_| )?\(?UBRM\)?$/i,
       /^Botanik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=283696"
  # ======================================================================= #
  # === rf "791366 Infectious diseases and vaccines (in Eng.)"
  # ======================================================================= #
  when /^791366(-|_| )?Infectious(-|_| )?diseases(-|_| )?and(-|_| )?vaccines(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Infectious(-|_| )?diseases(-|_| )?and(-|_| )?vaccines(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284331"
  # ======================================================================= #
  # === rf "804302 Biomimetic model lipid membranes (in Eng.)"
  # ======================================================================= #
  when /^804302(-|_| )?Biomimetic(-|_| )?model(-|_| )?lipid(-|_| )?membranes(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biomimetic(-|_| )?model(-|_| )?lipid(-|_| )?membranes(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288036"
  # ======================================================================= #
  # === rf "730103 Pflichtpraxisseminar"
  # ======================================================================= #
  when /^730103(-|_| )?Pflichtpraxisseminar$/i,
       /^Pflichtpraxisseminar$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287745"
  # ======================================================================= #
  # === rf "790371 Automation of bioprocesses (in Eng.)"
  # ======================================================================= #
  when /^790371(-|_| )?Automation(-|_| )?of(-|_| )?bioprocesses(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Automation(-|_| )?of(-|_| )?bioprocesses(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288759"
  # ======================================================================= #
  # === rf "790363 Immunobiology and vascular diseases (in Eng.)"
  # ======================================================================= #
  when /^790363(-|_| )?Immunobiology(-|_| )?and(-|_| )?vascular(-|_| )?diseases(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Immunobiology(-|_| )?and(-|_| )?vascular(-|_| )?diseases(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=309673"
  # ======================================================================= #
  # === rf "875105 Baubetriebslehre"
  # ======================================================================= #
  when /^875105(-|_| )?Baubetriebslehre$/i,
       /^Baubetriebslehre$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288340"
  # ======================================================================= #
  # === rf "912113 Grundlagen der Ökologie I: Ökologische Genetik, Verhaltens- und Populationsökologie"
  # ======================================================================= #
  when /^912113(-|_| )?Grundlagen(-|_| )?der(-|_| )?Ökologie(-|_| )?I:(-|_| )?Ökologische(-|_| )?Genetik,?(-|_| )?Verhaltens(-|_)?(-|_| )?und(-|_| )?Populationsökologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Ökologie(-|_| )?I:(-|_| )?Ökologische(-|_| )?Genetik,?(-|_| )?Verhaltens(-|_)?(-|_| )?und(-|_| )?Populationsökologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297458"
  # ======================================================================= #
  # === rf "831103 Vegetationsökologie"
  # ======================================================================= #
  when /^831103(-|_| )?Vegetationsökologie$/i,
       /^Vegetationsökologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288597"
  # ======================================================================= #
  # === rf "737101 Ressourcennutzung und Ressourcenmärkte"
  # ======================================================================= #
  when /^737101(-|_| )?Ressourcennutzung(-|_| )?und(-|_| )?Ressourcenmärkte$/i,
       /^Ressourcennutzung(-|_| )?und(-|_| )?Ressourcenmärkte$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288153"
  # ======================================================================= #
  # === rf "857102 Kulturtechnisches Feldpraktikum"
  # ======================================================================= #
  when /^857102(-|_| )?Kulturtechnisches(-|_| )?Feldpraktikum$/i,
       /^Kulturtechnisches(-|_| )?Feldpraktikum$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288444"
  # ======================================================================= #
  # === rf "957320 Plant breeding - principles and methods (in Eng.)"
  # ======================================================================= #
  when /^957320(-|_| )?Plant(-|_| )?breeding(-|_| )?(-|_)?(-|_| )?principles(-|_| )?and(-|_| )?methods(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Plant(-|_| )?breeding(-|_| )?(-|_)?(-|_| )?principles(-|_| )?and(-|_| )?methods(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287720"
  # ======================================================================= #
  # === rf "893120 Prozesstechnik II"
  # ======================================================================= #
  when /^893120(-|_| )?Prozesstechnik(-|_| )?II$/i,
       /^Prozesstechnik(-|_| )?II$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288194"
  # ======================================================================= #
  # === rf "773108 Organische Chemie Übungen"
  # ======================================================================= #
  when /^773108(-|_| )?Organische(-|_| )?Chemie(-|_| )?Übungen$/i,
       /^Organische(-|_| )?Chemie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303642"
  # ======================================================================= #
  # === rf "894101 Introduction to Bioinformatics (in Eng.)"
  # ======================================================================= #
  when /^894101(-|_| )?Introduction(-|_| )?to(-|_| )?Bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Introduction(-|_| )?to(-|_| )?Bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304846"
  # ======================================================================= #
  # === rf "833103 Agrarökologie"
  # ======================================================================= #
  when /^833103(-|_| )?Agrarökologie$/i,
       /^Agrarökologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297149"
  # ======================================================================= #
  # === rf "812103 Hydrobiologie I (KTWW)"
  # ======================================================================= #
  when /^812103(-|_| )?Hydrobiologie(-|_| )?I(-|_| )?\(?KTWW\)?$/i,
       /^Hydrobiologie(-|_| )?I(-|_| )?\(?KTWW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289079"
  # ======================================================================= #
  # === rf "731104 Wirtschaftliche Grundlagen - Volkswirtschaftslehre"
  # ======================================================================= #
  when /^731104(-|_| )?Wirtschaftliche(-|_| )?Grundlagen(-|_| )?(-|_)?(-|_| )?Volkswirtschaftslehre$/i,
       /^Wirtschaftliche(-|_| )?Grundlagen(-|_| )?(-|_)?(-|_| )?Volkswirtschaftslehre$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288877"
  # ======================================================================= #
  # === rf "812103 Hydrobiologie I"
  # ======================================================================= #
  when /^812103(-|_| )?Hydrobiologie(-|_| )?I$/i,
       /^Hydrobiologie(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305128"
  # ======================================================================= #
  # === rf "831115 Geschichte der Landwirtschaft und der ältesten Kulturpflanzen Europas"
  # ======================================================================= #
  when /^831115(-|_| )?Geschichte(-|_| )?der(-|_| )?Landwirtschaft(-|_| )?und(-|_| )?der(-|_| )?ältesten(-|_| )?Kulturpflanzen(-|_| )?Europas$/i,
       /^Geschichte(-|_| )?der(-|_| )?Landwirtschaft(-|_| )?und(-|_| )?der(-|_| )?ältesten(-|_| )?Kulturpflanzen(-|_| )?Europas$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288604"
  # ======================================================================= #
  # === rf "941110 Laborübungen Genetik für Agrarwissenschaften"
  # ======================================================================= #
  when /^941110(-|_| )?Laborübungen(-|_| )?Genetik(-|_| )?für(-|_| )?Agrarwissenschaften$/i,
       /^Laborübungen(-|_| )?Genetik(-|_| )?für(-|_| )?Agrarwissenschaften$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297245"
  # ======================================================================= #
  # === rf "754100 Hygiene"
  # ======================================================================= #
  when /^754100(-|_| )?Hygiene$/i,
       /^Hygiene$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304962"
  # ======================================================================= #
  # === rf "770100 Allgemeine und anorganische Chemie (AW)"
  # ======================================================================= #
  when /^770100(-|_| )?Allgemeine(-|_| )?und(-|_| )?anorganische(-|_| )?Chemie(-|_| )?\(?AW\)?$/i,
       /^Allgemeine(-|_| )?und(-|_| )?anorganische(-|_| )?Chemie(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=309881"
  # ======================================================================= #
  # === rf "831136 Dendrologie"
  # ======================================================================= #
  when /^831136(-|_| )?Dendrologie$/i,
       /^Dendrologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288611"
  # ======================================================================= #
  # === rf "912125 Immissionsökologie"
  # ======================================================================= #
  when /^912125(-|_| )?Immissionsökologie$/i,
       /^Immissionsökologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288809"
  # ======================================================================= #
  # === rf "790333 Biology of aging (in Eng.)"
  # ======================================================================= #
  when /^790333(-|_| )?Biology(-|_| )?of(-|_| )?aging(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biology(-|_| )?of(-|_| )?aging(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303854"
  # ======================================================================= #
  # === rf "734108 Wirtschaftliche Grundlagen - Betriebswirtschaftslehre"
  # ======================================================================= #
  when /^734108(-|_| )?Wirtschaftliche(-|_| )?Grundlagen(-|_| )?(-|_)?(-|_| )?Betriebswirtschaftslehre$/i,
       /^Wirtschaftliche(-|_| )?Grundlagen(-|_| )?(-|_)?(-|_| )?Betriebswirtschaftslehre$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289094"
  # ======================================================================= #
  # === rf "815102 Landeskulturelle Wasserwirtschaft und Ressourcenschutz"
  # ======================================================================= #
  when /^815102(-|_| )?Landeskulturelle(-|_| )?Wasserwirtschaft(-|_| )?und(-|_| )?Ressourcenschutz$/i,
       /^Landeskulturelle(-|_| )?Wasserwirtschaft(-|_| )?und(-|_| )?Ressourcenschutz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288665"
  # ======================================================================= #
  # === rf "752100 Lebensmitteltechnologische Grundverfahren"
  # ======================================================================= #
  when /^752100(-|_| )?Lebensmitteltechnologische(-|_| )?Grundverfahren$/i,
       /^Lebensmitteltechnologische(-|_| )?Grundverfahren$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=282389"
  # ======================================================================= #
  # === rf "731132 Umwelt- und Ressourcenökonomie"
  # ======================================================================= #
  when /^731132(-|_| )?Umwelt(-|_)?(-|_| )?und(-|_| )?Ressourcenökonomie$/i,
       /^Umwelt(-|_)?(-|_| )?und(-|_| )?Ressourcenökonomie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288893"
  # ======================================================================= #
  # === rf "834119 Naturschutzrelevante Lebensräume"
  # ======================================================================= #
  when /^834119(-|_| )?Naturschutzrelevante(-|_| )?Lebensräume$/i,
       /^Naturschutzrelevante(-|_| )?Lebensräume$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288815"
  # ======================================================================= #
  # === rf "875109 Hochbau und Bauphysik"
  # ======================================================================= #
  when /^875109(-|_| )?Hochbau(-|_| )?und(-|_| )?Bauphysik$/i,
       /^Hochbau(-|_| )?und(-|_| )?Bauphysik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287741"
  # ======================================================================= #
  # === rf "875108 Hochbau und Bauphysik"
  # ======================================================================= #
  when /^875108(-|_| )?Hochbau(-|_| )?und(-|_| )?Bauphysik$/i,
       /^Hochbau(-|_| )?und(-|_| )?Bauphysik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284082"
  # ======================================================================= #
  # === rf "752332 Processes in enzyme technology (in Eng.)"
  # ======================================================================= #
  when /^752332(-|_| )?Processes(-|_| )?in(-|_| )?enzyme(-|_| )?technology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Processes(-|_| )?in(-|_| )?enzyme(-|_| )?technology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287856"
  # ======================================================================= #
  # === rf "732115 Umwelt- und Ressourcenpolitik II: Globale Herausforderungen"
  # ======================================================================= #
  when /^732115(-|_| )?Umwelt(-|_)?(-|_| )?und(-|_| )?Ressourcenpolitik(-|_| )?II:(-|_| )?Globale(-|_| )?Herausforderungen$/i,
       /^Umwelt(-|_)?(-|_| )?und(-|_| )?Ressourcenpolitik(-|_| )?II:(-|_| )?Globale(-|_| )?Herausforderungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289569"
  # ======================================================================= #
  # === rf "770113 Bachelorseminar"
  # ======================================================================= #
  when /^770113(-|_| )?Bachelorseminar$/i,
       /^Bachelorseminar$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310199"
  # ======================================================================= #
  # === rf "915101 Projektmanagement"
  # ======================================================================= #
  when /^915101(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284025"
  # ======================================================================= #
  # === rf "913103 Grundlagen der Waldbewirtschaftung"
  # ======================================================================= #
  when /^913103(-|_| )?Grundlagen(-|_| )?der(-|_| )?Waldbewirtschaftung$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Waldbewirtschaftung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289198"
  # ======================================================================= #
  # === rf "770151 Allgemeine Chemie (UBRM)"
  # ======================================================================= #
  when /^770151(-|_| )?Allgemeine(-|_| )?Chemie(-|_| )?\(?UBRM\)?$/i,
       /^Allgemeine(-|_| )?Chemie(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305358"
  # ======================================================================= #
  # === rf "857101 Einführung in die Fernerkundung"
  # ======================================================================= #
  when /^857101(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Fernerkundung$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Fernerkundung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288443"
  # ======================================================================= #
  # === rf "774305 Plant polysaccharide analysis (in Eng.)"
  # ======================================================================= #
  when /^774305(-|_| )?Plant(-|_| )?polysaccharide(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Plant(-|_| )?polysaccharide(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289361"
  # ======================================================================= #
  # === rf "774314 Biopolymers for sustainable utilization (in Eng.)"
  # ======================================================================= #
  when /^774314(-|_| )?Biopolymers(-|_| )?for(-|_| )?sustainable(-|_| )?utilization(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biopolymers(-|_| )?for(-|_| )?sustainable(-|_| )?utilization(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288102"
  # ======================================================================= #
  # === rf "835109 Mathematik (UBRM)"
  # ======================================================================= #
  when /^835109(-|_| )?Mathematik(-|_| )?\(?UBRM\)?$/i,
       /^Mathematik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288837"
  # ======================================================================= #
  # === rf "951111 Pflichtpraxisseminar - Pflanzliche Produktion (in Eng.)"
  # ======================================================================= #
  when /^951111(-|_| )?Pflichtpraxisseminar(-|_| )?(-|_)?(-|_| )?Pflanzliche(-|_| )?Produktion(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Pflichtpraxisseminar(-|_| )?(-|_)?(-|_| )?Pflanzliche(-|_| )?Produktion(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306081"
  # ======================================================================= #
  # === rf "951109 Bachelorseminar Pflanzliche Produktion"
  # ======================================================================= #
  when /^951109(-|_| )?Bachelorseminar(-|_| )?Pflanzliche(-|_| )?Produktion$/i,
       /^Bachelorseminar(-|_| )?Pflanzliche(-|_| )?Produktion$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306093"
  # ======================================================================= #
  # === rf "893126 Prozesstechnik I"
  # ======================================================================= #
  when /^893126(-|_| )?Prozesstechnik(-|_| )?I$/i,
       /^Prozesstechnik(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=290011"
  # ======================================================================= #
  # === rf "737110 Multiple Nachhaltigkeit. Deutungen, Analyse und Politiken nachhaltiger Entwicklung"
  # ======================================================================= #
  when /^737110(-|_| )?Multiple(-|_| )?Nachhaltigkeit\.?(-|_| )?Deutungen,?(-|_| )?Analyse(-|_| )?und(-|_| )?Politiken(-|_| )?nachhaltiger(-|_| )?Entwicklung$/i,
       /^Multiple(-|_| )?Nachhaltigkeit\.?(-|_| )?Deutungen,?(-|_| )?Analyse(-|_| )?und(-|_| )?Politiken(-|_| )?nachhaltiger(-|_| )?Entwicklung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291930"
  # ======================================================================= #
  # === rf "911103 Bodenkunde und Geologie"
  # ======================================================================= #
  when /^911103(-|_| )?Bodenkunde(-|_| )?und(-|_| )?Geologie$/i,
       /^Bodenkunde(-|_| )?und(-|_| )?Geologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304356"
  # ======================================================================= #
  # === rf "976104 Tierernährung"
  # ======================================================================= #
  when /^976104(-|_| )?Tierernährung$/i,
       /^Tierernährung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305503"
  # ======================================================================= #
  # === rf "951115 Pflanzenernährung"
  # ======================================================================= #
  when /^951115(-|_| )?Pflanzenernährung$/i,
       /^Pflanzenernährung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305027"
  # ======================================================================= #
  # === rf "951110 Ackerbauliche Nutzpflanzenkunde"
  # ======================================================================= #
  when /^951110(-|_| )?Ackerbauliche(-|_| )?Nutzpflanzenkunde$/i,
       /^Ackerbauliche(-|_| )?Nutzpflanzenkunde$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284242"
  # ======================================================================= #
  # === rf "833104 Zoologie (AW)"
  # ======================================================================= #
  when /^833104(-|_| )?Zoologie(-|_| )?\(?AW\)?$/i,
       /^Zoologie(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305091"
  # ======================================================================= #
  # === rf "834113 Systematik und Ökologie der Pflanzen (AW)"
  # ======================================================================= #
  when /^834113(-|_| )?Systematik(-|_| )?und(-|_| )?Ökologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?\(?AW\)?$/i,
       /^Systematik(-|_| )?und(-|_| )?Ökologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285179"
  # ======================================================================= #
  # === rf "940104 Molekularbiologie für Agrarwissenschaften"
  # ======================================================================= #
  when /^940104(-|_| )?Molekularbiologie(-|_| )?für(-|_| )?Agrarwissenschaften$/i,
       /^Molekularbiologie(-|_| )?für(-|_| )?Agrarwissenschaften$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=303995"
  # ======================================================================= #
  # === rf "872104 Geologie (AW)"
  # ======================================================================= #
  when /^872104(-|_| )?Geologie(-|_| )?\(?AW\)?$/i,
       /^Geologie(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305425"
  # ======================================================================= #
  # === rf "872105 Gesteinskunde - Übungen (AW)"
  # ======================================================================= #
  when /^872105(-|_| )?Gesteinskunde(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?AW\)?$/i,
       /^Gesteinskunde(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305424"
  # ======================================================================= #
  # === rf "951108 Umweltaspekte in der Pflanzenproduktion"
  # ======================================================================= #
  when /^951108(-|_| )?Umweltaspekte(-|_| )?in(-|_| )?der(-|_| )?Pflanzenproduktion$/i,
       /^Umweltaspekte(-|_| )?in(-|_| )?der(-|_| )?Pflanzenproduktion$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=306082"
  # ======================================================================= #
  # === rf "772305 Practical course in biochemistry II (in Eng.)"
  # ======================================================================= #
  when /^772305(-|_| )?Practical(-|_| )?course(-|_| )?in(-|_| )?biochemistry(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Practical(-|_| )?course(-|_| )?in(-|_| )?biochemistry(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=310609"
  # ======================================================================= #
  # === rf "790318 Animal cell culture (in Eng.)"
  # ======================================================================= #
  when /^790318(-|_| )?Animal(-|_| )?cell(-|_| )?culture(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Animal(-|_| )?cell(-|_| )?culture(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305219"
  # ======================================================================= #
  # === rf "790350 Bioprocess engineering I (in Eng.)"
  # ======================================================================= #
  when /^790350(-|_| )?Bioprocess(-|_| )?engineering(-|_| )?I(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Bioprocess(-|_| )?engineering(-|_| )?I(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305245"
  # ======================================================================= #
  # === rf "916121 Genetische Grundlagen der Biodiversität (in Eng.)"
  # ======================================================================= #
  when /^916121(-|_| )?Genetische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Biodiversität(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Genetische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Biodiversität(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287937"
  # ======================================================================= #
  # === rf "752110 Technologie pflanzlicher Lebensmittel"
  # ======================================================================= #
  when /^752110(-|_| )?Technologie(-|_| )?pflanzlicher(-|_| )?Lebensmittel$/i,
       /^Technologie(-|_| )?pflanzlicher(-|_| )?Lebensmittel$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285522"
  # ======================================================================= #
  # === rf "833120 Biologie terrestrischer Tiere"
  # ======================================================================= #
  when /^833120(-|_| )?Biologie(-|_| )?terrestrischer(-|_| )?Tiere$/i,
       /^Biologie(-|_| )?terrestrischer(-|_| )?Tiere$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288151"
  # ======================================================================= #
  # === rf "912117 Standortkunde II"
  # ======================================================================= #
  when /^912117(-|_| )?Standortkunde(-|_| )?II$/i,
       /^Standortkunde(-|_| )?II$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289177"
  # ======================================================================= #
  # === rf "893100 Einführung in die Prozesstechnik"
  # ======================================================================= #
  when /^893100(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Prozesstechnik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Prozesstechnik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304851"
  # ======================================================================= #
  # === rf "893121 Allgemeine Prozesstechnik"
  # ======================================================================= #
  when /^893121(-|_| )?Allgemeine(-|_| )?Prozesstechnik$/i,
       /^Allgemeine(-|_| )?Prozesstechnik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296928"
  # ======================================================================= #
  # === rf "750104 Allgemeine Lebensmittelwissenschaften und -technologie"
  # ======================================================================= #
  when /^750104(-|_| )?Allgemeine(-|_| )?Lebensmittelwissenschaften(-|_| )?und(-|_| )?(-|_)?technologie$/i,
       /^Allgemeine(-|_| )?Lebensmittelwissenschaften(-|_| )?und(-|_| )?(-|_)?technologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=281479"
  # ======================================================================= #
  # === rf "940112 Genetik (AW)"
  # ======================================================================= #
  when /^940112(-|_| )?Genetik(-|_| )?\(?AW\)?$/i,
       /^Genetik(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304724"
  # ======================================================================= #
  # === rf "953100 Pflanzenschutz"
  # ======================================================================= #
  when /^953100(-|_| )?Pflanzenschutz$/i,
       /^Pflanzenschutz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=305244"
  # ======================================================================= #
  # === rf "952119 Gemüse- und Zierpflanzenbau"
  # ======================================================================= #
  when /^952119(-|_| )?Gemüse(-|_)?(-|_| )?und(-|_| )?Zierpflanzenbau$/i,
       /^Gemüse(-|_)?(-|_| )?und(-|_| )?Zierpflanzenbau$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297866"
  # ======================================================================= #
  # === rf "733105 Betriebswirtschaft und Vermarktung in der ÖLW"
  # ======================================================================= #
  when /^733105(-|_| )?Betriebswirtschaft(-|_| )?und(-|_| )?Vermarktung(-|_| )?in(-|_| )?der(-|_| )?ÖLW$/i,
       /^Betriebswirtschaft(-|_| )?und(-|_| )?Vermarktung(-|_| )?in(-|_| )?der(-|_| )?ÖLW$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289023"
  # ======================================================================= #
  # === rf "734185 Optimierungsmodelle und natürliche Ressourcen"
  # ======================================================================= #
  when /^734185(-|_| )?Optimierungsmodelle(-|_| )?und(-|_| )?natürliche(-|_| )?Ressourcen$/i,
       /^Optimierungsmodelle(-|_| )?und(-|_| )?natürliche(-|_| )?Ressourcen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289100"
  # ======================================================================= #
  # === rf "733118 Umweltmanagementsysteme"
  # ======================================================================= #
  when /^733118(-|_| )?Umweltmanagementsysteme$/i,
       /^Umweltmanagementsysteme$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287489"
  # ======================================================================= #
  # === rf "941334 Laboratory course in molecular genetics of yeasts and hyphal fungi (in Eng.)"
  # ======================================================================= #
  when /^941334(-|_| )?Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?genetics(-|_| )?of(-|_| )?yeasts(-|_| )?and(-|_| )?hyphal(-|_| )?fungi(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?genetics(-|_| )?of(-|_| )?yeasts(-|_| )?and(-|_| )?hyphal(-|_| )?fungi(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287913"
  # ======================================================================= #
  # === rf "803303 Physical chemistry (soft matter dynamics) (in Eng.)"
  # ======================================================================= #
  when /^803303(-|_| )?Physical(-|_| )?chemistry(-|_| )?\(?soft(-|_| )?matter(-|_| )?dynamics\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Physical(-|_| )?chemistry(-|_| )?\(?soft(-|_| )?matter(-|_| )?dynamics\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288032"
  # ======================================================================= #
  # === rf "791365 Clinical studies (in Eng.)"
  # ======================================================================= #
  when /^791365(-|_| )?Clinical(-|_| )?studies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Clinical(-|_| )?studies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287780"
  # ======================================================================= #
  # === rf "773111 Chemische Übungen für Kulturtechniker"
  # ======================================================================= #
  when /^773111(-|_| )?Chemische(-|_| )?Übungen(-|_| )?für(-|_| )?Kulturtechniker$/i,
       /^Chemische(-|_| )?Übungen(-|_| )?für(-|_| )?Kulturtechniker$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293051"
  # ======================================================================= #
  # === rf "731328 Valuation methods for natural resources (in Eng.)"
  # ======================================================================= #
  when /^731328(-|_| )?Valuation(-|_| )?methods(-|_| )?for(-|_| )?natural(-|_| )?resources(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Valuation(-|_| )?methods(-|_| )?for(-|_| )?natural(-|_| )?resources(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288977"
  # ======================================================================= #
  # === rf "857100 Vermessung"
  # ======================================================================= #
  when /^857100(-|_| )?Vermessung$/i,
       /^Vermessung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288442"
  # ======================================================================= #
  # === rf "811108 Siedlungswasserwirtschaft und Gewässerschutz"
  # ======================================================================= #
  when /^811108(-|_| )?Siedlungswasserwirtschaft(-|_| )?und(-|_| )?Gewässerschutz$/i,
       /^Siedlungswasserwirtschaft(-|_| )?und(-|_| )?Gewässerschutz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289060"
  # ======================================================================= #
  # === rf "816101 Hydrologie und Wasserwirtschaft I"
  # ======================================================================= #
  when /^816101(-|_| )?Hydrologie(-|_| )?und(-|_| )?Wasserwirtschaft(-|_| )?I$/i,
       /^Hydrologie(-|_| )?und(-|_| )?Wasserwirtschaft(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288689"
  # ======================================================================= #
  # === rf "912121 Standortkunde I"
  # ======================================================================= #
  when /^912121(-|_| )?Standortkunde(-|_| )?I$/i,
       /^Standortkunde(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289178"
  # ======================================================================= #
  # === rf "831330 Ökologie"
  # ======================================================================= #
  when /^831330(-|_| )?Ökologie$/i,
       /^Ökologie$/i
    "https://online.boku.ac.at/BOKUonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/310559?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "733116 Grundlagen der betrieblichen Umweltökonomie"
  # ======================================================================= #
  when /^733116(-|_| )?Grundlagen(-|_| )?der(-|_| )?betrieblichen(-|_| )?Umweltökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?betrieblichen(-|_| )?Umweltökonomie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284030"
  # ======================================================================= #
  # === rf "772327 Biochemical and biotechnological methods (analytics design) (in Eng.)"
  # ======================================================================= #
  when /^772327(-|_| )?Biochemical(-|_| )?and(-|_| )?biotechnological(-|_| )?methods(-|_| )?\(?analytics(-|_| )?design\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biochemical(-|_| )?and(-|_| )?biotechnological(-|_| )?methods(-|_| )?\(?analytics(-|_| )?design\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287897"
  # ======================================================================= #
  # === rf "772099 Blut und Blutgerinnung"
  # ======================================================================= #
  when /^772099(-|_| )?Blut(-|_| )?und(-|_| )?Blutgerinnung$/i,
       /^Blut(-|_| )?und(-|_| )?Blutgerinnung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288721"
  # ======================================================================= #
  # === rf "180003 Literature research and information literacy - key skills for scientific working (in Eng.)"
  # ======================================================================= #
  when /^180003(-|_| )?Literature(-|_| )?research(-|_| )?and(-|_| )?information(-|_| )?literacy(-|_| )?(-|_)?(-|_| )?key(-|_| )?skills(-|_| )?for(-|_| )?scientific(-|_| )?working(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Literature(-|_| )?research(-|_| )?and(-|_| )?information(-|_| )?literacy(-|_| )?(-|_)?(-|_| )?key(-|_| )?skills(-|_| )?for(-|_| )?scientific(-|_| )?working(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304310"
  # ======================================================================= #
  # === rf "802302 Prokaryotic glycoconjugates and disease (in Eng.)"
  # ======================================================================= #
  when /^802302(-|_| )?Prokaryotic(-|_| )?glycoconjugates(-|_| )?and(-|_| )?disease(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Prokaryotic(-|_| )?glycoconjugates(-|_| )?and(-|_| )?disease(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297746"
  # ======================================================================= #
  # === rf "120029 Englische Fachsprache (C1)"
  # ======================================================================= #
  when /^120029(-|_| )?Englische(-|_| )?Fachsprache(-|_| )?\(?C1\)?$/i,
       /^Englische(-|_| )?Fachsprache(-|_| )?\(?C1\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287306"
  # ======================================================================= #
  # === rf "932312 Genetik der Diversität (in Eng.)"
  # ======================================================================= #
  when /^932312(-|_| )?Genetik(-|_| )?der(-|_| )?Diversität(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Genetik(-|_| )?der(-|_| )?Diversität(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287649"
  # ======================================================================= #
  # === rf "940336 Exercises in molecular biology (in Eng.)"
  # ======================================================================= #
  when /^940336(-|_| )?Exercises(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Exercises(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=309899"
  # ======================================================================= #
  # === rf "855112 Raumplanung (UBRM)"
  # ======================================================================= #
  when /^855112(-|_| )?Raumplanung(-|_| )?\(?UBRM\)?$/i,
       /^Raumplanung(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289290"
  # ======================================================================= #
  # === rf "735117 Grundlagen der empirischen Wirtschafts- und Sozialforschung"
  # ======================================================================= #
  when /^735117(-|_| )?Grundlagen(-|_| )?der(-|_| )?empirischen(-|_| )?Wirtschafts(-|_)?(-|_| )?und(-|_| )?Sozialforschung$/i,
       /^Grundlagen(-|_| )?der(-|_| )?empirischen(-|_| )?Wirtschafts(-|_)?(-|_| )?und(-|_| )?Sozialforschung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287484"
  # ======================================================================= #
  # === rf "893118 Prozesstechnik I"
  # ======================================================================= #
  when /^893118(-|_| )?Prozesstechnik(-|_| )?I$/i,
       /^Prozesstechnik(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284647"
  # ======================================================================= #
  # === rf "892300 Fachspezifische Kapitel aus der Physik"
  # ======================================================================= #
  when /^892300(-|_| )?Fachspezifische(-|_| )?Kapitel(-|_| )?aus(-|_| )?der(-|_| )?Physik$/i,
       /^Fachspezifische(-|_| )?Kapitel(-|_| )?aus(-|_| )?der(-|_| )?Physik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288383"
  # ======================================================================= #
  # === rf "874109 Ingenieurbiologie für KTWW"
  # ======================================================================= #
  when /^874109(-|_| )?Ingenieurbiologie(-|_| )?für(-|_| )?KTWW$/i,
       /^Ingenieurbiologie(-|_| )?für(-|_| )?KTWW$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287535"
  # ======================================================================= #
  # === rf "834101 Integrativer Naturschutz"
  # ======================================================================= #
  when /^834101(-|_| )?Integrativer(-|_| )?Naturschutz$/i,
       /^Integrativer(-|_| )?Naturschutz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285394"
  # ======================================================================= #
  # === rf "732192 Grundlagen der Politik"
  # ======================================================================= #
  when /^732192(-|_| )?Grundlagen(-|_| )?der(-|_| )?Politik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Politik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289006"
  # ======================================================================= #
  # === rf "913100 Fachexkursion UBRM - Exkursion aus Waldbewirtschaftung anhand praktischer Beispiele"
  # ======================================================================= #
  when /^913100(-|_| )?Fachexkursion(-|_| )?UBRM(-|_| )?(-|_)?(-|_| )?Exkursion(-|_| )?aus(-|_| )?Waldbewirtschaftung(-|_| )?anhand(-|_| )?praktischer(-|_| )?Beispiele$/i,
       /^Fachexkursion(-|_| )?UBRM(-|_| )?(-|_)?(-|_| )?Exkursion(-|_| )?aus(-|_| )?Waldbewirtschaftung(-|_| )?anhand(-|_| )?praktischer(-|_| )?Beispiele$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289194"
  # ======================================================================= #
  # === rf "735122 Grundlagen Marketing"
  # ======================================================================= #
  when /^735122(-|_| )?Grundlagen(-|_| )?Marketing$/i,
       /^Grundlagen(-|_| )?Marketing$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289113"
  # ======================================================================= #
  # === rf "850106 Grundlagen zum universitären Arbeiten"
  # ======================================================================= #
  when /^850106(-|_| )?Grundlagen(-|_| )?zum(-|_| )?universitären(-|_| )?Arbeiten$/i,
       /^Grundlagen(-|_| )?zum(-|_| )?universitären(-|_| )?Arbeiten$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296759"
  # ======================================================================= #
  # === rf "731110 Umweltsoziologie"
  # ======================================================================= #
  when /^731110(-|_| )?Umweltsoziologie$/i,
       /^Umweltsoziologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285461"
  # ======================================================================= #
  # === rf "873110 Geotechnical and geoenvironmental engineering (in Eng.)"
  # ======================================================================= #
  when /^873110(-|_| )?Geotechnical(-|_| )?and(-|_| )?geoenvironmental(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Geotechnical(-|_| )?and(-|_| )?geoenvironmental(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284867"
  # ======================================================================= #
  # === rf "911100 Bodenkunde"
  # ======================================================================= #
  when /^911100(-|_| )?Bodenkunde$/i,
       /^Bodenkunde$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285735"
  # ======================================================================= #
  # === rf "816110 Allgemeiner Wasserbau und Flussgebietsmanagement"
  # ======================================================================= #
  when /^816110(-|_| )?Allgemeiner(-|_| )?Wasserbau(-|_| )?und(-|_| )?Flussgebietsmanagement$/i,
       /^Allgemeiner(-|_| )?Wasserbau(-|_| )?und(-|_| )?Flussgebietsmanagement$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285270"
  # ======================================================================= #
  # === rf "855111 Raumplanung für Kulturtechnik und Wasserwirtschaft"
  # ======================================================================= #
  when /^855111(-|_| )?Raumplanung(-|_| )?für(-|_| )?Kulturtechnik(-|_| )?und(-|_| )?Wasserwirtschaft$/i,
       /^Raumplanung(-|_| )?für(-|_| )?Kulturtechnik(-|_| )?und(-|_| )?Wasserwirtschaft$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=286165"
  # ======================================================================= #
  # === rf "816100 Gewässerkunde und Hydrometrie"
  # ======================================================================= #
  when /^816100(-|_| )?Gewässerkunde(-|_| )?und(-|_| )?Hydrometrie$/i,
       /^Gewässerkunde(-|_| )?und(-|_| )?Hydrometrie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285266"
  # ======================================================================= #
  # === rf "816102 Übungen zu Hydrologie und Wasserwirtschaft I"
  # ======================================================================= #
  when /^816102(-|_| )?Übungen(-|_| )?zu(-|_| )?Hydrologie(-|_| )?und(-|_| )?Wasserwirtschaft(-|_| )?I$/i,
       /^Übungen(-|_| )?zu(-|_| )?Hydrologie(-|_| )?und(-|_| )?Wasserwirtschaft(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285268"
  # ======================================================================= #
  # === rf "736305 Recht für Biotechnologen"
  # ======================================================================= #
  when /^736305(-|_| )?Recht(-|_| )?für(-|_| )?Biotechnologen$/i,
       /^Recht(-|_| )?für(-|_| )?Biotechnologen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285481"
  # ======================================================================= #
  # === rf "770150 Allgemeine Chemie"
  # ======================================================================= #
  when /^770150(-|_| )?Allgemeine(-|_| )?Chemie$/i,
       /^Allgemeine(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293024"
  # ======================================================================= #
  # === rf "857108 Geoinformationssysteme"
  # ======================================================================= #
  when /^857108(-|_| )?Geoinformationssysteme$/i,
       /^Geoinformationssysteme$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284022"
  # ======================================================================= #
  # === rf "736133 Umweltrecht"
  # ======================================================================= #
  when /^736133(-|_| )?Umweltrecht$/i,
       /^Umweltrecht$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285477"
  # ======================================================================= #
  # === rf "850110 Ausgewählte Kapitel aus den UIW"
  # ======================================================================= #
  when /^850110(-|_| )?Ausgewählte(-|_| )?Kapitel(-|_| )?aus(-|_| )?den(-|_| )?UIW$/i,
       /^Ausgewählte(-|_| )?Kapitel(-|_| )?aus(-|_| )?den(-|_| )?UIW$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=304988"
  # ======================================================================= #
  # === rf "873101 Bodenmechanik und Grundbau"
  # ======================================================================= #
  when /^873101(-|_| )?Bodenmechanik(-|_| )?und(-|_| )?Grundbau$/i,
       /^Bodenmechanik(-|_| )?und(-|_| )?Grundbau$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284870"
  # ======================================================================= #
  # === rf "815101 Bodenphysik"
  # ======================================================================= #
  when /^815101(-|_| )?Bodenphysik$/i,
       /^Bodenphysik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285243"
  # ======================================================================= #
  # === rf "875102 Baustatik und Festigkeitslehre"
  # ======================================================================= #
  when /^875102(-|_| )?Baustatik(-|_| )?und(-|_| )?Festigkeitslehre$/i,
       /^Baustatik(-|_| )?und(-|_| )?Festigkeitslehre$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284909"
  # ======================================================================= #
  # === rf "856110 Fuß- und Radverkehr"
  # ======================================================================= #
  when /^856110(-|_| )?Fuß(-|_)?(-|_| )?und(-|_| )?Radverkehr$/i,
       /^Fuß(-|_)?(-|_| )?und(-|_| )?Radverkehr$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284979"
  # ======================================================================= #
  # === rf "835111 Technische Geometrie und Computergestütztes Zeichnen (CAD)"
  # ======================================================================= #
  when /^835111(-|_| )?Technische(-|_| )?Geometrie(-|_| )?und(-|_| )?Computergestütztes(-|_| )?Zeichnen(-|_| )?\(?CAD\)?$/i,
       /^Technische(-|_| )?Geometrie(-|_| )?und(-|_| )?Computergestütztes(-|_| )?Zeichnen(-|_| )?\(?CAD\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284076"
  # ======================================================================= #
  # === rf "856102 Verkehrsplanung und Mobilität"
  # ======================================================================= #
  when /^856102(-|_| )?Verkehrsplanung(-|_| )?und(-|_| )?Mobilität$/i,
       /^Verkehrsplanung(-|_| )?und(-|_| )?Mobilität$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284991"
  # ======================================================================= #
  # === rf "815100 Hydraulik und Hydromechanik"
  # ======================================================================= #
  when /^815100(-|_| )?Hydraulik(-|_| )?und(-|_| )?Hydromechanik$/i,
       /^Hydraulik(-|_| )?und(-|_| )?Hydromechanik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285242"
  # ======================================================================= #
  # === rf "816104 Konstruktiver Wasserbau"
  # ======================================================================= #
  when /^816104(-|_| )?Konstruktiver(-|_| )?Wasserbau$/i,
       /^Konstruktiver(-|_| )?Wasserbau$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285269"
  # ======================================================================= #
  # === rf "875101 Mechanik"
  # ======================================================================= #
  when /^875101(-|_| )?Mechanik$/i,
       /^Mechanik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284908"
  # ======================================================================= #
  # === rf "875111 Technisches Planzeichnen mit CAD"
  # ======================================================================= #
  when /^875111(-|_| )?Technisches(-|_| )?Planzeichnen(-|_| )?mit(-|_| )?CAD$/i,
       /^Technisches(-|_| )?Planzeichnen(-|_| )?mit(-|_| )?CAD$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284077"
  # ======================================================================= #
  # === rf "855102 Ländliche Neuordnung"
  # ======================================================================= #
  when /^855102(-|_| )?Ländliche(-|_| )?Neuordnung$/i,
       /^Ländliche(-|_| )?Neuordnung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284967"
  # ======================================================================= #
  # === rf "321001 Steop Einführung in die pharmazeutischen Wissenschaften - B1"
  # ======================================================================= #
  when /^321001(-|_| )?Steop(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?pharmazeutischen(-|_| )?Wissenschaften(-|_| )?(-|_)?(-|_| )?B1$/i,
       /^Steop(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?pharmazeutischen(-|_| )?Wissenschaften(-|_| )?(-|_)?(-|_| )?B1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321001&semester=2023W"
  # ======================================================================= #
  # === rf "051210 Grundlagen der Wirtschaftsinformatik"
  # ======================================================================= #
  when /^051210(-|_| )?Grundlagen(-|_| )?der(-|_| )?Wirtschaftsinformatik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Wirtschaftsinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051210&semester=2024S"
  # ======================================================================= #
  # === rf "300048 Sequencing bioinformatics for beginners"
  # ======================================================================= #
  when /^300048(-|_| )?Sequencing(-|_| )?bioinformatics(-|_| )?for(-|_| )?beginners$/i,
       /^Sequencing(-|_| )?bioinformatics(-|_| )?for(-|_| )?beginners$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300048&semester=2024S"
  # ======================================================================= #
  # === rf "300293 Spezielle Forensische Anthropologie"
  # ======================================================================= #
  when /^300293(-|_| )?Spezielle(-|_| )?Forensische(-|_| )?Anthropologie$/i,
       /^Spezielle(-|_| )?Forensische(-|_| )?Anthropologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300293&semester=2023W"
  # ======================================================================= #
  # === rf "301284 Biochemie"
  # ======================================================================= #
  when /^301284(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301284&semester=2023W"
  # ======================================================================= #
  # === rf "350296 Erste Hilfe und Akutversorgung von Sportverletzungen"
  # ======================================================================= #
  when /^350296(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Akutversorgung(-|_| )?von(-|_| )?Sportverletzungen$/i,
       /^Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Akutversorgung(-|_| )?von(-|_| )?Sportverletzungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350296&semester=2023W"
  # ======================================================================= #
  # === rf "330112 Anatomie und Histologie"
  # ======================================================================= #
  when /^330112(-|_| )?Anatomie(-|_| )?und(-|_| )?Histologie$/i,
       /^Anatomie(-|_| )?und(-|_| )?Histologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330112&semester=2024S"
  # ======================================================================= #
  # === rf "300039 Einführung in die Ethologie"
  # ======================================================================= #
  when /^300039(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Ethologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Ethologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300039&semester=2023W"
  # ======================================================================= #
  # === rf "300291 Einführung in biogene und chemische Sedimente"
  # ======================================================================= #
  when /^300291(-|_| )?Einführung(-|_| )?in(-|_| )?biogene(-|_| )?und(-|_| )?chemische(-|_| )?Sedimente$/i,
       /^Einführung(-|_| )?in(-|_| )?biogene(-|_| )?und(-|_| )?chemische(-|_| )?Sedimente$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300291&semester=2023W"
  # ======================================================================= #
  # === rf "300492 Anatomie 2 - Organmorphologie"
  # ======================================================================= #
  when /^300492(-|_| )?Anatomie(-|_| )?2(-|_| )?(-|_)?(-|_| )?Organmorphologie$/i,
       /^Anatomie(-|_| )?2(-|_| )?(-|_)?(-|_| )?Organmorphologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300492&semester=2023W"
  # ======================================================================= #
  # === rf "280001 STEOP: System Erde"
  # ======================================================================= #
  when /^280001(-|_| )?STEOP:(-|_| )?System(-|_| )?Erde$/i,
       /^STEOP:(-|_| )?System(-|_| )?Erde$/i
    "https://ufind.univie.ac.at/de/course.html?lv=280001&semester=2023W"
  # ======================================================================= #
  # === rf "300052 Machine Learning in Genetics"
  # ======================================================================= #
  when /^300052(-|_| )?Machine(-|_| )?Learning(-|_| )?in(-|_| )?Genetics$/i,
       /^Machine(-|_| )?Learning(-|_| )?in(-|_| )?Genetics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300052&semester=2024S"
  # ======================================================================= #
  # === rf "300105 Human Evolution and Archeological Science"
  # ======================================================================= #
  when /^300105(-|_| )?Human(-|_| )?Evolution(-|_| )?and(-|_| )?Archeological(-|_| )?Science$/i,
       /^Human(-|_| )?Evolution(-|_| )?and(-|_| )?Archeological(-|_| )?Science$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300105&semester=2023W"
  # ======================================================================= #
  # === rf "300078 Hominidenevolution"
  # ======================================================================= #
  when /^300078(-|_| )?Hominidenevolution$/i,
       /^Hominidenevolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300078&semester=2023W"
  # ======================================================================= #
  # === rf "300052 Aquatische Mikrobielle Ökologie"
  # ======================================================================= #
  when /^300052(-|_| )?Aquatische(-|_| )?Mikrobielle(-|_| )?Ökologie$/i,
       /^Aquatische(-|_| )?Mikrobielle(-|_| )?Ökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300033&semester=2020W"
  # ======================================================================= #
  # === rf "301591 Advanced Cell Biology"
  # ======================================================================= #
  when /^301591(-|_| )?Advanced(-|_| )?Cell(-|_| )?Biology$/i,
       /^Advanced(-|_| )?Cell(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301591&semester=2022S"
  # ======================================================================= #
  # === rf "300495 Ökophysiologie"
  # ======================================================================= #
  when /^300495(-|_| )?Ökophysiologie$/i,
       /^Ökophysiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300495&semester=2024S"
  # ======================================================================= #
  # === rf "330035 Einführung in die Biochemie und den Metabolismus"
  # ======================================================================= #
  when /^330035(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biochemie(-|_| )?und(-|_| )?den(-|_| )?Metabolismus$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Biochemie(-|_| )?und(-|_| )?den(-|_| )?Metabolismus$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330035&semester=2024S"
  # ======================================================================= #
  # === rf "300151 Grundlagen der Theoretischen Biologie und Evolutionstheorie"
  # ======================================================================= #
  when /^300151(-|_| )?Grundlagen(-|_| )?der(-|_| )?Theoretischen(-|_| )?Biologie(-|_| )?und(-|_| )?Evolutionstheorie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Theoretischen(-|_| )?Biologie(-|_| )?und(-|_| )?Evolutionstheorie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300151&semester=2023W"
  # ======================================================================= #
  # === rf "350294 BB1I - Grundlagen der Anatomie"
  # ======================================================================= #
  when /^350294(-|_| )?BB1I(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Anatomie$/i,
       /^BB1I(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Anatomie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350294&semester=2023W"
  # ======================================================================= #
  # === rf "300354 Mann und Frau aus Sicht der Evolution"
  # ======================================================================= #
  when /^300354(-|_| )?Mann(-|_| )?und(-|_| )?Frau(-|_| )?aus(-|_| )?Sicht(-|_| )?der(-|_| )?Evolution$/i,
       /^Mann(-|_| )?und(-|_| )?Frau(-|_| )?aus(-|_| )?Sicht(-|_| )?der(-|_| )?Evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300354&semester=2024S"
  # ======================================================================= #
  # === rf "300182 Ökologie und Vielfalt sekundärer Pflanzenstoffe"
  # ======================================================================= #
  when /^300182(-|_| )?Ökologie(-|_| )?und(-|_| )?Vielfalt(-|_| )?sekundärer(-|_| )?Pflanzenstoffe$/i,
       /^Ökologie(-|_| )?und(-|_| )?Vielfalt(-|_| )?sekundärer(-|_| )?Pflanzenstoffe$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300182&semester=2023S"
  # ======================================================================= #
  # === rf "300106 Physiologie des Menschen"
  # ======================================================================= #
  when /^300106(-|_| )?Physiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Physiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300106&semester=2024S"
  # ======================================================================= #
  # === rf "330019 Grundlagen der Humanphysiologie"
  # ======================================================================= #
  when /^330019(-|_| )?Grundlagen(-|_| )?der(-|_| )?Humanphysiologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Humanphysiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330019&semester=2024S"
  # ======================================================================= #
  # === rf "301324 Peroxisomes in Health and Disease"
  # ======================================================================= #
  when /^301324(-|_| )?Peroxisomes(-|_| )?in(-|_| )?Health(-|_| )?and(-|_| )?Disease$/i,
       /^Peroxisomes(-|_| )?in(-|_| )?Health(-|_| )?and(-|_| )?Disease$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301324&semester=2024S"
  # ======================================================================= #
  # === rf "301210 Allgemeine und Molekulare Mikrobiologie I"
  # ======================================================================= #
  when /^301210(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie(-|_| )?I$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301210&semester=2023W"
  # ======================================================================= #
  # === rf "300317 Biodiversität und molekulare Ökologie der Mikroorganismen 1"
  # ======================================================================= #
  when /^300317(-|_| )?Biodiversität(-|_| )?und(-|_| )?molekulare(-|_| )?Ökologie(-|_| )?der(-|_| )?Mikroorganismen(-|_| )?1$/i,
       /^Biodiversität(-|_| )?und(-|_| )?molekulare(-|_| )?Ökologie(-|_| )?der(-|_| )?Mikroorganismen(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300317&semester=2023W"
  # ======================================================================= #
  # === rf "300385 Anatomie 1 - Osteologie und Arthrologie"
  # ======================================================================= #
  when /^300385(-|_| )?Anatomie(-|_| )?1(-|_| )?(-|_)?(-|_| )?Osteologie(-|_| )?und(-|_| )?Arthrologie$/i,
       /^Anatomie(-|_| )?1(-|_| )?(-|_)?(-|_| )?Osteologie(-|_| )?und(-|_| )?Arthrologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300385&semester=2023W"
  # ======================================================================= #
  # === rf "270204 Metalle in der Medizin"
  # ======================================================================= #
  when /^270204(-|_| )?Metalle(-|_| )?in(-|_| )?der(-|_| )?Medizin$/i,
       /^Metalle(-|_| )?in(-|_| )?der(-|_| )?Medizin$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270204&semester=2024S"
  # ======================================================================= #
  # === rf "270058 Mathematik für Biologische Chemiker"
  # ======================================================================= #
  when /^270058(-|_| )?Mathematik(-|_| )?für(-|_| )?Biologische(-|_| )?Chemiker$/i,
       /^Mathematik(-|_| )?für(-|_| )?Biologische(-|_| )?Chemiker$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270058&semester=2024S"
  # ======================================================================= #
  # === rf "270177 Ethik in den Naturwissenschaften"
  # ======================================================================= #
  when /^270177(-|_| )?Ethik(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i,
       /^Ethik(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270177&semester=2024S"
  # ======================================================================= #
  # === rf "270127 The Chemistry of Microbial Interactions"
  # ======================================================================= #
  when /^270127(-|_| )?The(-|_| )?Chemistry(-|_| )?of(-|_| )?Microbial(-|_| )?Interactions$/i,
       /^The(-|_| )?Chemistry(-|_| )?of(-|_| )?Microbial(-|_| )?Interactions$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270127&semester=2024S"
  # ======================================================================= #
  # === rf "321020 Einführung in die allgemeine Pharmakologie und Pharmakokinetik - B11"
  # ======================================================================= #
  when /^321020(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?allgemeine(-|_| )?Pharmakologie(-|_| )?und(-|_| )?Pharmakokinetik(-|_| )?(-|_)?(-|_| )?B11$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?allgemeine(-|_| )?Pharmakologie(-|_| )?und(-|_| )?Pharmakokinetik(-|_| )?(-|_)?(-|_| )?B11$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321020&semester=2024S"
  # ======================================================================= #
  # === rf "321012 Nomenklatur von Arzneistoffen - B7"
  # ======================================================================= #
  when /^321012(-|_| )?Nomenklatur(-|_| )?von(-|_| )?Arzneistoffen(-|_| )?(-|_)?(-|_| )?B7$/i,
       /^Nomenklatur(-|_| )?von(-|_| )?Arzneistoffen(-|_| )?(-|_)?(-|_| )?B7$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321012&semester=2024S"
  # ======================================================================= #
  # === rf "321017 Biochemie und Immunologie - B10"
  # ======================================================================= #
  when /^321017(-|_| )?Biochemie(-|_| )?und(-|_| )?Immunologie(-|_| )?(-|_)?(-|_| )?B10$/i,
       /^Biochemie(-|_| )?und(-|_| )?Immunologie(-|_| )?(-|_)?(-|_| )?B10$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321017&semester=2023W"
  # ======================================================================= #
  # === rf "300063 Funerary Archaeology in Österreich"
  # ======================================================================= #
  when /^300063(-|_| )?Funerary(-|_| )?Archaeology(-|_| )?in(-|_| )?Österreich$/i,
       /^Funerary(-|_| )?Archaeology(-|_| )?in(-|_| )?Österreich$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300063&semester=2023W"
  # ======================================================================= #
  # === rf "300472 Reproductive biology"
  # ======================================================================= #
  when /^300472(-|_| )?Reproductive(-|_| )?biology$/i,
       /^Reproductive(-|_| )?biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300472&semester=2023W"
  # ======================================================================= #
  # === rf "300134 Primäre Prozesse der Nährstoffassimilation der Pflanze"
  # ======================================================================= #
  when /^300134(-|_| )?Primäre(-|_| )?Prozesse(-|_| )?der(-|_| )?Nährstoffassimilation(-|_| )?der(-|_| )?Pflanze$/i,
       /^Primäre(-|_| )?Prozesse(-|_| )?der(-|_| )?Nährstoffassimilation(-|_| )?der(-|_| )?Pflanze$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300134&semester=2024S"
  # ======================================================================= #
  # === rf "270124 Semisynthese von Proteinen"
  # ======================================================================= #
  when /^270124(-|_| )?Semisynthese(-|_| )?von(-|_| )?Proteinen$/i,
       /^Semisynthese(-|_| )?von(-|_| )?Proteinen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270124&semester=2024S"
  # ======================================================================= #
  # === rf "300054 Ausgewählte statistische Verfahren: Zeitreihenanalyse"
  # ======================================================================= #
  when /^300054(-|_| )?Ausgewählte(-|_| )?statistische(-|_| )?Verfahren:(-|_| )?Zeitreihenanalyse$/i,
       /^Ausgewählte(-|_| )?statistische(-|_| )?Verfahren:(-|_| )?Zeitreihenanalyse$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300054&semester=2024S"
  # ======================================================================= #
  # === rf "052213 Image Synthesis"
  # ======================================================================= #
  when /^052213(-|_| )?Image(-|_| )?Synthesis$/i,
       /^Image(-|_| )?Synthesis$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052213&semester=2024S"
  # ======================================================================= #
  # === rf "051041 Mensch-Computer-Interaktion"
  # ======================================================================= #
  when /^051041(-|_| )?Mensch(-|_)?Computer(-|_)?Interaktion$/i,
       /^Mensch(-|_)?Computer(-|_)?Interaktion$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051041&semester=2024S"
  # ======================================================================= #
  # === rf "051021 Betriebssysteme"
  # ======================================================================= #
  when /^051021(-|_| )?Betriebssysteme$/i,
       /^Betriebssysteme$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051021&semester=2024S"
  # ======================================================================= #
  # === rf "051010 Programmierung 1"
  # ======================================================================= #
  when /^051010(-|_| )?Programmierung(-|_| )?1$/i,
       /^Programmierung(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051010&semester=2024S"
  # ======================================================================= #
  # === rf "330057 Ernährungslehre: Mikronährstoffe"
  # ======================================================================= #
  when /^330057(-|_| )?Ernährungslehre:(-|_| )?Mikronährstoffe$/i,
       /^Ernährungslehre:(-|_| )?Mikronährstoffe$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330057&semester=2024S"
  # ======================================================================= #
  # === rf "330038 Übungen Lebensstil-/ernährungsassoziierte Erkrankungen/Diätetik"
  # ======================================================================= #
  when /^330038(-|_| )?Übungen(-|_| )?Lebensstil(-|_)?\/?ernährungsassoziierte(-|_| )?Erkrankungen\/?Diätetik$/i,
       /^Übungen(-|_| )?Lebensstil(-|_)?\/?ernährungsassoziierte(-|_| )?Erkrankungen\/?Diätetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330038&semester=2024S"
  # ======================================================================= #
  # === rf "300648 Animal Physiology I: Energy, Respiration, Homeostasis"
  # ======================================================================= #
  when /^300648(-|_| )?Animal(-|_| )?Physiology(-|_| )?I:(-|_| )?Energy,?(-|_| )?Respiration,?(-|_| )?Homeostasis$/i,
       /^Animal(-|_| )?Physiology(-|_| )?I:(-|_| )?Energy,?(-|_| )?Respiration,?(-|_| )?Homeostasis$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300648&semester=2023W"
  # ======================================================================= #
  # === rf "300718 Statistik in der Biologie"
  # ======================================================================= #
  when /^300718(-|_| )?Statistik(-|_| )?in(-|_| )?der(-|_| )?Biologie$/i,
       /^Statistik(-|_| )?in(-|_| )?der(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300718&semester=2023W"
  # ======================================================================= #
  # === rf "270064 3D Druck in der Chemie"
  # ======================================================================= #
  when /^270064(-|_| )?3D(-|_| )?Druck(-|_| )?in(-|_| )?der(-|_| )?Chemie$/i,
       /^3D(-|_| )?Druck(-|_| )?in(-|_| )?der(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270064&semester=2024S"
  # ======================================================================= #
  # === rf "270193 (Introduction to) Network analysis with Python"
  # ======================================================================= #
  when /^270193(-|_| )?\(?Introduction(-|_| )?to\)?(-|_| )?Network(-|_| )?analysis(-|_| )?with(-|_| )?Python$/i,
       /^\(?Introduction(-|_| )?to\)?(-|_| )?Network(-|_| )?analysis(-|_| )?with(-|_| )?Python$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270193&semester=2024S"
  # ======================================================================= #
  # === rf "270037 Chemieinformatik"
  # ======================================================================= #
  when /^270037(-|_| )?Chemieinformatik$/i,
       /^Chemieinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270037&semester=2024S"
  # ======================================================================= #
  # === rf "301772 Research Report & Journal Club IV"
  # ======================================================================= #
  when /^301772(-|_| )?Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?IV$/i,
       /^Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?IV$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301772&semester=2024S"
  # ======================================================================= #
  # === rf "270193 Probenvorbereitungstechnik"
  # ======================================================================= #
  when /^270193(-|_| )?Probenvorbereitungstechnik$/i,
       /^Probenvorbereitungstechnik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270193&semester=2023W"
  # ======================================================================= #
  # === rf "300178 Mikrob. Lebensgemeinschaften"
  # ======================================================================= #
  when /^300178(-|_| )?Mikrob\.?(-|_| )?Lebensgemeinschaften$/i,
       /^Mikrob\.?(-|_| )?Lebensgemeinschaften$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300178&semester=2024S"
  # ======================================================================= #
  # === rf "300043 Script Programming in genome analysis"
  # ======================================================================= #
  when /^300043(-|_| )?Script(-|_| )?Programming(-|_| )?in(-|_| )?genome(-|_| )?analysis$/i,
       /^Script(-|_| )?Programming(-|_| )?in(-|_| )?genome(-|_| )?analysis$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300043&semester=2024S"
  # ======================================================================= #
  # === rf "300026 Computational methods in microbial ecology"
  # ======================================================================= #
  when /^300026(-|_| )?Computational(-|_| )?methods(-|_| )?in(-|_| )?microbial(-|_| )?ecology$/i,
       /^Computational(-|_| )?methods(-|_| )?in(-|_| )?microbial(-|_| )?ecology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300026&semester=2024S"
  # ======================================================================= #
  # === rf "300386 Die Zelle im Lichtmikroskop"
  # ======================================================================= #
  when /^300386(-|_| )?Die(-|_| )?Zelle(-|_| )?im(-|_| )?Lichtmikroskop$/i,
       /^Die(-|_| )?Zelle(-|_| )?im(-|_| )?Lichtmikroskop$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300386&semester=2024S"
  # ======================================================================= #
  # === rf "301620 Analytische Chemie 2 für Biologen"
  # ======================================================================= #
  when /^301620(-|_| )?Analytische(-|_| )?Chemie(-|_| )?2(-|_| )?für(-|_| )?Biologen$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?2(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301620&semester=2024S"
  # ======================================================================= #
  # === rf "301324 Organische Chemie für Molekulare Biologen"
  # ======================================================================= #
  when /^301324(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i,
       /^Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301324&semester=2023W"
  # ======================================================================= #
  # === rf "300246 Analysis of biological data with Python for non-bioinformaticians"
  # ======================================================================= #
  when /^300246(-|_| )?Analysis(-|_| )?of(-|_| )?biological(-|_| )?data(-|_| )?with(-|_| )?Python(-|_| )?for(-|_| )?non(-|_)?bioinformaticians$/i,
       /^Analysis(-|_| )?of(-|_| )?biological(-|_| )?data(-|_| )?with(-|_| )?Python(-|_| )?for(-|_| )?non(-|_)?bioinformaticians$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300246&semester=2024S"
  # ======================================================================= #
  # === rf "301253 Molekulare Biologie UE III (Zellbiologie)"
  # ======================================================================= #
  when /^301253(-|_| )?Molekulare(-|_| )?Biologie(-|_| )?UE(-|_| )?III(-|_| )?\(?Zellbiologie\)?$/i,
       /^Molekulare(-|_| )?Biologie(-|_| )?UE(-|_| )?III(-|_| )?\(?Zellbiologie\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301253&semester=2024S"
  # ======================================================================= #
  # === rf "052900 Methoden der medizinischen Informatik"
  # ======================================================================= #
  when /^052900(-|_| )?Methoden(-|_| )?der(-|_| )?medizinischen(-|_| )?Informatik$/i,
       /^Methoden(-|_| )?der(-|_| )?medizinischen(-|_| )?Informatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052900&semester=2023S"
  # ======================================================================= #
  # === rf "270275 Computersimulation von Biopolymeren"
  # ======================================================================= #
  when /^270275(-|_| )?Computersimulation(-|_| )?von(-|_| )?Biopolymeren$/i,
       /^Computersimulation(-|_| )?von(-|_| )?Biopolymeren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270275&semester=2024S"
  # ======================================================================= #
  # === rf "270060 Seminar: Methoden der Biomolekularen Simulation"
  # ======================================================================= #
  when /^270060(-|_| )?Seminar:(-|_| )?Methoden(-|_| )?der(-|_| )?Biomolekularen(-|_| )?Simulation$/i,
       /^Seminar:(-|_| )?Methoden(-|_| )?der(-|_| )?Biomolekularen(-|_| )?Simulation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270060&semester=2019S"
  # ======================================================================= #
  # === rf "300181 Current topics in computational biology"
  # ======================================================================= #
  when /^300181(-|_| )?Current(-|_| )?topics(-|_| )?in(-|_| )?computational(-|_| )?biology$/i,
       /^Current(-|_| )?topics(-|_| )?in(-|_| )?computational(-|_| )?biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300181&semester=2021S"
  # ======================================================================= #
  # === rf "300616 Lebenszyklen der Pflanzen"
  # ======================================================================= #
  when /^300616(-|_| )?Lebenszyklen(-|_| )?der(-|_| )?Pflanzen$/i,
       /^Lebenszyklen(-|_| )?der(-|_| )?Pflanzen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300616&semester=2024S"
  # ======================================================================= #
  # === rf "300012 Baupläne der Tiere 2"
  # ======================================================================= #
  when /^300012(-|_| )?Baupläne(-|_| )?der(-|_| )?Tiere(-|_| )?2$/i,
       /^Baupläne(-|_| )?der(-|_| )?Tiere(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300012&semester=2024S"
  # ======================================================================= #
  # === rf "300545 Effizientes Lernen"
  # ======================================================================= #
  when /^300545(-|_| )?Effizientes(-|_| )?Lernen$/i,
       /^Effizientes(-|_| )?Lernen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300545&semester=2024S"
  # ======================================================================= #
  # === rf "300206 Introduction to Marine Pollution"
  # ======================================================================= #
  when /^300206(-|_| )?Introduction(-|_| )?to(-|_| )?Marine(-|_| )?Pollution$/i,
       /^Introduction(-|_| )?to(-|_| )?Marine(-|_| )?Pollution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300206&semester=2024S"
  # ======================================================================= #
  # === rf "300068 Diversität von marinem Zooplankton und Evolution von Lebenszyklen"
  # ======================================================================= #
  when /^300068(-|_| )?Diversität(-|_| )?von(-|_| )?marinem(-|_| )?Zooplankton(-|_| )?und(-|_| )?Evolution(-|_| )?von(-|_| )?Lebenszyklen$/i,
       /^Diversität(-|_| )?von(-|_| )?marinem(-|_| )?Zooplankton(-|_| )?und(-|_| )?Evolution(-|_| )?von(-|_| )?Lebenszyklen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270193&semester=2023W"
  # ======================================================================= #
  # === rf "270074 Chemie in der Technik"
  # ======================================================================= #
  when /^270074(-|_| )?Chemie(-|_| )?in(-|_| )?der(-|_| )?Technik$/i,
       /^Chemie(-|_| )?in(-|_| )?der(-|_| )?Technik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270074&semester=2023W"
  # ======================================================================= #
  # === rf "300172 Erdwissenschaftliche Grundlagen für Biologen"
  # ======================================================================= #
  when /^300172(-|_| )?Erdwissenschaftliche(-|_| )?Grundlagen(-|_| )?für(-|_| )?Biologen$/i,
       /^Erdwissenschaftliche(-|_| )?Grundlagen(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300172&semester=2019S"
  # ======================================================================= #
  # === rf "322054 Human Gene Therapy: From basics to clinical applications - M14"
  # ======================================================================= #
  when /^322054(-|_| )?Human(-|_| )?Gene(-|_| )?Therapy:(-|_| )?From(-|_| )?basics(-|_| )?to(-|_| )?clinical(-|_| )?applications(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Human(-|_| )?Gene(-|_| )?Therapy:(-|_| )?From(-|_| )?basics(-|_| )?to(-|_| )?clinical(-|_| )?applications(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322054&semester=2024S"
  # ======================================================================= #
  # === rf "300497 Wissenschaftlich Schreiben"
  # ======================================================================= #
  when /^300497(-|_| )?Wissenschaftlich(-|_| )?Schreiben$/i,
       /^Wissenschaftlich(-|_| )?Schreiben$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300497&semester=2024S"
  # ======================================================================= #
  # === rf "300420 Populationsanthropologie und Demographie"
  # ======================================================================= #
  when /^300420(-|_| )?Populationsanthropologie(-|_| )?und(-|_| )?Demographie$/i,
       /^Populationsanthropologie(-|_| )?und(-|_| )?Demographie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300420&semester=2024S"
  # ======================================================================= #
  # === rf "300385 Die Frau in den Naturwissenschaften"
  # ======================================================================= #
  when /^300385(-|_| )?Die(-|_| )?Frau(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i,
       /^Die(-|_| )?Frau(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300385&semester=2024S"
  # ======================================================================= #
  # === rf "350325 BA2I - Grundlagen der Statistik"
  # ======================================================================= #
  when /^350325(-|_| )?BA2I(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Statistik$/i,
       /^BA2I(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Statistik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350325&semester=2023W"
  # ======================================================================= #
  # === rf "270008 Enzyme - Mechanismen und Anwendungen"
  # ======================================================================= #
  when /^270008(-|_| )?Enzyme(-|_| )?(-|_)?(-|_| )?Mechanismen(-|_| )?und(-|_| )?Anwendungen$/i,
       /^Enzyme(-|_| )?(-|_)?(-|_| )?Mechanismen(-|_| )?und(-|_| )?Anwendungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270008&semester=2023W"
  # ======================================================================= #
  # === rf "051011 Technische Grundlagen der Informatik"
  # ======================================================================= #
  when /^051011(-|_| )?Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i,
       /^Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051011&semester=2024S"
  # ======================================================================= #
  # === rf "300151 Einführung in die Evolutionsbiologie des Menschen"
  # ======================================================================= #
  when /^300151(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Evolutionsbiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Evolutionsbiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300151&semester=2024S"
  # ======================================================================= #
  # === rf "300013 Einführung in die Verhaltensbiologie"
  # ======================================================================= #
  when /^300013(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Verhaltensbiologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Verhaltensbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300013&semester=2023W"
  # ======================================================================= #
  # === rf "300164 Advanced bioinformatic analysis of single-cell data"
  # ======================================================================= #
  when /^300164(-|_| )?Advanced(-|_| )?bioinformatic(-|_| )?analysis(-|_| )?of(-|_| )?single(-|_)?cell(-|_| )?data$/i,
       /^Advanced(-|_| )?bioinformatic(-|_| )?analysis(-|_| )?of(-|_| )?single(-|_)?cell(-|_| )?data$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300164&semester=2024S"
  # ======================================================================= #
  # === rf "350295 BB1II - Grundlagen der Physiologie"
  # ======================================================================= #
  when /^350295(-|_| )?BB1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Physiologie$/i,
       /^BB1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Physiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350295&semester=2023W"
  # ======================================================================= #
  # === rf "301347 Via pandemics and epidemics to the basic principles of virology"
  # ======================================================================= #
  when /^301347(-|_| )?Via(-|_| )?pandemics(-|_| )?and(-|_| )?epidemics(-|_| )?to(-|_| )?the(-|_| )?basic(-|_| )?principles(-|_| )?of(-|_| )?virology$/i,
       /^Via(-|_| )?pandemics(-|_| )?and(-|_| )?epidemics(-|_| )?to(-|_| )?the(-|_| )?basic(-|_| )?principles(-|_| )?of(-|_| )?virology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301347&semester=2023W"
  # ======================================================================= #
  # === rf "301417 Methods in Molecular Biology"
  # ======================================================================= #
  when /^301417(-|_| )?Methods(-|_| )?in(-|_| )?Molecular(-|_| )?Biology$/i,
       /^Methods(-|_| )?in(-|_| )?Molecular(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301417&semester=2023W"
  # ======================================================================= #
  # === rf "350298 BB2I - Physiologie unter Berücksichtigung körperlicher Aktivität"
  # ======================================================================= #
  when /^350298(-|_| )?BB2I(-|_| )?(-|_)?(-|_| )?Physiologie(-|_| )?unter(-|_| )?Berücksichtigung(-|_| )?körperlicher(-|_| )?Aktivität$/i,
       /^BB2I(-|_| )?(-|_)?(-|_| )?Physiologie(-|_| )?unter(-|_| )?Berücksichtigung(-|_| )?körperlicher(-|_| )?Aktivität$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350298&semester=2023W"
  # ======================================================================= #
  # === rf "350245 BA1II - Grundlagen des Projektmanagements"
  # ======================================================================= #
  when /^350245(-|_| )?BA1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?des(-|_| )?Projektmanagements$/i,
       /^BA1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?des(-|_| )?Projektmanagements$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350245&semester=2023W"
  # ======================================================================= #
  # === rf "350181 BA1II - Grundlagen des Projektmanagements"
  # ======================================================================= #
  when /^350181(-|_| )?BA1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?des(-|_| )?Projektmanagements$/i,
       /^BA1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?des(-|_| )?Projektmanagements$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350181&semester=2023S"
  # ======================================================================= #
  # === rf "300444 Kulturanthropologie und Geschichte Äthiopiens"
  # ======================================================================= #
  when /^300444(-|_| )?Kulturanthropologie(-|_| )?und(-|_| )?Geschichte(-|_| )?Äthiopiens$/i,
       /^Kulturanthropologie(-|_| )?und(-|_| )?Geschichte(-|_| )?Äthiopiens$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300444&semester=2023W"
  # ======================================================================= #
  # === rf "301260 Immunologie u. zelluläre Mikrobiologie, Teil A"
  # ======================================================================= #
  when /^301260(-|_| )?Immunologie(-|_| )?u\.?(-|_| )?zelluläre(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?A$/i,
       /^Immunologie(-|_| )?u\.?(-|_| )?zelluläre(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?A$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301260&semester=2023W"
  # ======================================================================= #
  # === rf "330015 Wissenschaftliches Arbeiten"
  # ======================================================================= #
  when /^330015(-|_| )?Wissenschaftliches(-|_| )?Arbeiten$/i,
       /^Wissenschaftliches(-|_| )?Arbeiten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330015&semester=2023W"
  # ======================================================================= #
  # === rf "330019 Biochemie"
  # ======================================================================= #
  when /^330019(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330019&semester=2023W"
  # ======================================================================= #
  # === rf "270312 Toxikologie"
  # ======================================================================= #
  when /^270312(-|_| )?Toxikologie$/i,
       /^Toxikologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270312&semester=2024S"
  # ======================================================================= #
  # === rf "270008 Biochemie der Ernährung"
  # ======================================================================= #
  when /^270008(-|_| )?Biochemie(-|_| )?der(-|_| )?Ernährung$/i,
       /^Biochemie(-|_| )?der(-|_| )?Ernährung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270008&semester=2024S"
  # ======================================================================= #
  # === rf "330019 Grundlagen der Biochemie"
  # ======================================================================= #
  when /^330019(-|_| )?Grundlagen(-|_| )?der(-|_| )?Biochemie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330019&semester=2023W"
  # ======================================================================= #
  # === rf "301407 DNA-Tumorviren, vom Krebsauslöser zum Therapeutikum"
  # ======================================================================= #
  when /^301407(-|_| )?DNA(-|_)?Tumorviren,?(-|_| )?vom(-|_| )?Krebsauslöser(-|_| )?zum(-|_| )?Therapeutikum$/i,
       /^DNA(-|_)?Tumorviren,?(-|_| )?vom(-|_| )?Krebsauslöser(-|_| )?zum(-|_| )?Therapeutikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301407&semester=2023W"
  # ======================================================================= #
  # === rf "300407 DNA-Tumorviren, vom Krebsauslöser zum Therapeutikum"
  # ======================================================================= #
  when /^300407(-|_| )?DNA(-|_)?Tumorviren,?(-|_| )?vom(-|_| )?Krebsauslöser(-|_| )?zum(-|_| )?Therapeutikum$/i,
       /^DNA(-|_)?Tumorviren,?(-|_| )?vom(-|_| )?Krebsauslöser(-|_| )?zum(-|_| )?Therapeutikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301407&semester=2023W"
  # ======================================================================= #
  # === rf "270305 Nucleoside and Nucleic Acid Chemistry"
  # ======================================================================= #
  when /^270305(-|_| )?Nucleoside(-|_| )?and(-|_| )?Nucleic(-|_| )?Acid(-|_| )?Chemistry$/i,
       /^Nucleoside(-|_| )?and(-|_| )?Nucleic(-|_| )?Acid(-|_| )?Chemistry$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270305&semester=2023W"
  # ======================================================================= #
  # === rf "300106 Analyses of single cell transcriptome data"
  # ======================================================================= #
  when /^300106(-|_| )?Analyses(-|_| )?of(-|_| )?single(-|_| )?cell(-|_| )?transcriptome(-|_| )?data$/i,
       /^Analyses(-|_| )?of(-|_| )?single(-|_| )?cell(-|_| )?transcriptome(-|_| )?data$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300291&semester=2022S"
  # ======================================================================= #
  # === rf "300291 Elektronenmikroskopie in der Biologie - Methodik, Präparation und Interpretation"
  # ======================================================================= #
  when /^300291(-|_| )?Elektronenmikroskopie(-|_| )?in(-|_| )?der(-|_| )?Biologie(-|_| )?(-|_)?(-|_| )?Methodik,?(-|_| )?Präparation(-|_| )?und(-|_| )?Interpretation$/i,
       /^Elektronenmikroskopie(-|_| )?in(-|_| )?der(-|_| )?Biologie(-|_| )?(-|_)?(-|_| )?Methodik,?(-|_| )?Präparation(-|_| )?und(-|_| )?Interpretation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300291&semester=2022S"
  # ======================================================================= #
  # === rf "301092 Genetics for Biologists"
  # ======================================================================= #
  when /^301092(-|_| )?Genetics(-|_| )?for(-|_| )?Biologists$/i,
       /^Genetics(-|_| )?for(-|_| )?Biologists$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301092&semester=2024S"
  # ======================================================================= #
  # === rf "301267 Business in Biotech"
  # ======================================================================= #
  when /^301267(-|_| )?Business(-|_| )?in(-|_| )?Biotech$/i,
       /^Business(-|_| )?in(-|_| )?Biotech$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301267&semester=2023W"
  # ======================================================================= #
  # === rf "300195 Allgemeine und Organische Chemie für BiologInnen"
  # ======================================================================= #
  when /^300195(-|_| )?Allgemeine(-|_| )?und(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?BiologInnen$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?BiologInnen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300195&semester=2023W"
  # ======================================================================= #
  # === rf "321002 Steop Biologie für PharmazeutInnen - B2"
  # ======================================================================= #
  when /^321002(-|_| )?Steop(-|_| )?Biologie(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?B2$/i,
       /^Steop(-|_| )?Biologie(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?B2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321002&semester=2023W"
  # ======================================================================= #
  # === rf "250015 STEOP: Einführung in das mathematische Arbeiten"
  # ======================================================================= #
  when /^250015(-|_| )?STEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?mathematische(-|_| )?Arbeiten$/i,
       /^STEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?mathematische(-|_| )?Arbeiten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250015&semester=2023W"
  # ======================================================================= #
  # === rf "270231 Mathematik für ChemikerInnen"
  # ======================================================================= #
  when /^270231(-|_| )?Mathematik(-|_| )?für(-|_| )?ChemikerInnen$/i,
       /^Mathematik(-|_| )?für(-|_| )?ChemikerInnen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270231&semester=2023W"
  # ======================================================================= #
  # === rf "270238 Biologische Chemie II"
  # ======================================================================= #
  when /^270238(-|_| )?Biologische(-|_| )?Chemie(-|_| )?II$/i,
       /^Biologische(-|_| )?Chemie(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270238&semester=2023S"
  # ======================================================================= #
  # === rf "300685 EvoDevo: Evolution of developmental processes"
  # ======================================================================= #
  when /^300685(-|_| )?EvoDevo:(-|_| )?Evolution(-|_| )?of(-|_| )?developmental(-|_| )?processes$/i,
       /^EvoDevo:(-|_| )?Evolution(-|_| )?of(-|_| )?developmental(-|_| )?processes$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300685&semester=2023W"
  # ======================================================================= #
  # === rf "300034 Anatomie, Phylogenie und Evolution der Tiere"
  # ======================================================================= #
  when /^300034(-|_| )?Anatomie,?(-|_| )?Phylogenie(-|_| )?und(-|_| )?Evolution(-|_| )?der(-|_| )?Tiere$/i,
       /^Anatomie,?(-|_| )?Phylogenie(-|_| )?und(-|_| )?Evolution(-|_| )?der(-|_| )?Tiere$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300034&semester=2024S"
  # ======================================================================= #
  # === rf "270294 Pharmazeutische Wirkstoffentwicklung"
  # ======================================================================= #
  when /^270294(-|_| )?Pharmazeutische(-|_| )?Wirkstoffentwicklung$/i,
       /^Pharmazeutische(-|_| )?Wirkstoffentwicklung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270294&semester=2023W"
  # ======================================================================= #
  # === rf "270314 Bioanorganische Chemie"
  # ======================================================================= #
  when /^270314(-|_| )?Bioanorganische(-|_| )?Chemie$/i,
       /^Bioanorganische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270314&semester=2023W"
  # ======================================================================= #
  # === rf "270248 Proteomics"
  # ======================================================================= #
  when /^270248(-|_| )?Proteomics$/i,
       /^Proteomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270248&semester=2023W"
  # ======================================================================= #
  # === rf "300552 Physiologie und Ökologie von Cyanobakterien"
  # ======================================================================= #
  when /^300552(-|_| )?Physiologie(-|_| )?und(-|_| )?Ökologie(-|_| )?von(-|_| )?Cyanobakterien$/i,
       /^Physiologie(-|_| )?und(-|_| )?Ökologie(-|_| )?von(-|_| )?Cyanobakterien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300552&semester=2021W"
  # ======================================================================= #
  # === rf "270299 Informatische Grundlagen für Chemie und Biologie"
  # ======================================================================= #
  when /^270299(-|_| )?Informatische(-|_| )?Grundlagen(-|_| )?für(-|_| )?Chemie(-|_| )?und(-|_| )?Biologie$/i,
       /^Informatische(-|_| )?Grundlagen(-|_| )?für(-|_| )?Chemie(-|_| )?und(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270299&semester=2023W"
  # ======================================================================= #
  # === rf "270045 Posttranslationale Modifikation von Proteinen"
  # ======================================================================= #
  when /^270045(-|_| )?Posttranslationale(-|_| )?Modifikation(-|_| )?von(-|_| )?Proteinen$/i,
       /^Posttranslationale(-|_| )?Modifikation(-|_| )?von(-|_| )?Proteinen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270045&semester=2023W"
  # ======================================================================= #
  # === rf "300027 Ökosystem-Ökologie und Biogeochemie"
  # ======================================================================= #
  when /^300027(-|_| )?Ökosystem(-|_)?Ökologie(-|_| )?und(-|_| )?Biogeochemie$/i,
       /^Ökosystem(-|_)?Ökologie(-|_| )?und(-|_| )?Biogeochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300027&semester=2023W"
  # ======================================================================= #
  # === rf "300223 Vergangenheit, Gegenwart und Zukunft von Riffen und Riffkrisen"
  # ======================================================================= #
  when /^300223(-|_| )?Vergangenheit,?(-|_| )?Gegenwart(-|_| )?und(-|_| )?Zukunft(-|_| )?von(-|_| )?Riffen(-|_| )?und(-|_| )?Riffkrisen$/i,
       /^Vergangenheit,?(-|_| )?Gegenwart(-|_| )?und(-|_| )?Zukunft(-|_| )?von(-|_| )?Riffen(-|_| )?und(-|_| )?Riffkrisen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300223&semester=2023W"
  # ======================================================================= #
  # === rf "300007 Primatologie"
  # ======================================================================= #
  when /^300007(-|_| )?Primatologie$/i,
       /^Primatologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300007&semester=2023W"
  # ======================================================================= #
  # === rf "300299 Introductory Morphometrics"
  # ======================================================================= #
  when /^300299(-|_| )?Introductory(-|_| )?Morphometrics$/i,
       /^Introductory(-|_| )?Morphometrics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300299&semester=2023W"
  # ======================================================================= #
  # === rf "300088 Paleogenomics"
  # ======================================================================= #
  when /^300088(-|_| )?Paleogenomics$/i,
       /^Paleogenomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300088&semester=2023W"
  # ======================================================================= #
  # === rf "300431 Evolution und menschliche Organisation"
  # ======================================================================= #
  when /^300431(-|_| )?Evolution(-|_| )?und(-|_| )?menschliche(-|_| )?Organisation$/i,
       /^Evolution(-|_| )?und(-|_| )?menschliche(-|_| )?Organisation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300431&semester=2023W"
  # ======================================================================= #
  # === rf "301344 Immunologie u. zelluläre Mikrobiologie, Teil B"
  # ======================================================================= #
  when /^301344(-|_| )?Immunologie(-|_| )?u\.?(-|_| )?zelluläre(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?B$/i,
       /^Immunologie(-|_| )?u\.?(-|_| )?zelluläre(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?B$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301344&semester=2023W"
  # ======================================================================= #
  # === rf "300228 Einführung in die Verhaltensbiologie des Menschen"
  # ======================================================================= #
  when /^300228(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Verhaltensbiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Verhaltensbiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300228&semester=2023W"
  # ======================================================================= #
  # === rf "300215 Einführung in die Evolutionäre Medizin"
  # ======================================================================= #
  when /^300215(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Evolutionäre(-|_| )?Medizin$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Evolutionäre(-|_| )?Medizin$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300215&semester=2023W"
  # ======================================================================= #
  # === rf "300248 Zellbiologie der Pflanzen"
  # ======================================================================= #
  when /^300248(-|_| )?Zellbiologie(-|_| )?der(-|_| )?Pflanzen$/i,
       /^Zellbiologie(-|_| )?der(-|_| )?Pflanzen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300248&semester=2023W"
  # ======================================================================= #
  # === rf "301212 Molekularbiologie der Pflanzen I"
  # ======================================================================= #
  when /^301212(-|_| )?Molekularbiologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?I$/i,
       /^Molekularbiologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301212&semester=2023W"
  # ======================================================================= #
  # === rf "300025 Diversität und Phylogenie der Pilze, Algen, Moose, und Farne"
  # ======================================================================= #
  when /^300025(-|_| )?Diversität(-|_| )?und(-|_| )?Phylogenie(-|_| )?der(-|_| )?Pilze,?(-|_| )?Algen,?(-|_| )?Moose,?(-|_| )?und(-|_| )?Farne$/i,
       /^Diversität(-|_| )?und(-|_| )?Phylogenie(-|_| )?der(-|_| )?Pilze,?(-|_| )?Algen,?(-|_| )?Moose,?(-|_| )?und(-|_| )?Farne$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300025&semester=2023W"
  # ======================================================================= #
  # === rf "300017 Vegetationsökologie und Landschaftsökologie"
  # ======================================================================= #
  when /^300017(-|_| )?Vegetationsökologie(-|_| )?und(-|_| )?Landschaftsökologie$/i,
       /^Vegetationsökologie(-|_| )?und(-|_| )?Landschaftsökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300017&semester=2023W"
  # ======================================================================= #
  # === rf "301617 Strukturbiologie I"
  # ======================================================================= #
  when /^301617(-|_| )?Strukturbiologie(-|_| )?I$/i,
       /^Strukturbiologie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301617&semester=2023W"
  # ======================================================================= #
  # === rf "300296 Ausgewählte Kapitel der Säugetier-Evolution"
  # ======================================================================= #
  when /^300296(-|_| )?Ausgewählte(-|_| )?Kapitel(-|_| )?der(-|_| )?Säugetier(-|_)?Evolution$/i,
       /^Ausgewählte(-|_| )?Kapitel(-|_| )?der(-|_| )?Säugetier(-|_)?Evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300296&semester=2023W"
  # ======================================================================= #
  # === rf "301705 Molekularbiologie der Pflanzen III"
  # ======================================================================= #
  when /^301705(-|_| )?Molekularbiologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?III$/i,
       /^Molekularbiologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?III$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301705&semester=2023W"
  # ======================================================================= #
  # === rf "300138 Das letzte Eiszeitalter"
  # ======================================================================= #
  when /^300138(-|_| )?Das(-|_| )?letzte(-|_| )?Eiszeitalter$/i,
       /^Das(-|_| )?letzte(-|_| )?Eiszeitalter$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300138&semester=2023W"
  # ======================================================================= #
  # === rf "300090 Heimische Fauna und ihre Lebensräume"
  # ======================================================================= #
  when /^300090(-|_| )?Heimische(-|_| )?Fauna(-|_| )?und(-|_| )?ihre(-|_| )?Lebensräume$/i,
       /^Heimische(-|_| )?Fauna(-|_| )?und(-|_| )?ihre(-|_| )?Lebensräume$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300090&semester=2023W"
  # ======================================================================= #
  # === rf "301588 Signalling in the Immune System"
  # ======================================================================= #
  when /^301588(-|_| )?Signalling(-|_| )?in(-|_| )?the(-|_| )?Immune(-|_| )?System$/i,
       /^Signalling(-|_| )?in(-|_| )?the(-|_| )?Immune(-|_| )?System$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301588&semester=2024S"
  # ======================================================================= #
  # === rf "300046 Bodenkunde für Ökologen"
  # ======================================================================= #
  when /^300046(-|_| )?Bodenkunde(-|_| )?für(-|_| )?Ökologen$/i,
       /^Bodenkunde(-|_| )?für(-|_| )?Ökologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300046&semester=2023W"
  # ======================================================================= #
  # === rf "270124 Computergrafik und Molekulare Modellierung"
  # ======================================================================= #
  when /^270124(-|_| )?Computergrafik(-|_| )?und(-|_| )?Molekulare(-|_| )?Modellierung$/i,
       /^Computergrafik(-|_| )?und(-|_| )?Molekulare(-|_| )?Modellierung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270124&semester=2023W"
  # ======================================================================= #
  # === rf "051130 Einführende Statistik"
  # ======================================================================= #
  when /^051130(-|_| )?Einführende(-|_| )?Statistik$/i,
       /^Einführende(-|_| )?Statistik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051130&semester=2023W"
  # ======================================================================= #
  # === rf "051132 Einführung in Numerical Computing"
  # ======================================================================= #
  when /^051132(-|_| )?Einführung(-|_| )?in(-|_| )?Numerical(-|_| )?Computing$/i,
       /^Einführung(-|_| )?in(-|_| )?Numerical(-|_| )?Computing$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051132&semester=2023W"
  # ======================================================================= #
  # === rf "051039 Projektmanagement"
  # ======================================================================= #
  when /^051039(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051039&semester=2024S"
  # ======================================================================= #
  # === rf "051029 Informatik und Gesellschaft"
  # ======================================================================= #
  when /^051029(-|_| )?Informatik(-|_| )?und(-|_| )?Gesellschaft$/i,
       /^Informatik(-|_| )?und(-|_| )?Gesellschaft$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051029&semester=2024S"
  # ======================================================================= #
  # === rf "051019 Informatik und Recht"
  # ======================================================================= #
  when /^051019(-|_| )?Informatik(-|_| )?und(-|_| )?Recht$/i,
       /^Informatik(-|_| )?und(-|_| )?Recht$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051019&semester=2024S"
  # ======================================================================= #
  # === rf "051061 Informationssicherheit"
  # ======================================================================= #
  when /^051061(-|_| )?Informationssicherheit$/i,
       /^Informationssicherheit$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051061&semester=2024S"
  # ======================================================================= #
  # === rf "051035 Netzwerktechnologien"
  # ======================================================================= #
  when /^051035(-|_| )?Netzwerktechnologien$/i,
       /^Netzwerktechnologien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051035&semester=2023W"
  # ======================================================================= #
  # === rf "051034 Netzwerktechnologien"
  # ======================================================================= #
  when /^051034(-|_| )?Netzwerktechnologien$/i,
       /^Netzwerktechnologien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051034&semester=2023W"
  # ======================================================================= #
  # === rf "051040 Software Engineering 1"
  # ======================================================================= #
  when /^051040(-|_| )?Software(-|_| )?Engineering(-|_| )?1$/i,
       /^Software(-|_| )?Engineering(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051040&semester=2024S"
  # ======================================================================= #
  # === rf "051032 Grundlagen der Intelligenten Systeme"
  # ======================================================================= #
  when /^051032(-|_| )?Grundlagen(-|_| )?der(-|_| )?Intelligenten(-|_| )?Systeme$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Intelligenten(-|_| )?Systeme$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051032&semester=2023W"
  # ======================================================================= #
  # === rf "051031 Datenbanksysteme"
  # ======================================================================= #
  when /^051031(-|_| )?Datenbanksysteme$/i,
       /^Datenbanksysteme$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051031&semester=2024S"
  # ======================================================================= #
  # === rf "051024 Algorithmen und Datenstrukturen 1"
  # ======================================================================= #
  when /^051024(-|_| )?Algorithmen(-|_| )?und(-|_| )?Datenstrukturen(-|_| )?1$/i,
       /^Algorithmen(-|_| )?und(-|_| )?Datenstrukturen(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051024&semester=2024S"
  # ======================================================================= #
  # === rf "051023 Modellierung"
  # ======================================================================= #
  when /^051023(-|_| )?Modellierung$/i,
       /^Modellierung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051023&semester=2024S"
  # ======================================================================= #
  # === rf "051013 Theoretische Informatik"
  # ======================================================================= #
  when /^051013(-|_| )?Theoretische(-|_| )?Informatik$/i,
       /^Theoretische(-|_| )?Informatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051013&semester=2024S"
  # ======================================================================= #
  # === rf "051012 Repetitorium Technische Grundlagen der Informatik"
  # ======================================================================= #
  when /^051012(-|_| )?Repetitorium(-|_| )?Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i,
       /^Repetitorium(-|_| )?Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051012&semester=2024S"
  # ======================================================================= #
  # === rf "262005 Introduction to Computational Biology and Drug Discovery"
  # ======================================================================= #
  when /^262005(-|_| )?Introduction(-|_| )?to(-|_| )?Computational(-|_| )?Biology(-|_| )?and(-|_| )?Drug(-|_| )?Discovery$/i,
       /^Introduction(-|_| )?to(-|_| )?Computational(-|_| )?Biology(-|_| )?and(-|_| )?Drug(-|_| )?Discovery$/i
    "https://ufind.univie.ac.at/de/course.html?lv=262005&semester=2023W"
  # ======================================================================= #
  # === rf "270194 Immunanalytische Methoden"
  # ======================================================================= #
  when /^270194(-|_| )?Immunanalytische(-|_| )?Methoden$/i,
       /^Immunanalytische(-|_| )?Methoden$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270194&semester=2023W"
  # ======================================================================= #
  # === rf "330098 Biostatistik"
  # ======================================================================= #
  when /^330098(-|_| )?Biostatistik$/i,
       /^Biostatistik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330098&semester=2023W"
  # ======================================================================= #
  # === rf "300496 Meereskunde"
  # ======================================================================= #
  when /^300496(-|_| )?Meereskunde$/i,
       /^Meereskunde$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300496&semester=2023W"
  # ======================================================================= #
  # === rf "Basiswissen Informatik für die Bioinformatik"
  # ======================================================================= #
  when /^Basiswissen(-|_| )?Informatik(-|_| )?für(-|_| )?die(-|_| )?Bioinformatik$/i,
       /^Informatik(-|_| )?für(-|_| )?die(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/exam.html?mod=301237&eq=05-3511&semester=2024S"
  # ======================================================================= #
  # === rf "300420 Ethische Aspekte des Natur- und Artenschutzes"
  # ======================================================================= #
  when /^300420(-|_| )?Ethische(-|_| )?Aspekte(-|_| )?des(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Artenschutzes$/i,
       /^Ethische(-|_| )?Aspekte(-|_| )?des(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Artenschutzes$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300420&semester=2023W"
  # ======================================================================= #
  # === rf "301224 Bioinformatics for Microbial Metagenomics"
  # ======================================================================= #
  when /^301224(-|_| )?Bioinformatics(-|_| )?for(-|_| )?Microbial(-|_| )?Metagenomics$/i,
       /^Bioinformatics(-|_| )?for(-|_| )?Microbial(-|_| )?Metagenomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301224&semester=2023W"
  # ======================================================================= #
  # === rf "321015 Pathophysiologie - B8"
  # ======================================================================= #
  when /^321015(-|_| )?Pathophysiologie(-|_| )?(-|_)?(-|_| )?B8$/i,
       /^Pathophysiologie(-|_| )?(-|_)?(-|_| )?B8$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321015&semester=2024S"
  # ======================================================================= #
  # === rf "300314 Erneuerbare Energien"
  # ======================================================================= #
  when /^300314(-|_| )?Erneuerbare(-|_| )?Energien$/i,
       /^Erneuerbare(-|_| )?Energien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300314&semester=2022W"
  # ======================================================================= #
  # === rf "300231 Einführung in die Sozialbiologie des Menschen"
  # ======================================================================= #
  when /^300231(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Sozialbiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Sozialbiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300231&semester=2023W"
  # ======================================================================= #
  # === rf "300719 Geschlecht in den Naturwissenschaften"
  # ======================================================================= #
  when /^300719(-|_| )?Geschlecht(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i,
       /^Geschlecht(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300719&semester=2023W"
  # ======================================================================= #
  # === rf "301137 Basics of Neuroscience"
  # ======================================================================= #
  when /^301137(-|_| )?Basics(-|_| )?of(-|_| )?Neuroscience$/i,
       /^Basics(-|_| )?of(-|_| )?Neuroscience$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301137&semester=2022W"
  # ======================================================================= #
  # === rf "300187 Neuroanatomie des Menschen"
  # ======================================================================= #
  when /^300187(-|_| )?Neuroanatomie(-|_| )?des(-|_| )?Menschen$/i,
       /^Neuroanatomie(-|_| )?des(-|_| )?Menschen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300187&semester=2024S"
  # ======================================================================= #
  # === rf "301310 Therapie und Prophylaxe von Viruskrankheiten"
  # ======================================================================= #
  when /^301310(-|_| )?Therapie(-|_| )?und(-|_| )?Prophylaxe(-|_| )?von(-|_| )?Viruskrankheiten$/i,
       /^Therapie(-|_| )?und(-|_| )?Prophylaxe(-|_| )?von(-|_| )?Viruskrankheiten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301310&semester=2023W"
  # ======================================================================= #
  # === rf "301480 Therapie von HIV Infektion / AIDS"
  # ======================================================================= #
  when /^301480(-|_| )?Therapie(-|_| )?von(-|_| )?HIV(-|_| )?Infektion(-|_| )?\/?(-|_| )?AIDS$/i,
       /^Therapie(-|_| )?von(-|_| )?HIV(-|_| )?Infektion(-|_| )?\/?(-|_| )?AIDS$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301480&semester=2022S"
  # ======================================================================= #
  # === rf "300343 Genome structure and evolution"
  # ======================================================================= #
  when /^300343(-|_| )?Genome(-|_| )?structure(-|_| )?and(-|_| )?evolution$/i,
       /^Genome(-|_| )?structure(-|_| )?and(-|_| )?evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300343&semester=2023W"
  # ======================================================================= #
  # === rf "300353 Applied programming for Bioinformatics"
  # ======================================================================= #
  when /^300353(-|_| )?Applied(-|_| )?programming(-|_| )?for(-|_| )?Bioinformatics$/i,
       /^Applied(-|_| )?programming(-|_| )?for(-|_| )?Bioinformatics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300353&semester=2023W"
  # ======================================================================= #
  # === rf "301652 Advanced topics in Chromosome and RNA Biology"
  # ======================================================================= #
  when /^301652(-|_| )?Advanced(-|_| )?topics(-|_| )?in(-|_| )?Chromosome(-|_| )?and(-|_| )?RNA(-|_| )?Biology$/i,
       /^Advanced(-|_| )?topics(-|_| )?in(-|_| )?Chromosome(-|_| )?and(-|_| )?RNA(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301652&semester=2023S"
  # ======================================================================= #
  # === rf "301590 Grundlagen der Bioinformatik"
  # ======================================================================= #
  when /^301590(-|_| )?Grundlagen(-|_| )?der(-|_| )?Bioinformatik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301590&semester=2023W"
  # ======================================================================= #
  # === rf "300476 Physiologie der Tiere 2: Sinnes-, Nerven- und Muskelphysiologie"
  # ======================================================================= #
  when /^300476(-|_| )?Physiologie(-|_| )?der(-|_| )?Tiere(-|_| )?2:(-|_| )?Sinnes(-|_)?,?(-|_| )?Nerven(-|_)?(-|_| )?und(-|_| )?Muskelphysiologie$/i,
       /^Physiologie(-|_| )?der(-|_| )?Tiere(-|_| )?2:(-|_| )?Sinnes(-|_)?,?(-|_| )?Nerven(-|_)?(-|_| )?und(-|_| )?Muskelphysiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300476&semester=2023W"
  # ======================================================================= #
  # === rf "330052 Übungen zu mikrobiologischen und molekularbiologischen Fragen der Lebensmittel"
  # ======================================================================= #
  when /^330052(-|_| )?Übungen(-|_| )?zu(-|_| )?mikrobiologischen(-|_| )?und(-|_| )?molekularbiologischen(-|_| )?Fragen(-|_| )?der(-|_| )?Lebensmittel$/i,
       /^Übungen(-|_| )?zu(-|_| )?mikrobiologischen(-|_| )?und(-|_| )?molekularbiologischen(-|_| )?Fragen(-|_| )?der(-|_| )?Lebensmittel$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330052&semester=2023W"
  # ======================================================================= #
  # === rf "300014 Introduction to animal development"
  # ======================================================================= #
  when /^300014(-|_| )?Introduction(-|_| )?to(-|_| )?animal(-|_| )?development$/i,
       /^Introduction(-|_| )?to(-|_| )?animal(-|_| )?development$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300014&semester=2023W"
  # ======================================================================= #
  # === rf "321000 Infoveranstaltung - Pharmazie"
  # ======================================================================= #
  when /^321000(-|_| )?Infoveranstaltung(-|_| )?(-|_)?(-|_| )?Pharmazie$/i,
       /^Infoveranstaltung(-|_| )?(-|_)?(-|_| )?Pharmazie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321000&semester=2023W"
  # ======================================================================= #
  # === rf "300191 Bioinformatics for non-bioinformaticians - how to build and analyse a transcriptome"
  # ======================================================================= #
  when /^300191(-|_| )?Bioinformatics(-|_| )?for(-|_| )?non(-|_)?bioinformaticians(-|_| )?(-|_)?(-|_| )?how(-|_| )?to(-|_| )?build(-|_| )?and(-|_| )?analyse(-|_| )?a(-|_| )?transcriptome$/i,
       /^Bioinformatics(-|_| )?for(-|_| )?non(-|_)?bioinformaticians(-|_| )?(-|_)?(-|_| )?how(-|_| )?to(-|_| )?build(-|_| )?and(-|_| )?analyse(-|_| )?a(-|_| )?transcriptome$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300191&semester=2021W"
  # ======================================================================= #
  # === rf "301060 Praktische Übungen zur Bioinformatik mikrobieller Genome und Metagenome"
  # ======================================================================= #
  when /^301060(-|_| )?Praktische(-|_| )?Übungen(-|_| )?zur(-|_| )?Bioinformatik(-|_| )?mikrobieller(-|_| )?Genome(-|_| )?und(-|_| )?Metagenome$/i,
       /^Praktische(-|_| )?Übungen(-|_| )?zur(-|_| )?Bioinformatik(-|_| )?mikrobieller(-|_| )?Genome(-|_| )?und(-|_| )?Metagenome$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301060&semester=2022W"
  # ======================================================================= #
  # === rf "270236 Praktikum zu Bioinformatischen Problemen aus Chemie und Biologie"
  # ======================================================================= #
  when /^270236(-|_| )?Praktikum(-|_| )?zu(-|_| )?Bioinformatischen(-|_| )?Problemen(-|_| )?aus(-|_| )?Chemie(-|_| )?und(-|_| )?Biologie$/i,
       /^Praktikum(-|_| )?zu(-|_| )?Bioinformatischen(-|_| )?Problemen(-|_| )?aus(-|_| )?Chemie(-|_| )?und(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270236&semester=2023W"
  # ======================================================================= #
  # === rf "270065 Praktikum zu Bioinformatischen Problemen aus Chemie und Biologie"
  # ======================================================================= #
  when /^270065(-|_| )?Praktikum(-|_| )?zu(-|_| )?Bioinformatischen(-|_| )?Problemen(-|_| )?aus(-|_| )?Chemie(-|_| )?und(-|_| )?Biologie$/i,
       /^Praktikum(-|_| )?zu(-|_| )?Bioinformatischen(-|_| )?Problemen(-|_| )?aus(-|_| )?Chemie(-|_| )?und(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270065&semester=2021W"
  # ======================================================================= #
  # === rf "270078 Machine learning for molecules and materials"
  # ======================================================================= #
  when /^270078(-|_| )?Machine(-|_| )?learning(-|_| )?for(-|_| )?molecules(-|_| )?and(-|_| )?materials$/i,
       /^Machine(-|_| )?learning(-|_| )?for(-|_| )?molecules(-|_| )?and(-|_| )?materials$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270078&semester=2019W"
  # ======================================================================= #
  # === rf "070158 Methodological course - Introduction to DH: Tools and Techniques"
  # ======================================================================= #
  when /^070158(-|_| )?Methodological(-|_| )?course(-|_| )?(-|_)?(-|_| )?Introduction(-|_| )?to(-|_| )?DH:(-|_| )?Tools(-|_| )?and(-|_| )?Techniques$/i,
       /^Methodological(-|_| )?course(-|_| )?(-|_)?(-|_| )?Introduction(-|_| )?to(-|_| )?DH:(-|_| )?Tools(-|_| )?and(-|_| )?Techniques$/i
    "https://ufind.univie.ac.at/de/course.html?lv=070158&semester=2022S"
  # ======================================================================= #
  # === rf "300149 Practical introduction to programming for biologists"
  # ======================================================================= #
  when /^300149(-|_| )?Practical(-|_| )?introduction(-|_| )?to(-|_| )?programming(-|_| )?for(-|_| )?biologists$/i,
       /^Practical(-|_| )?introduction(-|_| )?to(-|_| )?programming(-|_| )?for(-|_| )?biologists$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300149&semester=2023W"
  # ======================================================================= #
  # === rf "270147 Computergestützte Datenverarbeitung"
  # ======================================================================= #
  when /^270147(-|_| )?Computergestützte(-|_| )?Datenverarbeitung$/i,
       /^Computergestützte(-|_| )?Datenverarbeitung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270147&semester=2023W"
  # ======================================================================= #
  # === rf "301908 Immune Resistance Mechanisms to current Cancer Therapies"
  # ======================================================================= #
  when /^301908(-|_| )?Immune(-|_| )?Resistance(-|_| )?Mechanisms(-|_| )?to(-|_| )?current(-|_| )?Cancer(-|_| )?Therapies$/i,
       /^Immune(-|_| )?Resistance(-|_| )?Mechanisms(-|_| )?to(-|_| )?current(-|_| )?Cancer(-|_| )?Therapies$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301908&semester=2024S"
  # ======================================================================= #
  # === rf "250007 Grundlagen der EDV"
  # ======================================================================= #
  when /^250007(-|_| )?Grundlagen(-|_| )?der(-|_| )?EDV$/i,
       /^Grundlagen(-|_| )?der(-|_| )?EDV$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250007&semester=2024S"
  # ======================================================================= #
  # === rf "320090 Pharmazeutische Biochemie"
  # ======================================================================= #
  when /^320090(-|_| )?Pharmazeutische(-|_| )?Biochemie$/i,
       /^Pharmazeutische(-|_| )?Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=320090&semester=2014W"
  # ======================================================================= #
  # === rf "270151 Computational Systems Biology: from enzymes to networks"
  # ======================================================================= #
  when /^270151(-|_| )?Computational(-|_| )?Systems(-|_| )?Biology:(-|_| )?from(-|_| )?enzymes(-|_| )?to(-|_| )?networks$/i,
       /^Computational(-|_| )?Systems(-|_| )?Biology:(-|_| )?from(-|_| )?enzymes(-|_| )?to(-|_| )?networks$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270151&semester=2023W"
  # ======================================================================= #
  # === rf "301619 Analytische Chemie 1 für Biologen"
  # ======================================================================= #
  when /^301619(-|_| )?Analytische(-|_| )?Chemie(-|_| )?1(-|_| )?für(-|_| )?Biologen$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?1(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301619&semester=2024S"
  # ======================================================================= #
  # === rf "322573 Drug Delivery to the Lungs - M7/M14"
  # ======================================================================= #
  when /^322573(-|_| )?Drug(-|_| )?Delivery(-|_| )?to(-|_| )?the(-|_| )?Lungs(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Drug(-|_| )?Delivery(-|_| )?to(-|_| )?the(-|_| )?Lungs(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322573&semester=2023W"
  # ======================================================================= #
  # === rf "322075 Kosmetik in Theorie und Praxis - M7/M14"
  # ======================================================================= #
  when /^322075(-|_| )?Kosmetik(-|_| )?in(-|_| )?Theorie(-|_| )?und(-|_| )?Praxis(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Kosmetik(-|_| )?in(-|_| )?Theorie(-|_| )?und(-|_| )?Praxis(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322075&semester=2023W"
  # ======================================================================= #
  # === rf "270281 Immunanalytische Methoden"
  # ======================================================================= #
  when /^270281(-|_| )?Immunanalytische(-|_| )?Methoden$/i,
       /^Immunanalytische(-|_| )?Methoden$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270281&semester=2020W"
  # ======================================================================= #
  # === rf "270227 Praktikum: Immunanalytische Methoden"
  # ======================================================================= #
  when /^270227(-|_| )?Praktikum:(-|_| )?Immunanalytische(-|_| )?Methoden$/i,
       /^Praktikum:(-|_| )?Immunanalytische(-|_| )?Methoden$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270227&semester=2022W"
  # ======================================================================= #
  # === rf "270073 Nukleinsäureanalytik-Genomics"
  # ======================================================================= #
  when /^270073(-|_| )?Nukleinsäureanalytik(-|_)?Genomics$/i,
       /^Nukleinsäureanalytik(-|_)?Genomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270073&semester=2024S"
  # ======================================================================= #
  # === rf "290139 Einführung in die Allgemeine Betriebswirtschaftslehre (für Geographiestudierende)"
  # ======================================================================= #
  when /^290139(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Allgemeine(-|_| )?Betriebswirtschaftslehre(-|_| )?\(?für(-|_| )?Geographiestudierende\)?$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Allgemeine(-|_| )?Betriebswirtschaftslehre(-|_| )?\(?für(-|_| )?Geographiestudierende\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=290139&semester=2023S"
  # ======================================================================= #
  # === rf "300448 Struktur und Funktion der Pflanze"
  # ======================================================================= #
  when /^300448(-|_| )?Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?der(-|_| )?Pflanze$/i,
       /^Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?der(-|_| )?Pflanze$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300448&semester=2024S"
  # ======================================================================= #
  # === rf "330004 Übungen zur Biostatistik"
  # ======================================================================= #
  when /^330004(-|_| )?Übungen(-|_| )?zur(-|_| )?Biostatistik$/i,
       /^Übungen(-|_| )?zur(-|_| )?Biostatistik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330004&semester=2023W"
  # ======================================================================= #
  # === rf "330106 Anwendung chemischen Rechnens"
  # ======================================================================= #
  when /^330106(-|_| )?Anwendung(-|_| )?chemischen(-|_| )?Rechnens$/i,
       /^Anwendung(-|_| )?chemischen(-|_| )?Rechnens$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330106&semester=2023W"
  # ======================================================================= #
  # === rf "301873 Exercises in Advanced Cell Biology"
  # ======================================================================= #
  when /^301873(-|_| )?Exercises(-|_| )?in(-|_| )?Advanced(-|_| )?Cell(-|_| )?Biology$/i,
       /^Exercises(-|_| )?in(-|_| )?Advanced(-|_| )?Cell(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301873&semester=2023W"
  # ======================================================================= #
  # === rf "300439 Grundlagen der molekularen Parasitologie"
  # ======================================================================= #
  when /^300439(-|_| )?Grundlagen(-|_| )?der(-|_| )?molekularen(-|_| )?Parasitologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?molekularen(-|_| )?Parasitologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300439&semester=2023W"
  # ======================================================================= #
  # === rf "270292 Techniken in der Molekularen Biologie"
  # ======================================================================= #
  when /^270292(-|_| )?Techniken(-|_| )?in(-|_| )?der(-|_| )?Molekularen(-|_| )?Biologie$/i,
       /^Techniken(-|_| )?in(-|_| )?der(-|_| )?Molekularen(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270292&semester=2023W"
  # ======================================================================= #
  # === rf "301600 Bioinformatik-Praktikum II"
  # ======================================================================= #
  when /^301600(-|_| )?Bioinformatik(-|_)?Praktikum(-|_| )?II$/i,
       /^Bioinformatik(-|_)?Praktikum(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301600&semester=2023S"
  # ======================================================================= #
  # === rf "300068 Baupläne der Tiere 1"
  # ======================================================================= #
  when /^300068(-|_| )?Baupläne(-|_| )?der(-|_| )?Tiere(-|_| )?1$/i,
       /^Baupläne(-|_| )?der(-|_| )?Tiere(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300068&semester=2023W"
  # ======================================================================= #
  # === rf "300258 LaTeX, GIMP, InkScape - Professionelle Arbeit mit freier Software"
  # ======================================================================= #
  when /^300258(-|_| )?LaTeX,?(-|_| )?GIMP,?(-|_| )?InkScape(-|_| )?(-|_)?(-|_| )?Professionelle(-|_| )?Arbeit(-|_| )?mit(-|_| )?freier(-|_| )?Software$/i,
       /^LaTeX,?(-|_| )?GIMP,?(-|_| )?InkScape(-|_| )?(-|_)?(-|_| )?Professionelle(-|_| )?Arbeit(-|_| )?mit(-|_| )?freier(-|_| )?Software$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300258&semester=2023W"
  # ======================================================================= #
  # === rf "300561 Molekulare Phylogenetik - von der DNA zum Stammbaum der Tiere"
  # ======================================================================= #
  when /^300561(-|_| )?Molekulare(-|_| )?Phylogenetik(-|_| )?(-|_)?(-|_| )?von(-|_| )?der(-|_| )?DNA(-|_| )?zum(-|_| )?Stammbaum(-|_| )?der(-|_| )?Tiere$/i,
       /^Molekulare(-|_| )?Phylogenetik(-|_| )?(-|_)?(-|_| )?von(-|_| )?der(-|_| )?DNA(-|_| )?zum(-|_| )?Stammbaum(-|_| )?der(-|_| )?Tiere$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300561&semester=2023W"
  # ======================================================================= #
  # === rf "301580 Zellbiologie heute: aktuelle Fragen, Methoden, Projektplanung"
  # ======================================================================= #
  when /^301580(-|_| )?Zellbiologie(-|_| )?heute:(-|_| )?aktuelle(-|_| )?Fragen,?(-|_| )?Methoden,?(-|_| )?Projektplanung$/i,
       /^Zellbiologie(-|_| )?heute:(-|_| )?aktuelle(-|_| )?Fragen,?(-|_| )?Methoden,?(-|_| )?Projektplanung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301580&semester=2023W"
  # ======================================================================= #
  # === rf "301696 Grundlagen der Systembiologie"
  # ======================================================================= #
  when /^301696(-|_| )?Grundlagen(-|_| )?der(-|_| )?Systembiologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Systembiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301696&semester=2023W"
  # ======================================================================= #
  # === rf "300344 Introduction to Quantitative Biology and Systems Biology"
  # ======================================================================= #
  when /^300344(-|_| )?Introduction(-|_| )?to(-|_| )?Quantitative(-|_| )?Biology(-|_| )?and(-|_| )?Systems(-|_| )?Biology$/i,
       /^Introduction(-|_| )?to(-|_| )?Quantitative(-|_| )?Biology(-|_| )?and(-|_| )?Systems(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300344&semester=2023S"
  # ======================================================================= #
  # === rf "301850 Großpraktikum Molekulare Biologie"
  # ======================================================================= #
  when /^301850(-|_| )?Großpraktikum(-|_| )?Molekulare(-|_| )?Biologie$/i,
       /^Großpraktikum(-|_| )?Molekulare(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301850&semester=2023W"
  # ======================================================================= #
  # === rf "322072 Drug Targeting - Controlled delivery to target tissues - M7/M14"
  # ======================================================================= #
  when /^322072(-|_| )?Drug(-|_| )?Targeting(-|_| )?(-|_)?(-|_| )?Controlled(-|_| )?delivery(-|_| )?to(-|_| )?target(-|_| )?tissues(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Drug(-|_| )?Targeting(-|_| )?(-|_)?(-|_| )?Controlled(-|_| )?delivery(-|_| )?to(-|_| )?target(-|_| )?tissues(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322072&semester=2023W"
  # ======================================================================= #
  # === rf "301628 Mathematik für Molekulare Biologen"
  # ======================================================================= #
  when /^301628(-|_| )?Mathematik(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i,
       /^Mathematik(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301628&semester=2024S"
  # ======================================================================= #
  # === rf "301327 Epigenetics, epitranscriptomics and mobile elements"
  # ======================================================================= #
  when /^301327(-|_| )?Epigenetics,?(-|_| )?epitranscriptomics(-|_| )?and(-|_| )?mobile(-|_| )?elements$/i,
       /^Epigenetics,?(-|_| )?epitranscriptomics(-|_| )?and(-|_| )?mobile(-|_| )?elements$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301327&semester=2023W"
  # ======================================================================= #
  # === rf "301347 Principles of Molecular Virology"
  # ======================================================================= #
  when /^301347(-|_| )?Principles(-|_| )?of(-|_| )?Molecular(-|_| )?Virology$/i,
       /^Principles(-|_| )?of(-|_| )?Molecular(-|_| )?Virology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301347&semester=2020W"
  # ======================================================================= #
  # === rf "301400 Fundamentals of Quantitative Biology"
  # ======================================================================= #
  when /^301400(-|_| )?Fundamentals(-|_| )?of(-|_| )?Quantitative(-|_| )?Biology$/i,
       /^Fundamentals(-|_| )?of(-|_| )?Quantitative(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301400&semester=2023W"
  # ======================================================================= #
  # === rf "300232 Fluoreszenzfärbung, Konfokalmikroskopie und computergestützte 3D-Rekonstruktion"
  # ======================================================================= #
  when /^300232(-|_| )?Fluoreszenzfärbung,?(-|_| )?Konfokalmikroskopie(-|_| )?und(-|_| )?computergestützte(-|_| )?3D(-|_)?Rekonstruktion$/i,
       /^Fluoreszenzfärbung,?(-|_| )?Konfokalmikroskopie(-|_| )?und(-|_| )?computergestützte(-|_| )?3D(-|_)?Rekonstruktion$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300232&semester=2023W"
  # ======================================================================= #
  # === rf "300185 Grundlagen der Physiologie: von Mikroorganismen zu Pflanzen und Tieren"
  # ======================================================================= #
  when /^300185(-|_| )?Grundlagen(-|_| )?der(-|_| )?Physiologie:(-|_| )?von(-|_| )?Mikroorganismen(-|_| )?zu(-|_| )?Pflanzen(-|_| )?und(-|_| )?Tieren$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Physiologie:(-|_| )?von(-|_| )?Mikroorganismen(-|_| )?zu(-|_| )?Pflanzen(-|_| )?und(-|_| )?Tieren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300185&semester=2024S"
  # ======================================================================= #
  # === rf "300133 Evolution"
  # ======================================================================= #
  when /^300133(-|_| )?Evolution$/i,
       /^Evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300133&semester=2024S"
  # ======================================================================= #
  # === rf "300025 Sexualbiologie"
  # ======================================================================= #
  when /^300025(-|_| )?Sexualbiologie$/i,
       /^Sexualbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300025&semester=2023S"
  # ======================================================================= #
  # === rf "301551 Abschlussarbeit im Schwerpunkt Mikrobiologie und Genetik"
  # ======================================================================= #
  when /^301551(-|_| )?Abschlussarbeit(-|_| )?im(-|_| )?Schwerpunkt(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik$/i,
       /^Abschlussarbeit(-|_| )?im(-|_| )?Schwerpunkt(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301551&semester=2023W"
  # ======================================================================= #
  # === rf "300056 Pflanzenanatomie Übungen"
  # ======================================================================= #
  when /^300056(-|_| )?Pflanzenanatomie(-|_| )?Übungen$/i,
       /^Pflanzenanatomie(-|_| )?Übungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300056&semester=2023W"
  # ======================================================================= #
  # === rf "321025 Einführung in pharmazeutisches Imaging - B13"
  # ======================================================================= #
  when /^321025(-|_| )?Einführung(-|_| )?in(-|_| )?pharmazeutisches(-|_| )?Imaging(-|_| )?(-|_)?(-|_| )?B13$/i,
       /^Einführung(-|_| )?in(-|_| )?pharmazeutisches(-|_| )?Imaging(-|_| )?(-|_)?(-|_| )?B13$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321025&semester=2024S"
  # ======================================================================= #
  # === rf "322571 Technological and Biopharmaceutical Aspects of Biologics - M7/M14"
  # ======================================================================= #
  when /^322571(-|_| )?Technological(-|_| )?and(-|_| )?Biopharmaceutical(-|_| )?Aspects(-|_| )?of(-|_| )?Biologics(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Technological(-|_| )?and(-|_| )?Biopharmaceutical(-|_| )?Aspects(-|_| )?of(-|_| )?Biologics(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322571&semester=2023W"
  # ======================================================================= #
  # === rf "322016 Selbstmedikation - M10"
  # ======================================================================= #
  when /^322016(-|_| )?Selbstmedikation(-|_| )?(-|_)?(-|_| )?M10$/i,
       /^Selbstmedikation(-|_| )?(-|_)?(-|_| )?M10$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322016&semester=2023W"
  # ======================================================================= #
  # === rf "322017 Klinische Pharmazie - M11"
  # ======================================================================= #
  when /^322017(-|_| )?Klinische(-|_| )?Pharmazie(-|_| )?(-|_)?(-|_| )?M11$/i,
       /^Klinische(-|_| )?Pharmazie(-|_| )?(-|_)?(-|_| )?M11$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322017&semester=2023W"
  # ======================================================================= #
  # === rf "322019 Gender- und Chronopharmakokinetik - M11"
  # ======================================================================= #
  when /^322019(-|_| )?Gender(-|_)?(-|_| )?und(-|_| )?Chronopharmakokinetik(-|_| )?(-|_)?(-|_| )?M11$/i,
       /^Gender(-|_)?(-|_| )?und(-|_| )?Chronopharmakokinetik(-|_| )?(-|_)?(-|_| )?M11$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322019&semester=2023W"
  # ======================================================================= #
  # === rf "322068 Mikroskopisches Praktikum (Pflanzen, Pilze, Protisten) - M14"
  # ======================================================================= #
  when /^322068(-|_| )?Mikroskopisches(-|_| )?Praktikum(-|_| )?\(?Pflanzen,?(-|_| )?Pilze,?(-|_| )?Protisten\)?(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Mikroskopisches(-|_| )?Praktikum(-|_| )?\(?Pflanzen,?(-|_| )?Pilze,?(-|_| )?Protisten\)?(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322068&semester=2023W"
  # ======================================================================= #
  # === rf "322077 Der Weg über die Hautbarriere: Dermale Systeme in der Pharmazeutischen Technologie - M7/M14"
  # ======================================================================= #
  when /^322077(-|_| )?Der(-|_| )?Weg(-|_| )?über(-|_| )?die(-|_| )?Hautbarriere:(-|_| )?Dermale(-|_| )?Systeme(-|_| )?in(-|_| )?der(-|_| )?Pharmazeutischen(-|_| )?Technologie(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Der(-|_| )?Weg(-|_| )?über(-|_| )?die(-|_| )?Hautbarriere:(-|_| )?Dermale(-|_| )?Systeme(-|_| )?in(-|_| )?der(-|_| )?Pharmazeutischen(-|_| )?Technologie(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322077&semester=2023W"
  # ======================================================================= #
  # === rf "322081 Übungen zu Molecular Modelling - M14"
  # ======================================================================= #
  when /^322081(-|_| )?Übungen(-|_| )?zu(-|_| )?Molecular(-|_| )?Modelling(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Übungen(-|_| )?zu(-|_| )?Molecular(-|_| )?Modelling(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322081&semester=2023W"
  # ======================================================================= #
  # === rf "322084 Parasitology - M14"
  # ======================================================================= #
  when /^322084(-|_| )?Parasitology(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Parasitology(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322084&semester=2023W"
  # ======================================================================= #
  # === rf "322572 Introduction to sustainability in the pharmaceutical industry - M7/M14"
  # ======================================================================= #
  when /^322572(-|_| )?Introduction(-|_| )?to(-|_| )?sustainability(-|_| )?in(-|_| )?the(-|_| )?pharmaceutical(-|_| )?industry(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Introduction(-|_| )?to(-|_| )?sustainability(-|_| )?in(-|_| )?the(-|_| )?pharmaceutical(-|_| )?industry(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322572&semester=2023W"
  # ======================================================================= #
  # === rf "270109 Biochemisches Praktikum C + Biochemische Übungen für Fortgeschrittene"
  # ======================================================================= #
  when /^270109(-|_| )?Biochemisches(-|_| )?Praktikum(-|_| )?C(-|_| )?+(-|_| )?Biochemische(-|_| )?Übungen(-|_| )?für(-|_| )?Fortgeschrittene$/i,
       /^Biochemisches(-|_| )?Praktikum(-|_| )?C(-|_| )?+(-|_| )?Biochemische(-|_| )?Übungen(-|_| )?für(-|_| )?Fortgeschrittene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270109&semester=2023S"
  # ======================================================================= #
  # === rf "301706 Projekt und Versuchsplanung über ausgewählte Themen der Molekularen Medizin"
  # ======================================================================= #
  when /^301706(-|_| )?Projekt(-|_| )?und(-|_| )?Versuchsplanung(-|_| )?über(-|_| )?ausgewählte(-|_| )?Themen(-|_| )?der(-|_| )?Molekularen(-|_| )?Medizin$/i,
       /^Projekt(-|_| )?und(-|_| )?Versuchsplanung(-|_| )?über(-|_| )?ausgewählte(-|_| )?Themen(-|_| )?der(-|_| )?Molekularen(-|_| )?Medizin$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301706&semester=2023W"
  # ======================================================================= #
  # === rf "301605 Genetisches Seminar (Molekularbiologie der RNA)"
  # ======================================================================= #
  when /^301605(-|_| )?Genetisches(-|_| )?Seminar(-|_| )?\(?Molekularbiologie(-|_| )?der(-|_| )?RNA\)?$/i,
       /^Genetisches(-|_| )?Seminar(-|_| )?\(?Molekularbiologie(-|_| )?der(-|_| )?RNA\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301605&semester=2023W"
  # ======================================================================= #
  # === rf "330011 Zell- und Molekularbiologie"
  # ======================================================================= #
  when /^330011(-|_| )?Zell(-|_)?(-|_| )?und(-|_| )?Molekularbiologie$/i,
       /^Zell(-|_)?(-|_| )?und(-|_| )?Molekularbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330011&semester=2021S"
  # ======================================================================= #
  # === rf "270293 Techniken in der Molekularen Biologie"
  # ======================================================================= #
  when /^270293(-|_| )?Techniken(-|_| )?in(-|_| )?der(-|_| )?Molekularen(-|_| )?Biologie$/i,
       /^Techniken(-|_| )?in(-|_| )?der(-|_| )?Molekularen(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270293&semester=2023W"
  # ======================================================================= #
  # === rf "301123 Genexpression"
  # ======================================================================= #
  when /^301123(-|_| )?Genexpression$/i,
       /^Genexpression$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301123&semester=2024S"
  # ======================================================================= #
  # === rf "300388 Struktur, Funktion und Evolution der Tiere"
  # ======================================================================= #
  when /^300388(-|_| )?Struktur,?(-|_| )?Funktion(-|_| )?und(-|_| )?Evolution(-|_| )?der(-|_| )?Tiere$/i,
       /^Struktur,?(-|_| )?Funktion(-|_| )?und(-|_| )?Evolution(-|_| )?der(-|_| )?Tiere$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300388&semester=2024S"
  # ======================================================================= #
  # === rf "300609 Biodiversität und molekulare Ökologie der Mikroorganismen Teil 2"
  # ======================================================================= #
  when /^300609(-|_| )?Biodiversität(-|_| )?und(-|_| )?molekulare(-|_| )?Ökologie(-|_| )?der(-|_| )?Mikroorganismen(-|_| )?Teil(-|_| )?2$/i,
       /^Biodiversität(-|_| )?und(-|_| )?molekulare(-|_| )?Ökologie(-|_| )?der(-|_| )?Mikroorganismen(-|_| )?Teil(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300609&semester=2024S"
  # ======================================================================= #
  # === rf "Basiswissen Mathematik für die Bioinformatik"
  # ======================================================================= #
  when /^Basiswissen(-|_| )?Mathematik(-|_| )?für(-|_| )?die(-|_| )?Bioinformatik$/i,
       /^Mathematik(-|_| )?für(-|_| )?die(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/vvz_sub.html?path=301238"
  # ======================================================================= #
  # === rf "300033 Einführung in die Mykologie"
  # ======================================================================= #
  when /^300033(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Mykologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Mykologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300033&semester=2023W"
  # ======================================================================= #
  # === rf "300043 Introduction to Cognitive Biology"
  # ======================================================================= #
  when /^300043(-|_| )?Introduction(-|_| )?to(-|_| )?Cognitive(-|_| )?Biology$/i,
       /^Introduction(-|_| )?to(-|_| )?Cognitive(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300043&semester=2023W"
  # ======================================================================= #
  # === rf "300321 Gesteins- und Bodenkunde"
  # ======================================================================= #
  when /^300321(-|_| )?Gesteins(-|_)?(-|_| )?und(-|_| )?Bodenkunde$/i,
       /^Gesteins(-|_)?(-|_| )?und(-|_| )?Bodenkunde$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300321&semester=2019S"
  # ======================================================================= #
  # === rf "300128 Developmental Biology and Reproduction of plants"
  # ======================================================================= #
  when /^300128(-|_| )?Developmental(-|_| )?Biology(-|_| )?and(-|_| )?Reproduction(-|_| )?of(-|_| )?plants$/i,
       /^Developmental(-|_| )?Biology(-|_| )?and(-|_| )?Reproduction(-|_| )?of(-|_| )?plants$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300128&semester=2023W"
  # ======================================================================= #
  # === rf "300023 Diversität und Phylogenie der Höheren Pflanzen"
  # ======================================================================= #
  when /^300023(-|_| )?Diversität(-|_| )?und(-|_| )?Phylogenie(-|_| )?der(-|_| )?Höheren(-|_| )?Pflanzen$/i,
       /^Diversität(-|_| )?und(-|_| )?Phylogenie(-|_| )?der(-|_| )?Höheren(-|_| )?Pflanzen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300023&semester=2024S"
  # ======================================================================= #
  # === rf "300027 Grundlagen der Limnologie"
  # ======================================================================= #
  when /^300027(-|_| )?Grundlagen(-|_| )?der(-|_| )?Limnologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Limnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300027&semester=2024S"
  # ======================================================================= #
  # === rf "300180 Plant cell biology"
  # ======================================================================= #
  when /^300180(-|_| )?Plant(-|_| )?cell(-|_| )?biology$/i,
       /^Plant(-|_| )?cell(-|_| )?biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300180&semester=2022S"
  # ======================================================================= #
  # === rf "270030 Cellular energetics"
  # ======================================================================= #
  when /^270030(-|_| )?Cellular(-|_| )?energetics$/i,
       /^Cellular(-|_| )?energetics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270030&semester=2023W"
  # ======================================================================= #
  # === rf "301289 Frontiers in Chromosome Biology"
  # ======================================================================= #
  when /^301289(-|_| )?Frontiers(-|_| )?in(-|_| )?Chromosome(-|_| )?Biology$/i,
       /^Frontiers(-|_| )?in(-|_| )?Chromosome(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301289&semester=2018S"
  # ======================================================================= #
  # === rf "300702 Tierische Zellen und Gewebe"
  # ======================================================================= #
  when /^300702(-|_| )?Tierische(-|_| )?Zellen(-|_| )?und(-|_| )?Gewebe$/i,
       /^Tierische(-|_| )?Zellen(-|_| )?und(-|_| )?Gewebe$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300702&semester=2023W"
  # ======================================================================= #
  # === rf "322071 Zellkulturmodelle in der Pharmazeutischen Technologie - Anwendungsmöglichkeiten und Praxis - M7/M14"
  # ======================================================================= #
  when /^322071(-|_| )?Zellkulturmodelle(-|_| )?in(-|_| )?der(-|_| )?Pharmazeutischen(-|_| )?Technologie(-|_| )?(-|_)?(-|_| )?Anwendungsmöglichkeiten(-|_| )?und(-|_| )?Praxis(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Zellkulturmodelle(-|_| )?in(-|_| )?der(-|_| )?Pharmazeutischen(-|_| )?Technologie(-|_| )?(-|_)?(-|_| )?Anwendungsmöglichkeiten(-|_| )?und(-|_| )?Praxis(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322071&semester=2020S"
  # ======================================================================= #
  # === rf "320078 Alternativmethoden zum Tierversuch"
  # ======================================================================= #
  when /^320078(-|_| )?Alternativmethoden(-|_| )?zum(-|_| )?Tierversuch$/i,
       /^Alternativmethoden(-|_| )?zum(-|_| )?Tierversuch$/i
    "https://ufind.univie.ac.at/de/course.html?lv=320078&semester=2019W"
  # ======================================================================= #
  # === rf "300102 Verhaltensbiologie des Menschen"
  # ======================================================================= #
  when /^300102(-|_| )?Verhaltensbiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Verhaltensbiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300102&semester=2024S"
  # ======================================================================= #
  # === rf "300379 Natur in unserer Hand"
  # ======================================================================= #
  when /^300379(-|_| )?Natur(-|_| )?in(-|_| )?unserer(-|_| )?Hand$/i,
       /^Natur(-|_| )?in(-|_| )?unserer(-|_| )?Hand$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300379&semester=2023W"
  # ======================================================================= #
  # === rf "300327 Einführung in die Humanethologie"
  # ======================================================================= #
  when /^300327(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Humanethologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Humanethologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300327&semester=2019W"
  # ======================================================================= #
  # === rf "270196 Elektrophoretische und Chromatographische Trennmethoden"
  # ======================================================================= #
  when /^270196(-|_| )?Elektrophoretische(-|_| )?und(-|_| )?Chromatographische(-|_| )?Trennmethoden$/i,
       /^Elektrophoretische(-|_| )?und(-|_| )?Chromatographische(-|_| )?Trennmethoden$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270196&semester=2024S"
  # ======================================================================= #
  # === rf "300161 Evolution im Mikrokosmos"
  # ======================================================================= #
  when /^300161(-|_| )?Evolution(-|_| )?im(-|_| )?Mikrokosmos$/i,
       /^Evolution(-|_| )?im(-|_| )?Mikrokosmos$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300161&semester=2022W"
  # ======================================================================= #
  # === rf "301578 Spezielle Themen der Bioinformatik"
  # ======================================================================= #
  when /^301578(-|_| )?Spezielle(-|_| )?Themen(-|_| )?der(-|_| )?Bioinformatik$/i,
       /^Spezielle(-|_| )?Themen(-|_| )?der(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301578&semester=2023S"
  # ======================================================================= #
  # === rf "301902 Modellsysteme und Konzepte in Stammzellbiologie und Regeneration"
  # ======================================================================= #
  when /^301902(-|_| )?Modellsysteme(-|_| )?und(-|_| )?Konzepte(-|_| )?in(-|_| )?Stammzellbiologie(-|_| )?und(-|_| )?Regeneration$/i,
       /^Modellsysteme(-|_| )?und(-|_| )?Konzepte(-|_| )?in(-|_| )?Stammzellbiologie(-|_| )?und(-|_| )?Regeneration$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301902&semester=2023S"
  # ======================================================================= #
  # === rf "321022 Diätetik - B11"
  # ======================================================================= #
  when /^321022(-|_| )?Diätetik(-|_| )?(-|_)?(-|_| )?B11$/i,
       /^Diätetik(-|_| )?(-|_)?(-|_| )?B11$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321022&semester=2024S"
  # ======================================================================= #
  # === rf "300664 Einführung in die Ökologie(LA-BU)"
  # ======================================================================= #
  when /^300664(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Ökologie\(?LA(-|_)?BU\)?$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Ökologie\(?LA(-|_)?BU\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300664&semester=2023W"
  # ======================================================================= #
  # === rf "301232 Computergestuetzte Strukturelle Biologie"
  # ======================================================================= #
  when /^301232(-|_| )?Computergestuetzte(-|_| )?Strukturelle(-|_| )?Biologie$/i,
       /^Computergestuetzte(-|_| )?Strukturelle(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301232&semester=2024S"
  # ======================================================================= #
  # === rf "052315 Natural Language Processing"
  # ======================================================================= #
  when /^052315(-|_| )?Natural(-|_| )?Language(-|_| )?Processing$/i,
       /^Natural(-|_| )?Language(-|_| )?Processing$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052315&semester=2023S"
  # ======================================================================= #
  # === rf "350091 BB3II - Blut, Immunsystem und Sport (Immunologie und Sport)"
  # ======================================================================= #
  when /^350091(-|_| )?BB3II(-|_| )?(-|_)?(-|_| )?Blut,?(-|_| )?Immunsystem(-|_| )?und(-|_| )?Sport(-|_| )?\(?Immunologie(-|_| )?und(-|_| )?Sport\)?$/i,
       /^BB3II(-|_| )?(-|_)?(-|_| )?Blut,?(-|_| )?Immunsystem(-|_| )?und(-|_| )?Sport(-|_| )?\(?Immunologie(-|_| )?und(-|_| )?Sport\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350091&semester=2023S"
  # ======================================================================= #
  # === rf "250002 STEOP: Hilfsmittel aus der EDV"
  # ======================================================================= #
  when /^250002(-|_| )?STEOP:(-|_| )?Hilfsmittel(-|_| )?aus(-|_| )?der(-|_| )?EDV$/i,
       /^STEOP:(-|_| )?Hilfsmittel(-|_| )?aus(-|_| )?der(-|_| )?EDV$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250002&semester=2018S"
  # ======================================================================= #
  # === rf "270198 Bioinformatik I"
  # ======================================================================= #
  when /^270198(-|_| )?Bioinformatik(-|_| )?I$/i,
       /^Bioinformatik(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270198&semester=2024S"
  # ======================================================================= #
  # === rf "270019 Elektrophoretische und Chromatographische Trennmethoden"
  # ======================================================================= #
  when /^270019(-|_| )?Elektrophoretische(-|_| )?und(-|_| )?Chromatographische(-|_| )?Trennmethoden$/i,
       /^Elektrophoretische(-|_| )?und(-|_| )?Chromatographische(-|_| )?Trennmethoden$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270019&semester=2021W"
  # ======================================================================= #
  # === rf "300024 Konzepte der Ökologie"
  # ======================================================================= #
  when /^300024(-|_| )?Konzepte(-|_| )?der(-|_| )?Ökologie$/i,
       /^Konzepte(-|_| )?der(-|_| )?Ökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300024&semester=2023W"
  # ======================================================================= #
  # === rf "300131 Ausgewählte Stoffwechselleistungen der Mikroorganismen"
  # ======================================================================= #
  when /^300131(-|_| )?Ausgewählte(-|_| )?Stoffwechselleistungen(-|_| )?der(-|_| )?Mikroorganismen$/i,
       /^Ausgewählte(-|_| )?Stoffwechselleistungen(-|_| )?der(-|_| )?Mikroorganismen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300131&semester=2024S"
  # ======================================================================= #
  # === rf "300239 Grundlagen der Ökologie"
  # ======================================================================= #
  when /^300239(-|_| )?Grundlagen(-|_| )?der(-|_| )?Ökologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Ökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300239&semester=2024S"
  # ======================================================================= #
  # === rf "300341 Natur- und Landschaftsschutz"
  # ======================================================================= #
  when /^300341(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i,
       /^Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300341&semester=2023W"
  # ======================================================================= #
  # === rf "050062 Angewandte Bioinformatik"
  # ======================================================================= #
  when /^050062(-|_| )?Angewandte(-|_| )?Bioinformatik$/i,
       /^Angewandte(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=050062&semester=2016W"
  # ======================================================================= #
  # === rf "322010 Metabolismus und Wechselwirkungen - M9"
  # ======================================================================= #
  when /^322010(-|_| )?Metabolismus(-|_| )?und(-|_| )?Wechselwirkungen(-|_| )?(-|_)?(-|_| )?M9$/i,
       /^Metabolismus(-|_| )?und(-|_| )?Wechselwirkungen(-|_| )?(-|_)?(-|_| )?M9$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322010&semester=2023W"
  # ======================================================================= #
  # === rf "270042 Biologisch-chemisches Praktikum, Teil B"
  # ======================================================================= #
  when /^270042(-|_| )?Biologisch(-|_)?chemisches(-|_| )?Praktikum,?(-|_| )?Teil(-|_| )?B$/i,
       /^Biologisch(-|_)?chemisches(-|_| )?Praktikum,?(-|_| )?Teil(-|_| )?B$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270042&semester=2023W"
  # ======================================================================= #
  # === rf "330081 Einfluss von Bewegung und Sport auf die Gesundheit"
  # ======================================================================= #
  when /^330081(-|_| )?Einfluss(-|_| )?von(-|_| )?Bewegung(-|_| )?und(-|_| )?Sport(-|_| )?auf(-|_| )?die(-|_| )?Gesundheit$/i,
       /^Einfluss(-|_| )?von(-|_| )?Bewegung(-|_| )?und(-|_| )?Sport(-|_| )?auf(-|_| )?die(-|_| )?Gesundheit$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330081&semester=2019W"
  # ======================================================================= #
  # === rf "320075 Pharmazeutische Bioanalytik"
  # ======================================================================= #
  when /^320075(-|_| )?Pharmazeutische(-|_| )?Bioanalytik$/i,
       /^Pharmazeutische(-|_| )?Bioanalytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=320075&semester=2015W"
  # ======================================================================= #
  # === rf "300278 GVO - die ökologische Perspektive"
  # ======================================================================= #
  when /^300278(-|_| )?GVO(-|_| )?(-|_)?(-|_| )?die(-|_| )?ökologische(-|_| )?Perspektive$/i,
       /^GVO(-|_| )?(-|_)?(-|_| )?die(-|_| )?ökologische(-|_| )?Perspektive$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300278&semester=2023S"
  # ======================================================================= #
  # === rf "270037 Übungen zu Computergrafik und Molekulare Modellierung"
  # ======================================================================= #
  when /^270037(-|_| )?Übungen(-|_| )?zu(-|_| )?Computergrafik(-|_| )?und(-|_| )?Molekulare(-|_| )?Modellierung$/i,
       /^Übungen(-|_| )?zu(-|_| )?Computergrafik(-|_| )?und(-|_| )?Molekulare(-|_| )?Modellierung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270037&semester=2020W"
  # ======================================================================= #
  # === rf "270117 Modern Quantum Chemistry"
  # ======================================================================= #
  when /^270117(-|_| )?Modern(-|_| )?Quantum(-|_| )?Chemistry$/i,
       /^Modern(-|_| )?Quantum(-|_| )?Chemistry$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270117&semester=2022S"
  # ======================================================================= #
  # === rf "269019 Computational Concepts in Chemistry II"
  # ======================================================================= #
  when /^269019(-|_| )?Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Chemistry(-|_| )?II$/i,
       /^Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Chemistry(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=269019&semester=2022S"
  # ======================================================================= #
  # === rf "270038 Übungen zu Struktur und Dynamik von Biopolymeren"
  # ======================================================================= #
  when /^270038(-|_| )?Übungen(-|_| )?zu(-|_| )?Struktur(-|_| )?und(-|_| )?Dynamik(-|_| )?von(-|_| )?Biopolymeren$/i,
       /^Übungen(-|_| )?zu(-|_| )?Struktur(-|_| )?und(-|_| )?Dynamik(-|_| )?von(-|_| )?Biopolymeren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270038&semester=2017W"
  # ======================================================================= #
  # === rf "270089 Forschungsbeispiele aus der Theoretischen Chemie"
  # ======================================================================= #
  when /^270089(-|_| )?Forschungsbeispiele(-|_| )?aus(-|_| )?der(-|_| )?Theoretischen(-|_| )?Chemie$/i,
       /^Forschungsbeispiele(-|_| )?aus(-|_| )?der(-|_| )?Theoretischen(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270089&semester=2022S"
  # ======================================================================= #
  # === rf "300166 Entomologie"
  # ======================================================================= #
  when /^300166(-|_| )?Entomologie$/i,
       /^Entomologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300166&semester=2022W"
  # ======================================================================= #
  # === rf "270051 Übungen zu Struktur und Dynamik von Biopolymeren"
  # ======================================================================= #
  when /^270051(-|_| )?Übungen(-|_| )?zu(-|_| )?Struktur(-|_| )?und(-|_| )?Dynamik(-|_| )?von(-|_| )?Biopolymeren$/i,
       /^Übungen(-|_| )?zu(-|_| )?Struktur(-|_| )?und(-|_| )?Dynamik(-|_| )?von(-|_| )?Biopolymeren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270135&semester=2020W"
  # ======================================================================= #
  # === rf "270056 Algorithmen und Programmentwicklung für die Biologische Chemie"
  # ======================================================================= #
  when /^270056(-|_| )?Algorithmen(-|_| )?und(-|_| )?Programmentwicklung(-|_| )?für(-|_| )?die(-|_| )?Biologische(-|_| )?Chemie$/i,
       /^Algorithmen(-|_| )?und(-|_| )?Programmentwicklung(-|_| )?für(-|_| )?die(-|_| )?Biologische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270056&semester=2023S"
  # ======================================================================= #
  # === rf "301046 Übungen I B - Mikrobiologie und Genetik"
  # ======================================================================= #
  when /^301046(-|_| )?Übungen(-|_| )?I(-|_| )?B(-|_| )?(-|_)?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik$/i,
       /^Übungen(-|_| )?I(-|_| )?B(-|_| )?(-|_)?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301046&semester=2024S"
  # ======================================================================= #
  # === rf "250050 Diskrete Mathematik und Theoretische Informatik"
  # ======================================================================= #
  when /^250050(-|_| )?Diskrete(-|_| )?Mathematik(-|_| )?und(-|_| )?Theoretische(-|_| )?Informatik$/i,
       /^Diskrete(-|_| )?Mathematik(-|_| )?und(-|_| )?Theoretische(-|_| )?Informatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250050&semester=2024S"
  # ======================================================================= #
  # === rf "301150 Chromosomenbiologie und Cytogenetik"
  # ======================================================================= #
  when /^301150(-|_| )?Chromosomenbiologie(-|_| )?und(-|_| )?Cytogenetik$/i,
       /^Chromosomenbiologie(-|_| )?und(-|_| )?Cytogenetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301150&semester=2023S"
  # ======================================================================= #
  # === rf "300175 Microbial Oceanography"
  # ======================================================================= #
  when /^300175(-|_| )?Microbial(-|_| )?Oceanography$/i,
       /^Microbial(-|_| )?Oceanography$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300175&semester=2023S"
  # ======================================================================= #
  # === rf "300336 Biology of Cognition"
  # ======================================================================= #
  when /^300336(-|_| )?Biology(-|_| )?of(-|_| )?Cognition$/i,
       /^Biology(-|_| )?of(-|_| )?Cognition$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300336&semester=2023S"
  # ======================================================================= #
  # === rf "300080 Symbiosis concepts and model systems (Part 2)"
  # ======================================================================= #
  when /^300080(-|_| )?Symbiosis(-|_| )?concepts(-|_| )?and(-|_| )?model(-|_| )?systems(-|_| )?\(?Part(-|_| )?2\)?$/i,
       /^Symbiosis(-|_| )?concepts(-|_| )?and(-|_| )?model(-|_| )?systems(-|_| )?\(?Part(-|_| )?2\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300080&semester=2023S"
  # ======================================================================= #
  # === rf "301907 Die Entwicklung von neuen Tumor Immunotherapien"
  # ======================================================================= #
  when /^301907(-|_| )?Die(-|_| )?Entwicklung(-|_| )?von(-|_| )?neuen(-|_| )?Tumor(-|_| )?Immunotherapien$/i,
       /^Die(-|_| )?Entwicklung(-|_| )?von(-|_| )?neuen(-|_| )?Tumor(-|_| )?Immunotherapien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301907&semester=2023W"
  # ======================================================================= #
  # === rf "809582 Einführung in die Anthropologie"
  # ======================================================================= #
  when /^809582(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Anthropologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Anthropologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809582&semester=2002W"
  # ======================================================================= #
  # === rf "301236 UE zur computergestuetzten strukturellen Biologie"
  # ======================================================================= #
  when /^301236(-|_| )?UE(-|_| )?zur(-|_| )?computergestuetzten(-|_| )?strukturellen(-|_| )?Biologie$/i,
       /^UE(-|_| )?zur(-|_| )?computergestuetzten(-|_| )?strukturellen(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/en/course.html?lv=301236&semester=2023S"
  # ======================================================================= #
  # === rf "270157 Immunanalytische und Molekularbiologische Methoden"
  # ======================================================================= #
  when /^270157(-|_| )?Immunanalytische(-|_| )?und(-|_| )?Molekularbiologische(-|_| )?Methoden$/i,
       /^Immunanalytische(-|_| )?und(-|_| )?Molekularbiologische(-|_| )?Methoden$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270157&semester=2021W"
  # ======================================================================= #
  # === rf "350222 STEOP Modul 2 - Erste Hilfe und Hygiene"
  # ======================================================================= #
  when /^350222(-|_| )?STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Hygiene$/i,
       /^STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Hygiene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350222&semester=2023S"
  # ======================================================================= #
  # === rf "350256 BB3II - Immunologie und Sport"
  # ======================================================================= #
  when /^350256(-|_| )?BB3II(-|_| )?(-|_)?(-|_| )?Immunologie(-|_| )?und(-|_| )?Sport$/i,
       /^BB3II(-|_| )?(-|_)?(-|_| )?Immunologie(-|_| )?und(-|_| )?Sport$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350256&semester=2019W"
  # ======================================================================= #
  # === rf "301586 Translation und Translationskontrolle bei Eukaryonten II"
  # ======================================================================= #
  when /^301586(-|_| )?Translation(-|_| )?und(-|_| )?Translationskontrolle(-|_| )?bei(-|_| )?Eukaryonten(-|_| )?II$/i,
       /^Translation(-|_| )?und(-|_| )?Translationskontrolle(-|_| )?bei(-|_| )?Eukaryonten(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301586&semester=2022S"
  # ======================================================================= #
  # === rf "301585 Translation und Translationskontrolle bei Eukaryonten I"
  # ======================================================================= #
  when /^301585(-|_| )?Translation(-|_| )?und(-|_| )?Translationskontrolle(-|_| )?bei(-|_| )?Eukaryonten(-|_| )?I$/i,
       /^Translation(-|_| )?und(-|_| )?Translationskontrolle(-|_| )?bei(-|_| )?Eukaryonten(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301585&semester=2022W"
  # ======================================================================= #
  # === rf "280121 Rasterelektronenmikroskopie"
  # ======================================================================= #
  when /^280121(-|_| )?Rasterelektronenmikroskopie$/i,
       /^Rasterelektronenmikroskopie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=280121&semester=2024S"
  # ======================================================================= #
  # === rf "270152 Mathematik Grundlagen"
  # ======================================================================= #
  when /^270152(-|_| )?Mathematik(-|_| )?Grundlagen$/i,
       /^Mathematik(-|_| )?Grundlagen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270152&semester=2023S"
  # ======================================================================= #
  # === rf "301350 Quantitative Methoden in der Molekularbiologie"
  # ======================================================================= #
  when /^301350(-|_| )?Quantitative(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Quantitative(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301350&semester=2023W"
  # ======================================================================= #
  # === rf "301364 Research topics in Molecular Microbiology, Microbial Ecology and Immunobiology"
  # ======================================================================= #
  when /^301364(-|_| )?Research(-|_| )?topics(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology$/i,
       /^Research(-|_| )?topics(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301364&semester=2023W"
  # ======================================================================= #
  # === rf "321023 Trenn- und Analysemethoden org. Arzneistoffe inkl. bioanalyt. Methoden - B12"
  # ======================================================================= #
  when /^321023(-|_| )?Trenn(-|_)?(-|_| )?und(-|_| )?Analysemethoden(-|_| )?org\.?(-|_| )?Arzneistoffe(-|_| )?inkl\.?(-|_| )?bioanalyt\.?(-|_| )?Methoden(-|_| )?(-|_)?(-|_| )?B12$/i,
       /^Trenn(-|_)?(-|_| )?und(-|_| )?Analysemethoden(-|_| )?org\.?(-|_| )?Arzneistoffe(-|_| )?inkl\.?(-|_| )?bioanalyt\.?(-|_| )?Methoden(-|_| )?(-|_)?(-|_| )?B12$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321023&semester=2024S"
  # ======================================================================= #
  # === rf "321029 Pharmazeutische Chemie 2 - B15"
  # ======================================================================= #
  when /^321029(-|_| )?Pharmazeutische(-|_| )?Chemie(-|_| )?2(-|_| )?(-|_)?(-|_| )?B15$/i,
       /^Pharmazeutische(-|_| )?Chemie(-|_| )?2(-|_| )?(-|_)?(-|_| )?B15$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321029&semester=2023S"
  # ======================================================================= #
  # === rf "300362 Applied data analysis"
  # ======================================================================= #
  when /^300362(-|_| )?Applied(-|_| )?data(-|_| )?analysis$/i,
       /^Applied(-|_| )?data(-|_| )?analysis$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300362&semester=2023S"
  # ======================================================================= #
  # === rf "330014 Erste Hilfe einschließlich Unfallverhütung"
  # ======================================================================= #
  when /^330014(-|_| )?Erste(-|_| )?Hilfe(-|_| )?einschließlich(-|_| )?Unfallverhütung$/i,
       /^Erste(-|_| )?Hilfe(-|_| )?einschließlich(-|_| )?Unfallverhütung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270056&semester=2023S"
  # ======================================================================= #
  # === rf "270099 Lebensmittelanalytik I"
  # ======================================================================= #
  when /^270099(-|_| )?Lebensmittelanalytik(-|_| )?I$/i,
       /^Lebensmittelanalytik(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270099&semester=2023S"
  # ======================================================================= #
  # === rf "270047 Wahlfachpraktikum: Nukleinsäureanalytik"
  # ======================================================================= #
  when /^270047(-|_| )?Wahlfachpraktikum:(-|_| )?Nukleinsäureanalytik$/i,
       /^Wahlfachpraktikum:(-|_| )?Nukleinsäureanalytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270047&semester=2023S"
  # ======================================================================= #
  # === rf "270036 Chemie und Umwelt"
  # ======================================================================= #
  when /^270036(-|_| )?Chemie(-|_| )?und(-|_| )?Umwelt$/i,
       /^Chemie(-|_| )?und(-|_| )?Umwelt$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270036&semester=2023S"
  # ======================================================================= #
  # === rf "301577 Biomolekulare Simulation"
  # ======================================================================= #
  when /^301577(-|_| )?Biomolekulare(-|_| )?Simulation$/i,
       /^Biomolekulare(-|_| )?Simulation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301577&semester=2023S"
  # ======================================================================= #
  # === rf "301234 Advanced Biochemical and Biophysical Methods"
  # ======================================================================= #
  when /^301234(-|_| )?Advanced(-|_| )?Biochemical(-|_| )?and(-|_| )?Biophysical(-|_| )?Methods$/i,
       /^Advanced(-|_| )?Biochemical(-|_| )?and(-|_| )?Biophysical(-|_| )?Methods$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301234&semester=2023S"
  # ======================================================================= #
  # === rf "301401 Concepts in Molecular Biology"
  # ======================================================================= #
  when /^301401(-|_| )?Concepts(-|_| )?in(-|_| )?Molecular(-|_| )?Biology$/i,
       /^Concepts(-|_| )?in(-|_| )?Molecular(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301401&semester=2023W"
  # ======================================================================= #
  # === rf "270175 Biochemisches Praktikum für Chemiker"
  # ======================================================================= #
  when /^270175(-|_| )?Biochemisches(-|_| )?Praktikum(-|_| )?für(-|_| )?Chemiker$/i,
       /^Biochemisches(-|_| )?Praktikum(-|_| )?für(-|_| )?Chemiker$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270175&semester=2024S"
  # ======================================================================= #
  # === rf "301843 Practical Course in Molecular and Cellular Immunobiology"
  # ======================================================================= #
  when /^301843(-|_| )?Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?and(-|_| )?Cellular(-|_| )?Immunobiology$/i,
       /^Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?and(-|_| )?Cellular(-|_| )?Immunobiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301843&semester=2024S"
  # ======================================================================= #
  # === rf "270034 Praktikum zur Bioinformatik der Nukleinsäuren"
  # ======================================================================= #
  when /^270034(-|_| )?Praktikum(-|_| )?zur(-|_| )?Bioinformatik(-|_| )?der(-|_| )?Nukleinsäuren$/i,
       /^Praktikum(-|_| )?zur(-|_| )?Bioinformatik(-|_| )?der(-|_| )?Nukleinsäuren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270034&semester=2024S"
  # ======================================================================= #
  # === rf "270194 *omics Integration"
  # ======================================================================= #
  when /^270194(-|_| )?\*omics(-|_| )?Integration$/i,
       /^*omics(-|_| )?Integration$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270194&semester=2023S"
  # ======================================================================= #
  # === rf "322073 Pharmazeutische Nanotechnologie - Konzepte und Paradigmen - M7/M14"
  # ======================================================================= #
  when /^322073(-|_| )?Pharmazeutische(-|_| )?Nanotechnologie(-|_| )?(-|_)?(-|_| )?Konzepte(-|_| )?und(-|_| )?Paradigmen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Pharmazeutische(-|_| )?Nanotechnologie(-|_| )?(-|_)?(-|_| )?Konzepte(-|_| )?und(-|_| )?Paradigmen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322073&semester=2023W"
  # ======================================================================= #
  # === rf "322575 Pharmazeutische Nanotechnologie - Lipid-basierte Applikationen - M7/M14"
  # ======================================================================= #
  when /^322575(-|_| )?Pharmazeutische(-|_| )?Nanotechnologie(-|_| )?(-|_)?(-|_| )?Lipid(-|_)?basierte(-|_| )?Applikationen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Pharmazeutische(-|_| )?Nanotechnologie(-|_| )?(-|_)?(-|_| )?Lipid(-|_)?basierte(-|_| )?Applikationen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322575&semester=2023W"
  # ======================================================================= #
  # === rf "321011 Bioorganische Chemie - B6"
  # ======================================================================= #
  when /^321011(-|_| )?Bioorganische(-|_| )?Chemie(-|_| )?(-|_)?(-|_| )?B6$/i,
       /^Bioorganische(-|_| )?Chemie(-|_| )?(-|_)?(-|_| )?B6$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321011&semester=2024S"
  # ======================================================================= #
  # === rf "301558 UE aus Biomolekularer Simulation"
  # ======================================================================= #
  when /^301558(-|_| )?UE(-|_| )?aus(-|_| )?Biomolekularer(-|_| )?Simulation$/i,
       /^UE(-|_| )?aus(-|_| )?Biomolekularer(-|_| )?Simulation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301558&semester=2023S"
  # ======================================================================= #
  # === rf "270136 Femto- and Nano-Technologies at Interfaces"
  # ======================================================================= #
  when /^270136(-|_| )?Femto(-|_)?(-|_| )?and(-|_| )?Nano(-|_)?Technologies(-|_| )?at(-|_| )?Interfaces$/i,
       /^Femto(-|_)?(-|_| )?and(-|_| )?Nano(-|_)?Technologies(-|_| )?at(-|_| )?Interfaces$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270136&semester=2024S"
  # ======================================================================= #
  # === rf "300115 DNA-Barcoding"
  # ======================================================================= #
  when /^300115(-|_| )?DNA(-|_)?Barcoding$/i,
       /^DNA(-|_)?Barcoding$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300115&semester=2024S"
  # ======================================================================= #
  # === rf "270191 Introduction to R"
  # ======================================================================= #
  when /^270191(-|_| )?Introduction(-|_| )?to(-|_| )?R$/i,
       /^Introduction(-|_| )?to(-|_| )?R$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270191&semester=2024S"
  # ======================================================================= #
  # === rf "300218 Rasterelektronenmikroskopie - Techniken und Präparationen für Biologen"
  # ======================================================================= #
  when /^300218(-|_| )?Rasterelektronenmikroskopie(-|_| )?(-|_)?(-|_| )?Techniken(-|_| )?und(-|_| )?Präparationen(-|_| )?für(-|_| )?Biologen$/i,
       /^Rasterelektronenmikroskopie(-|_| )?(-|_)?(-|_| )?Techniken(-|_| )?und(-|_| )?Präparationen(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300218&semester=2023S"
  # ======================================================================= #
  # === rf "301800 MPM 1 - Lecture Course: Fundamentals of DNA replication and sources of DNA damage"
  # ======================================================================= #
  when /^301800(-|_| )?MPM(-|_| )?1(-|_| )?(-|_)?(-|_| )?Lecture(-|_| )?Course:(-|_| )?Fundamentals(-|_| )?of(-|_| )?DNA(-|_| )?replication(-|_| )?and(-|_| )?sources(-|_| )?of(-|_| )?DNA(-|_| )?damage$/i,
       /^MPM(-|_| )?1(-|_| )?(-|_)?(-|_| )?Lecture(-|_| )?Course:(-|_| )?Fundamentals(-|_| )?of(-|_| )?DNA(-|_| )?replication(-|_| )?and(-|_| )?sources(-|_| )?of(-|_| )?DNA(-|_| )?damage$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301800&semester=2022W"
  # ======================================================================= #
  # === rf "300220 Paläoökologie"
  # ======================================================================= #
  when /^300220(-|_| )?Paläoökologie$/i,
       /^Paläoökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300220&semester=2024S"
  # ======================================================================= #
  # === rf "300269 Paläobiogeographie"
  # ======================================================================= #
  when /^300269(-|_| )?Paläobiogeographie$/i,
       /^Paläobiogeographie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300269&semester=2024S"
  # ======================================================================= #
  # === rf "301811 MPM 2 - Lecture Course: Fundamentals of protein synthesis, folding, quality control"
  # ======================================================================= #
  when /^301811(-|_| )?MPM(-|_| )?2(-|_| )?(-|_)?(-|_| )?Lecture(-|_| )?Course:(-|_| )?Fundamentals(-|_| )?of(-|_| )?protein(-|_| )?synthesis,?(-|_| )?folding,?(-|_| )?quality(-|_| )?control$/i,
       /^MPM(-|_| )?2(-|_| )?(-|_)?(-|_| )?Lecture(-|_| )?Course:(-|_| )?Fundamentals(-|_| )?of(-|_| )?protein(-|_| )?synthesis,?(-|_| )?folding,?(-|_| )?quality(-|_| )?control$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301811&semester=2023S"
  # ======================================================================= #
  # === rf "301901 Introduction into 3D cryo electron microscopy"
  # ======================================================================= #
  when /^301901(-|_| )?Introduction(-|_| )?into(-|_| )?3D(-|_| )?cryo(-|_| )?electron(-|_| )?microscopy$/i,
       /^Introduction(-|_| )?into(-|_| )?3D(-|_| )?cryo(-|_| )?electron(-|_| )?microscopy$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301901&semester=2023W"
  # ======================================================================= #
  # === rf "301180 Advanced genetics: C.elegans"
  # ======================================================================= #
  when /^301180(-|_| )?Advanced(-|_| )?genetics:(-|_| )?C\.?elegans$/i,
       /^Advanced(-|_| )?genetics:(-|_| )?C\.?elegans$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301180&semester=2023S"
  # ======================================================================= #
  # === rf "300433 Medizinische Parasitologie"
  # ======================================================================= #
  when /^300433(-|_| )?Medizinische(-|_| )?Parasitologie$/i,
       /^Medizinische(-|_| )?Parasitologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300433&semester=2023W"
  # ======================================================================= #
  # === rf "301851 Biochemische Techniken für Fortgeschrittene"
  # ======================================================================= #
  when /^301851(-|_| )?Biochemische(-|_| )?Techniken(-|_| )?für(-|_| )?Fortgeschrittene$/i,
       /^Biochemische(-|_| )?Techniken(-|_| )?für(-|_| )?Fortgeschrittene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301851&semester=2023S"
  # ======================================================================= #
  # === rf "330034 Übungen zur Histologie und Zytologie"
  # ======================================================================= #
  when /^330034(-|_| )?Übungen(-|_| )?zur(-|_| )?Histologie(-|_| )?und(-|_| )?Zytologie$/i,
       /^Übungen(-|_| )?zur(-|_| )?Histologie(-|_| )?und(-|_| )?Zytologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330034&semester=2023W"
  # ======================================================================= #
  # === rf "300600 Methods of chemodiversity research"
  # ======================================================================= #
  when /^300600(-|_| )?Methods(-|_| )?of(-|_| )?chemodiversity(-|_| )?research$/i,
       /^Methods(-|_| )?of(-|_| )?chemodiversity(-|_| )?research$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300600&semester=2024S"
  # ======================================================================= #
  # === rf "270156 Seminar Biochemisches Praktikum C - Proteinbiochemie"
  # ======================================================================= #
  when /^270156(-|_| )?Seminar(-|_| )?Biochemisches(-|_| )?Praktikum(-|_| )?C(-|_| )?(-|_)?(-|_| )?Proteinbiochemie$/i,
       /^Seminar(-|_| )?Biochemisches(-|_| )?Praktikum(-|_| )?C(-|_| )?(-|_)?(-|_| )?Proteinbiochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270156&semester=2023S"
  # ======================================================================= #
  # === rf "301141 Chemisches Rechnen für Biologen"
  # ======================================================================= #
  when /^301141(-|_| )?Chemisches(-|_| )?Rechnen(-|_| )?für(-|_| )?Biologen$/i,
       /^Chemisches(-|_| )?Rechnen(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301141&semester=2024S"
  # ======================================================================= #
  # === rf "270054 Allgemeine Chemie A"
  # ======================================================================= #
  when /^270054(-|_| )?Allgemeine(-|_| )?Chemie(-|_| )?A$/i,
       /^Allgemeine(-|_| )?Chemie(-|_| )?A$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270054&semester=2023W"
  # ======================================================================= #
  # === rf "301876 Exercises in Stem Cell Biology"
  # ======================================================================= #
  when /^301876(-|_| )?Exercises(-|_| )?in(-|_| )?Stem(-|_| )?Cell(-|_| )?Biology$/i,
       /^Exercises(-|_| )?in(-|_| )?Stem(-|_| )?Cell(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301876&semester=2023S"
  # ======================================================================= #
  # === rf "300236 Prokaryotic evolution and diversity"
  # ======================================================================= #
  when /^300236(-|_| )?Prokaryotic(-|_| )?evolution(-|_| )?and(-|_| )?diversity$/i,
       /^Prokaryotic(-|_| )?evolution(-|_| )?and(-|_| )?diversity$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300236&semester=2023W"
  # ======================================================================= #
  # === rf "051110 Mathematische Grundlagen der Informatik 1"
  # ======================================================================= #
  when /^051110(-|_| )?Mathematische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik(-|_| )?1$/i,
       /^Mathematische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051110&semester=2024S"
  # ======================================================================= #
  # === rf "301037 Cell Biology I"
  # ======================================================================= #
  when /^301037(-|_| )?Cell(-|_| )?Biology(-|_| )?I$/i,
       /^Cell(-|_| )?Biology(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301037&semester=2024S"
  # ======================================================================= #
  # === rf "270184 Übungen zur Programmierung in C und C++"
  # ======================================================================= #
  when /^270184(-|_| )?Übungen(-|_| )?zur(-|_| )?Programmierung(-|_| )?in(-|_| )?C(-|_| )?und(-|_| )?C++$/i,
       /^Übungen(-|_| )?zur(-|_| )?Programmierung(-|_| )?in(-|_| )?C(-|_| )?und(-|_| )?C++$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270184&semester=2019W"
  # ======================================================================= #
  # === rf "270093 Arbeiten mit C und C++"
  # ======================================================================= #
  when /^270093(-|_| )?Arbeiten(-|_| )?mit(-|_| )?C(-|_| )?und(-|_| )?C++$/i,
       /^Arbeiten(-|_| )?mit(-|_| )?C(-|_| )?und(-|_| )?C++$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270093&semester=2022S"
  # ======================================================================= #
  # === rf "270070 Nanotechnology of Interfaces"
  # ======================================================================= #
  when /^270070(-|_| )?Nanotechnology(-|_| )?of(-|_| )?Interfaces$/i,
       /^Nanotechnology(-|_| )?of(-|_| )?Interfaces$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270070&semester=2018W"
  # ======================================================================= #
  # === rf "300111 Grundlagen der EDV für Biologen"
  # ======================================================================= #
  when /^300111(-|_| )?Grundlagen(-|_| )?der(-|_| )?EDV(-|_| )?für(-|_| )?Biologen$/i,
       /^Grundlagen(-|_| )?der(-|_| )?EDV(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300111&semester=2019W"
  # ======================================================================= #
  # === rf "250014 Mathematisches Programmieren"
  # ======================================================================= #
  when /^250014(-|_| )?Mathematisches(-|_| )?Programmieren$/i,
       /^Mathematisches(-|_| )?Programmieren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250014&semester=2023W"
  # ======================================================================= #
  # === rf "250008 Mathematisches Programmieren"
  # ======================================================================= #
  when /^250008(-|_| )?Mathematisches(-|_| )?Programmieren$/i,
       /^Mathematisches(-|_| )?Programmieren$/i
    "https://ufind.univie.ac.at/en/course.html?lv=250008&semester=2023S"
  # ======================================================================= #
  # === rf "322003 VO Magistrale Arzneimittelherstellung - M3"
  # ======================================================================= #
  when /^322003(-|_| )?VO(-|_| )?Magistrale(-|_| )?Arzneimittelherstellung(-|_| )?(-|_)?(-|_| )?M3$/i,
       /^VO(-|_| )?Magistrale(-|_| )?Arzneimittelherstellung(-|_| )?(-|_)?(-|_| )?M3$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322003&semester=2023W"
  # ======================================================================= #
  # === rf "301842 Advanced Techniques in Molecular Microbiology"
  # ======================================================================= #
  when /^301842(-|_| )?Advanced(-|_| )?Techniques(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology$/i,
       /^Advanced(-|_| )?Techniques(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301842&semester=2024S"
  # ======================================================================= #
  # === rf "301272 Live imaging course"
  # ======================================================================= #
  when /^301272(-|_| )?Live(-|_| )?imaging(-|_| )?course$/i,
       /^Live(-|_| )?imaging(-|_| )?course$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301272&semester=2020S"
  # ======================================================================= #
  # === rf "300113 Transmissionselektronenmikroskopie von Zellen und Geweben - Techniken und Präparation"
  # ======================================================================= #
  when /^300113(-|_| )?Transmissionselektronenmikroskopie(-|_| )?von(-|_| )?Zellen(-|_| )?und(-|_| )?Geweben(-|_| )?(-|_)?(-|_| )?Techniken(-|_| )?und(-|_| )?Präparation$/i,
       /^Transmissionselektronenmikroskopie(-|_| )?von(-|_| )?Zellen(-|_| )?und(-|_| )?Geweben(-|_| )?(-|_)?(-|_| )?Techniken(-|_| )?und(-|_| )?Präparation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300113&semester=2023S"
  # ======================================================================= #
  # === rf "300094 Proteomics in System Biology"
  # ======================================================================= #
  when /^300094(-|_| )?Proteomics(-|_| )?in(-|_| )?System(-|_| )?Biology$/i,
       /^Proteomics(-|_| )?in(-|_| )?System(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300094&semester=2024S"
  # ======================================================================= #
  # === rf "301856 Zellbiologische Techniken für Fortgeschrittene"
  # ======================================================================= #
  when /^301856(-|_| )?Zellbiologische(-|_| )?Techniken(-|_| )?für(-|_| )?Fortgeschrittene$/i,
       /^Zellbiologische(-|_| )?Techniken(-|_| )?für(-|_| )?Fortgeschrittene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301856&semester=2023S"
  # ======================================================================= #
  # === rf "301380 Fachliteraturseminar Biochemie"
  # ======================================================================= #
  when /^301380(-|_| )?Fachliteraturseminar(-|_| )?Biochemie$/i,
       /^Fachliteraturseminar(-|_| )?Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301380&semester=2023S"
  # ======================================================================= #
  # === rf "301841 Practical Course in Molecular Microbiology"
  # ======================================================================= #
  when /^301841(-|_| )?Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology$/i,
       /^Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301841&semester=2023S"
  # ======================================================================= #
  # === rf "301214 Toolkit für in silico Sequenzanalysen"
  # ======================================================================= #
  when /^301214(-|_| )?Toolkit(-|_| )?für(-|_| )?in(-|_| )?silico(-|_| )?Sequenzanalysen$/i,
       /^Toolkit(-|_| )?für(-|_| )?in(-|_| )?silico(-|_| )?Sequenzanalysen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301214&semester=2023W"
  # ======================================================================= #
  # === rf "301853 UE A Strukturbiologie"
  # ======================================================================= #
  when /^301853(-|_| )?UE(-|_| )?A(-|_| )?Strukturbiologie$/i,
       /^UE(-|_| )?A(-|_| )?Strukturbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301853&semester=2023W"
  # ======================================================================= #
  # === rf "301403 Übungen aus organischer Chemie"
  # ======================================================================= #
  when /^301403(-|_| )?Übungen(-|_| )?aus(-|_| )?organischer(-|_| )?Chemie$/i,
       /^Übungen(-|_| )?aus(-|_| )?organischer(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301403&semester=2023W"
  # ======================================================================= #
  # === rf "301288 Molekulare Biophysik"
  # ======================================================================= #
  when /^301288(-|_| )?Molekulare(-|_| )?Biophysik$/i,
       /^Molekulare(-|_| )?Biophysik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301288&semester=2024S"
  # ======================================================================= #
  # === rf "301135 Übung II - Biochemie"
  # ======================================================================= #
  when /^301135(-|_| )?Übung(-|_| )?II(-|_| )?(-|_)?(-|_| )?Biochemie$/i,
       /^Übung(-|_| )?II(-|_| )?(-|_)?(-|_| )?Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301135&semester=2023W"
  # ======================================================================= #
  # === rf "270252 Metalle in der Medizin"
  # ======================================================================= #
  when /^270252(-|_| )?Metalle(-|_| )?in(-|_| )?der(-|_| )?Medizin$/i,
       /^Metalle(-|_| )?in(-|_| )?der(-|_| )?Medizin$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270252&semester=2020W"
  # ======================================================================= #
  # === rf "270040 Semisynthese von Proteinen"
  # ======================================================================= #
  when /^270040(-|_| )?Semisynthese(-|_| )?von(-|_| )?Proteinen$/i,
       /^Semisynthese(-|_| )?von(-|_| )?Proteinen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270040&semester=2022S"
  # ======================================================================= #
  # === rf "270059 Anorganische Chemie II"
  # ======================================================================= #
  when /^270059(-|_| )?Anorganische(-|_| )?Chemie(-|_| )?II$/i,
       /^Anorganische(-|_| )?Chemie(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270059&semester=2023S"
  # ======================================================================= #
  # === rf "270189 Metabolic Phenotyping"
  # ======================================================================= #
  when /^270189(-|_| )?Metabolic(-|_| )?Phenotyping$/i,
       /^Metabolic(-|_| )?Phenotyping$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270189&semester=2024S"
  # ======================================================================= #
  # === rf "270004 Computer in der Biologischen Chemie"
  # ======================================================================= #
  when /^270004(-|_| )?Computer(-|_| )?in(-|_| )?der(-|_| )?Biologischen(-|_| )?Chemie$/i,
       /^Computer(-|_| )?in(-|_| )?der(-|_| )?Biologischen(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270004&semester=2024S"
  # ======================================================================= #
  # === rf "051020 Programmierung 2"
  # ======================================================================= #
  when /^051020(-|_| )?Programmierung(-|_| )?2$/i,
       /^Programmierung(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051020&semester=2024S"
  # ======================================================================= #
  # === rf "270295 Chemische Biologie"
  # ======================================================================= #
  when /^270295(-|_| )?Chemische(-|_| )?Biologie$/i,
       /^Chemische(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270295&semester=2023W"
  # ======================================================================= #
  # === rf "270052 Chemische Biologie"
  # ======================================================================= #
  when /^270052(-|_| )?Chemische(-|_| )?Biologie$/i,
       /^Chemische(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270052&semester=2021W"
  # ======================================================================= #
  # === rf "270071 Einführung in die Kohlenhydratchemie"
  # ======================================================================= #
  when /^270071(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Kohlenhydratchemie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Kohlenhydratchemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270071&semester=2021S"
  # ======================================================================= #
  # === rf "300536 Genetik und Molekularbiologie"
  # ======================================================================= #
  when /^300536(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i,
       /^Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300536&semester=2023S"
  # ======================================================================= #
  # === rf "300189 Verhaltensgenetik"
  # ======================================================================= #
  when /^300189(-|_| )?Verhaltensgenetik$/i,
       /^Verhaltensgenetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300189&semester=2023S"
  # ======================================================================= #
  # === rf "350112 STEOP Modul 2 - Naturwissenschaftliche Grundlagen der Sportwissenschaft"
  # ======================================================================= #
  when /^350112(-|_| )?STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Naturwissenschaftliche(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportwissenschaft$/i,
       /^STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Naturwissenschaftliche(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportwissenschaft$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350112&semester=2023S"
  # ======================================================================= #
  # === rf "350297 STEOP Modul 2 - Erste Hilfe und Hygiene"
  # ======================================================================= #
  when /^350297(-|_| )?STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Hygiene$/i,
       /^STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Hygiene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350297&semester=2022W"
  # ======================================================================= #
  # === rf "350238 BD1II - Grundlagen der Sportinformatik - Teil 1"
  # ======================================================================= #
  when /^350238(-|_| )?BD1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportinformatik(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?1$/i,
       /^BD1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportinformatik(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350238&semester=2023S"
  # ======================================================================= #
  # === rf "040060 Informationstechnologie"
  # ======================================================================= #
  when /^040060(-|_| )?Informationstechnologie$/i,
       /^Informationstechnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040060&semester=2022W"
  # ======================================================================= #
  # === rf "250141 Angewandtes Maschinelles Lernen"
  # ======================================================================= #
  when /^250141(-|_| )?Angewandtes(-|_| )?Maschinelles(-|_| )?Lernen$/i,
       /^Angewandtes(-|_| )?Maschinelles(-|_| )?Lernen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250141&semester=2023S"
  # ======================================================================= #
  # === rf "270095 Machine Learning von Molekülen und Materialien"
  # ======================================================================= #
  when /^270095(-|_| )?Machine(-|_| )?Learning(-|_| )?von(-|_| )?Molekülen(-|_| )?und(-|_| )?Materialien$/i,
       /^Machine(-|_| )?Learning(-|_| )?von(-|_| )?Molekülen(-|_| )?und(-|_| )?Materialien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270095&semester=2022W"
  # ======================================================================= #
  # === rf "270087 Machine Learning von Molekülen und Materialien"
  # ======================================================================= #
  when /^270087(-|_| )?Machine(-|_| )?Learning(-|_| )?von(-|_| )?Molekülen(-|_| )?und(-|_| )?Materialien$/i,
       /^Machine(-|_| )?Learning(-|_| )?von(-|_| )?Molekülen(-|_| )?und(-|_| )?Materialien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270087&semester=2022W"
  # ======================================================================= #
  # === rf "053613 Introduction to Machine Learning"
  # ======================================================================= #
  when /^053613(-|_| )?Introduction(-|_| )?to(-|_| )?Machine(-|_| )?Learning$/i,
       /^Introduction(-|_| )?to(-|_| )?Machine(-|_| )?Learning$/i
    "https://ufind.univie.ac.at/de/course.html?lv=053613&semester=2022W"
  # ======================================================================= #
  # === rf "040649 Machine Learning (MA)"
  # ======================================================================= #
  when /^040649(-|_| )?Machine(-|_| )?Learning(-|_| )?\(?MA\)?$/i,
       /^Machine(-|_| )?Learning(-|_| )?\(?MA\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040649&semester=2022W"
  # ======================================================================= #
  # === rf "250124 Graph Algorithms and Machine Learning"
  # ======================================================================= #
  when /^250124(-|_| )?Graph(-|_| )?Algorithms(-|_| )?and(-|_| )?Machine(-|_| )?Learning$/i,
       /^Graph(-|_| )?Algorithms(-|_| )?and(-|_| )?Machine(-|_| )?Learning$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250124&semester=2023S"
  # ======================================================================= #
  # === rf "250042 Mathematics of Machine Learning"
  # ======================================================================= #
  when /^250042(-|_| )?Mathematics(-|_| )?of(-|_| )?Machine(-|_| )?Learning$/i,
       /^Mathematics(-|_| )?of(-|_| )?Machine(-|_| )?Learning$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250042&semester=2023S"
  # ======================================================================= #
  # === rf "250066 Programmierpraktikum"
  # ======================================================================= #
  when /^250066(-|_| )?Programmierpraktikum$/i,
       /^Programmierpraktikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250066&semester=2021S"
  # ======================================================================= #
  # === rf "300321 Human Life History"
  # ======================================================================= #
  when /^300321(-|_| )?Human(-|_| )?Life(-|_| )?History$/i,
       /^Human(-|_| )?Life(-|_| )?History$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300321&semester=2023W"
  # ======================================================================= #
  # === rf "320130 Mathematik für Pharmazeuten"
  # ======================================================================= #
  when /^320130(-|_| )?Mathematik(-|_| )?für(-|_| )?Pharmazeuten$/i,
       /^Mathematik(-|_| )?für(-|_| )?Pharmazeuten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=320130&semester=2017W"
  # ======================================================================= #
  # === rf "269020 Computational Concepts in Biology II"
  # ======================================================================= #
  when /^269020(-|_| )?Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Biology(-|_| )?II$/i,
       /^Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Biology(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=269020&semester=2022S"
  # ======================================================================= #
  # === rf "053530 Statistische Methoden der Bioinformatik"
  # ======================================================================= #
  when /^053530(-|_| )?Statistische(-|_| )?Methoden(-|_| )?der(-|_| )?Bioinformatik$/i,
       /^Statistische(-|_| )?Methoden(-|_| )?der(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=053530&semester=2023W"
  # ======================================================================= #
  # === rf "050066 Statistische Methoden in der Bioinformatik"
  # ======================================================================= #
  when /^050066(-|_| )?Statistische(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Bioinformatik$/i,
       /^Statistische(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=050066&semester=2018W"
  # ======================================================================= #
  # === rf "322022 Ausgewählte Kapitel aus der pharmazeutisch-chemischen Forschung - M13"
  # ======================================================================= #
  when /^322022(-|_| )?Ausgewählte(-|_| )?Kapitel(-|_| )?aus(-|_| )?der(-|_| )?pharmazeutisch(-|_)?chemischen(-|_| )?Forschung(-|_| )?(-|_)?(-|_| )?M13$/i,
       /^Ausgewählte(-|_| )?Kapitel(-|_| )?aus(-|_| )?der(-|_| )?pharmazeutisch(-|_)?chemischen(-|_| )?Forschung(-|_| )?(-|_)?(-|_| )?M13$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322022&semester=2023S"
  # ======================================================================= #
  # === rf "280446 Informatik"
  # ======================================================================= #
  when /^280446(-|_| )?Informatik$/i,
       /^Informatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=280446&semester=2022W"
  # ======================================================================= #
  # === rf "300010 Spezielle Techniken in der Elektronenmikroskopie und Ultrastrukturforschung"
  # ======================================================================= #
  when /^300010(-|_| )?Spezielle(-|_| )?Techniken(-|_| )?in(-|_| )?der(-|_| )?Elektronenmikroskopie(-|_| )?und(-|_| )?Ultrastrukturforschung$/i,
       /^Spezielle(-|_| )?Techniken(-|_| )?in(-|_| )?der(-|_| )?Elektronenmikroskopie(-|_| )?und(-|_| )?Ultrastrukturforschung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300010&semester=2021S"
  # ======================================================================= #
  # === rf "300122 Biology and Evolution of Archaea"
  # ======================================================================= #
  when /^300122(-|_| )?Biology(-|_| )?and(-|_| )?Evolution(-|_| )?of(-|_| )?Archaea$/i,
       /^Biology(-|_| )?and(-|_| )?Evolution(-|_| )?of(-|_| )?Archaea$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300122&semester=2023W"
  # ======================================================================= #
  # === rf "301652 Molekularbiologie der RNA"
  # ======================================================================= #
  when /^301652(-|_| )?Molekularbiologie(-|_| )?der(-|_| )?RNA$/i,
       /^Molekularbiologie(-|_| )?der(-|_| )?RNA$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301652&semester=2022S"
  # ======================================================================= #
  # === rf "300379 Ökologie der Populationen und Gemeinschaften"
  # ======================================================================= #
  when /^300379(-|_| )?Ökologie(-|_| )?der(-|_| )?Populationen(-|_| )?und(-|_| )?Gemeinschaften$/i,
       /^Ökologie(-|_| )?der(-|_| )?Populationen(-|_| )?und(-|_| )?Gemeinschaften$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300379&semester=2024S"
  # ======================================================================= #
  # === rf "040576 StEOP: Grundzüge der Statistik"
  # ======================================================================= #
  when /^040576(-|_| )?StEOP:(-|_| )?Grundzüge(-|_| )?der(-|_| )?Statistik$/i,
       /^StEOP:(-|_| )?Grundzüge(-|_| )?der(-|_| )?Statistik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040576&semester=2022W"
  # ======================================================================= #
  # === rf "040011 Makroökonomie"
  # ======================================================================= #
  when /^040011(-|_| )?Makroökonomie$/i,
       /^Makroökonomie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040011&semester=2022W"
  # ======================================================================= #
  # === rf "040184 Mikroökonomie"
  # ======================================================================= #
  when /^040184(-|_| )?Mikroökonomie$/i,
       /^Mikroökonomie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040184&semester=2022W"
  # ======================================================================= #
  # === rf "040722 Bankrecht"
  # ======================================================================= #
  when /^040722(-|_| )?Bankrecht$/i,
       /^Bankrecht$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040722&semester=2023S"
  # ======================================================================= #
  # === rf "270181 Programmieren in C und C++"
  # ======================================================================= #
  when /^270181(-|_| )?Programmieren(-|_| )?in(-|_| )?C(-|_| )?und(-|_| )?C++$/i,
       /^Programmieren(-|_| )?in(-|_| )?C(-|_| )?und(-|_| )?C++$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270181&semester=2023S"
  # ======================================================================= #
  # === rf "270148 Programming in C/Fortran/Python"
  # ======================================================================= #
  when /^270148(-|_| )?Programming(-|_| )?in(-|_| )?C\/?Fortran\/?Python$/i,
       /^Programming(-|_| )?in(-|_| )?C\/?Fortran\/?Python$/i
    "https://ufind.univie.ac.at/en/course.html?lv=270148&semester=2023S"
  # ======================================================================= #
  # === rf "270077 Chemisches Grundpraktikum II A"
  # ======================================================================= #
  when /^270077(-|_| )?Chemisches(-|_| )?Grundpraktikum(-|_| )?II(-|_| )?A$/i,
       /^Chemisches(-|_| )?Grundpraktikum(-|_| )?II(-|_| )?A$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270077&semester=2023S"
  # ======================================================================= #
  # === rf "270226 Proteomics"
  # ======================================================================= #
  when /^270226(-|_| )?Proteomics$/i,
       /^Proteomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270226&semester=2024S"
  # ======================================================================= #
  # === rf "270101 Analytisch-chemisches Praktikum"
  # ======================================================================= #
  when /^270101(-|_| )?Analytisch(-|_)?chemisches(-|_| )?Praktikum$/i,
       /^Analytisch(-|_)?chemisches(-|_| )?Praktikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270101&semester=2023W"
  # ======================================================================= #
  # === rf "270116 Labortechnik"
  # ======================================================================= #
  when /^270116(-|_| )?Labortechnik$/i,
       /^Labortechnik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270116&semester=2023W"
  # ======================================================================= #
  # === rf "270206 Nucleic Acid Biotechnology"
  # ======================================================================= #
  when /^270206(-|_| )?Nucleic(-|_| )?Acid(-|_| )?Biotechnology$/i,
       /^Nucleic(-|_| )?Acid(-|_| )?Biotechnology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270206&semester=2023S"
  # ======================================================================= #
  # === rf "300371 New concepts in archaeal and bacterial biology"
  # ======================================================================= #
  when /^300371(-|_| )?New(-|_| )?concepts(-|_| )?in(-|_| )?archaeal(-|_| )?and(-|_| )?bacterial(-|_| )?biology$/i,
       /^New(-|_| )?concepts(-|_| )?in(-|_| )?archaeal(-|_| )?and(-|_| )?bacterial(-|_| )?biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300371&semester=2023W"
  # ======================================================================= #
  # === rf "322007 Pharmazeutische Technologie und Biopharmazie für Masterstudierende - M6"
  # ======================================================================= #
  when /^322007(-|_| )?Pharmazeutische(-|_| )?Technologie(-|_| )?und(-|_| )?Biopharmazie(-|_| )?für(-|_| )?Masterstudierende(-|_| )?(-|_)?(-|_| )?M6$/i,
       /^Pharmazeutische(-|_| )?Technologie(-|_| )?und(-|_| )?Biopharmazie(-|_| )?für(-|_| )?Masterstudierende(-|_| )?(-|_)?(-|_| )?M6$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322007&semester=2023S"
  # ======================================================================= #
  # === rf "322576 Therapeutische Nukleinsäuren und Genome-Editing: Konzepte und Entwicklungen - M7/M14"
  # ======================================================================= #
  when /^322576(-|_| )?Therapeutische(-|_| )?Nukleinsäuren(-|_| )?und(-|_| )?Genome(-|_)?Editing:(-|_| )?Konzepte(-|_| )?und(-|_| )?Entwicklungen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Therapeutische(-|_| )?Nukleinsäuren(-|_| )?und(-|_| )?Genome(-|_)?Editing:(-|_| )?Konzepte(-|_| )?und(-|_| )?Entwicklungen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322576&semester=2023W"
  # ======================================================================= #
  # === rf "300394 Introduction to molecular techniques"
  # ======================================================================= #
  when /^300394(-|_| )?Introduction(-|_| )?to(-|_| )?molecular(-|_| )?techniques$/i,
       /^Introduction(-|_| )?to(-|_| )?molecular(-|_| )?techniques$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300394&semester=2023W"
  # ======================================================================= #
  # === rf "270137 Wahlbeispiele Peptid- und Proteinchemie"
  # ======================================================================= #
  when /^270137(-|_| )?Wahlbeispiele(-|_| )?Peptid(-|_)?(-|_| )?und(-|_| )?Proteinchemie$/i,
       /^Wahlbeispiele(-|_| )?Peptid(-|_)?(-|_| )?und(-|_| )?Proteinchemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270137&semester=2023W"
  # ======================================================================= #
  # === rf "300210 Evolution und Entwicklung"
  # ======================================================================= #
  when /^300210(-|_| )?Evolution(-|_| )?und(-|_| )?Entwicklung$/i,
       /^Evolution(-|_| )?und(-|_| )?Entwicklung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300210&semester=2024S"
  # ======================================================================= #
  # === rf "301463 Biophysikalische Chemie der Makromoleküle"
  # ======================================================================= #
  when /^301463(-|_| )?Biophysikalische(-|_| )?Chemie(-|_| )?der(-|_| )?Makromoleküle$/i,
       /^Biophysikalische(-|_| )?Chemie(-|_| )?der(-|_| )?Makromoleküle$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301463&semester=2023S"
  # ======================================================================= #
  # === rf "301186 Structural Bioinformatics II"
  # ======================================================================= #
  when /^301186(-|_| )?Structural(-|_| )?Bioinformatics(-|_| )?II$/i,
       /^Structural(-|_| )?Bioinformatics(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301186&semester=2024S"
  # ======================================================================= #
  # === rf "301120 Zellbiologie und molekulare Pathologie"
  # ======================================================================= #
  when /^301120(-|_| )?Zellbiologie(-|_| )?und(-|_| )?molekulare(-|_| )?Pathologie$/i,
       /^Zellbiologie(-|_| )?und(-|_| )?molekulare(-|_| )?Pathologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301120&semester=2024S"
  # ======================================================================= #
  # === rf "301052 UE in Fluoreszenz und Konfokalmikroskopie inkl.Übungen zur Bild-bearbeitung/analyse"
  # ======================================================================= #
  when /^301052(-|_| )?UE(-|_| )?in(-|_| )?Fluoreszenz(-|_| )?und(-|_| )?Konfokalmikroskopie(-|_| )?inkl\.?Übungen(-|_| )?zur(-|_| )?Bild(-|_)?bearbeitung\/?analyse$/i,
       /^UE(-|_| )?in(-|_| )?Fluoreszenz(-|_| )?und(-|_| )?Konfokalmikroskopie(-|_| )?inkl\.?Übungen(-|_| )?zur(-|_| )?Bild(-|_)?bearbeitung\/?analyse$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301052&semester=2023S"
  # ======================================================================= #
  # === rf "270054 Bioinformatik der Nukleinsäuren"
  # ======================================================================= #
  when /^270054(-|_| )?Bioinformatik(-|_| )?der(-|_| )?Nukleinsäuren$/i,
       /^Bioinformatik(-|_| )?der(-|_| )?Nukleinsäuren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270054&semester=2023S"
  # ======================================================================= #
  # === rf "270199 Bioinformatik II"
  # ======================================================================= #
  when /^270199(-|_| )?Bioinformatik(-|_| )?II$/i,
       /^Bioinformatik(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270199&semester=2023S"
  # ======================================================================= #
  # === rf "301903 Science oder Science Fiction: Wie man Forschung nachhaltiger macht"
  # ======================================================================= #
  when /^301903(-|_| )?Science(-|_| )?oder(-|_| )?Science(-|_| )?Fiction:(-|_| )?Wie(-|_| )?man(-|_| )?Forschung(-|_| )?nachhaltiger(-|_| )?macht$/i,
       /^Science(-|_| )?oder(-|_| )?Science(-|_| )?Fiction:(-|_| )?Wie(-|_| )?man(-|_| )?Forschung(-|_| )?nachhaltiger(-|_| )?macht$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301903&semester=2023W"
  # ======================================================================= #
  # === rf "301283 Essential Scientific Writing: Writing up your thesis"
  # ======================================================================= #
  when /^301283(-|_| )?Essential(-|_| )?Scientific(-|_| )?Writing:(-|_| )?Writing(-|_| )?up(-|_| )?your(-|_| )?thesis$/i,
       /^Essential(-|_| )?Scientific(-|_| )?Writing:(-|_| )?Writing(-|_| )?up(-|_| )?your(-|_| )?thesis$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301283&semester=2023S"
  # ======================================================================= #
  # === rf "301033 Wissenschaftskommunikation im Labor"
  # ======================================================================= #
  when /^301033(-|_| )?Wissenschaftskommunikation(-|_| )?im(-|_| )?Labor$/i,
       /^Wissenschaftskommunikation(-|_| )?im(-|_| )?Labor$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301033&semester=2023S"
  # ======================================================================= #
  # === rf "301854 UE B Strukturbiologie"
  # ======================================================================= #
  when /^301854(-|_| )?UE(-|_| )?B(-|_| )?Strukturbiologie$/i,
       /^UE(-|_| )?B(-|_| )?Strukturbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301854&semester=2023W"
  # ======================================================================= #
  # === rf "301871 Scientific Practice in Molecular Biology II"
  # ======================================================================= #
  when /^301871(-|_| )?Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Molecular(-|_| )?Biology(-|_| )?II$/i,
       /^Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Molecular(-|_| )?Biology(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301871&semester=2023W"
  # ======================================================================= #
  # === rf "301870 Scientific Practice in Molecular Biology I"
  # ======================================================================= #
  when /^301870(-|_| )?Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Molecular(-|_| )?Biology(-|_| )?I$/i,
       /^Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Molecular(-|_| )?Biology(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301870&semester=2023W"
  # ======================================================================= #
  # === rf "301705 Projekt und Versuchsplanung Biochemie"
  # ======================================================================= #
  when /^301705(-|_| )?Projekt(-|_| )?und(-|_| )?Versuchsplanung(-|_| )?Biochemie$/i,
       /^Projekt(-|_| )?und(-|_| )?Versuchsplanung(-|_| )?Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301705&semester=2023S"
  # ======================================================================= #
  # === rf "301407 Molekulare Pathologie"
  # ======================================================================= #
  when /^301407(-|_| )?Molekulare(-|_| )?Pathologie$/i,
       /^Molekulare(-|_| )?Pathologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301407&semester=2023S"
  # ======================================================================= #
  # === rf "301872 Advanced Scientific Practice "Molecular Machines: From Structure to Function""
  # ======================================================================= #
  when /^301872(-|_| )?Advanced(-|_| )?Scientific(-|_| )?Practice(-|_| )?"?Molecular(-|_| )?Machines:(-|_| )?From(-|_| )?Structure(-|_| )?to(-|_| )?Function"?$/i,
       /^Advanced(-|_| )?Scientific(-|_| )?Practice(-|_| )?"?Molecular(-|_| )?Machines:(-|_| )?From(-|_| )?Structure(-|_| )?to(-|_| )?Function"?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301872&semester=2023W"
  # ======================================================================= #
  # === rf "270297 Receptor-Ligand Interactions"
  # ======================================================================= #
  when /^270297(-|_| )?Receptor(-|_)?Ligand(-|_| )?Interactions$/i,
       /^Receptor(-|_)?Ligand(-|_| )?Interactions$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270297&semester=2021W"
  # ======================================================================= #
  # === rf "301461 Biomolekulare NMR-Spektroskopie"
  # ======================================================================= #
  when /^301461(-|_| )?Biomolekulare(-|_| )?NMR(-|_)?Spektroskopie$/i,
       /^Biomolekulare(-|_| )?NMR(-|_)?Spektroskopie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301461&semester=2023S"
  # ======================================================================= #
  # === rf "321014 Anatomie und Physiologie - B8"
  # ======================================================================= #
  when /^321014(-|_| )?Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?(-|_)?(-|_| )?B8$/i,
       /^Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?(-|_)?(-|_| )?B8$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321014&semester=2024S"
  # ======================================================================= #
  # === rf "260122 Nanotechnologie: Konzepte, Methoden, Materialien"
  # ======================================================================= #
  when /^260122(-|_| )?Nanotechnologie:(-|_| )?Konzepte,?(-|_| )?Methoden,?(-|_| )?Materialien$/i,
       /^Nanotechnologie:(-|_| )?Konzepte,?(-|_| )?Methoden,?(-|_| )?Materialien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=260122&semester=2022W"
  # ======================================================================= #
  # === rf "301271 Mikroskopie für Fortgeschrittene-Anwendung i.d.Lebenswissenschaften"
  # ======================================================================= #
  when /^301271(-|_| )?Mikroskopie(-|_| )?für(-|_| )?Fortgeschrittene(-|_)?Anwendung(-|_| )?i\.?d\.?Lebenswissenschaften$/i,
       /^Mikroskopie(-|_| )?für(-|_| )?Fortgeschrittene(-|_)?Anwendung(-|_| )?i\.?d\.?Lebenswissenschaften$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301271&semester=2021W"
  # ======================================================================= #
  # === rf "301859 Wahlbeispiel Molekulare Medizin - Teil 2"
  # ======================================================================= #
  when /^301859(-|_| )?Wahlbeispiel(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?2$/i,
       /^Wahlbeispiel(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301859&semester=2023S"
  # ======================================================================= #
  # === rf "301558 Developmental and Stem Cell Biology"
  # ======================================================================= #
  when /^301558(-|_| )?Developmental(-|_| )?and(-|_| )?Stem(-|_| )?Cell(-|_| )?Biology$/i,
       /^Developmental(-|_| )?and(-|_| )?Stem(-|_| )?Cell(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301558&semester=2023W"
  # ======================================================================= #
  # === rf "301632 Übungen zu Grundlagen in der Bioinformatik"
  # ======================================================================= #
  when /^301632(-|_| )?Übungen(-|_| )?zu(-|_| )?Grundlagen(-|_| )?in(-|_| )?der(-|_| )?Bioinformatik$/i,
       /^Übungen(-|_| )?zu(-|_| )?Grundlagen(-|_| )?in(-|_| )?der(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301632&semester=2023W"
  # ======================================================================= #
  # === rf "322052 Basics of NMR Spectroscopy - M14"
  # ======================================================================= #
  when /^322052(-|_| )?Basics(-|_| )?of(-|_| )?NMR(-|_| )?Spectroscopy(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Basics(-|_| )?of(-|_| )?NMR(-|_| )?Spectroscopy(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322052&semester=2023W"
  # ======================================================================= #
  # === rf "301093 Modern Concepts in Structural Biology IV"
  # ======================================================================= #
  when /^301093(-|_| )?Modern(-|_| )?Concepts(-|_| )?in(-|_| )?Structural(-|_| )?Biology(-|_| )?IV$/i,
       /^Modern(-|_| )?Concepts(-|_| )?in(-|_| )?Structural(-|_| )?Biology(-|_| )?IV$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301093&semester=2023S"
  # ======================================================================= #
  # === rf "321026 Pharmazeutisches Imaging - B13"
  # ======================================================================= #
  when /^321026(-|_| )?Pharmazeutisches(-|_| )?Imaging(-|_| )?(-|_)?(-|_| )?B13$/i,
       /^Pharmazeutisches(-|_| )?Imaging(-|_| )?(-|_)?(-|_| )?B13$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321026&semester=2024S"
  # ======================================================================= #
  # === rf "322577 Design of Experiments und wissenschaftliches Arbeiten - M7/M14"
  # ======================================================================= #
  when /^322577(-|_| )?Design(-|_| )?of(-|_| )?Experiments(-|_| )?und(-|_| )?wissenschaftliches(-|_| )?Arbeiten(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Design(-|_| )?of(-|_| )?Experiments(-|_| )?und(-|_| )?wissenschaftliches(-|_| )?Arbeiten(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322577&semester=2023S"
  # ======================================================================= #
  # === rf "322018 Chemische Diagnostik - M11"
  # ======================================================================= #
  when /^322018(-|_| )?Chemische(-|_| )?Diagnostik(-|_| )?(-|_)?(-|_| )?M11$/i,
       /^Chemische(-|_| )?Diagnostik(-|_| )?(-|_)?(-|_| )?M11$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322018&semester=2023W"
  # ======================================================================= #
  # === rf "322011 Personalisierte Pharmakotherapie - M9"
  # ======================================================================= #
  when /^322011(-|_| )?Personalisierte(-|_| )?Pharmakotherapie(-|_| )?(-|_)?(-|_| )?M9$/i,
       /^Personalisierte(-|_| )?Pharmakotherapie(-|_| )?(-|_)?(-|_| )?M9$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322011&semester=2023W"
  # ======================================================================= #
  # === rf "322087 3R (Replacement-Reduction-Refinement)-Konzepte für den optimierten Einsatz von Tierversuchen - M14"
  # ======================================================================= #
  when /^322087(-|_| )?3R(-|_| )?\(?Replacement(-|_)?Reduction(-|_)?Refinement\)?(-|_)?Konzepte(-|_| )?für(-|_| )?den(-|_| )?optimierten(-|_| )?Einsatz(-|_| )?von(-|_| )?Tierversuchen(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^3R(-|_| )?\(?Replacement(-|_)?Reduction(-|_)?Refinement\)?(-|_)?Konzepte(-|_| )?für(-|_| )?den(-|_| )?optimierten(-|_| )?Einsatz(-|_| )?von(-|_| )?Tierversuchen(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322087&semester=2023S"
  # ======================================================================= #
  # === rf "323101 Pharmacoinformatics - MPS5"
  # ======================================================================= #
  when /^323101(-|_| )?Pharmacoinformatics(-|_| )?(-|_)?(-|_| )?MPS5$/i,
       /^Pharmacoinformatics(-|_| )?(-|_)?(-|_| )?MPS5$/i
    "https://ufind.univie.ac.at/de/course.html?lv=323101&semester=2023S"
  # ======================================================================= #
  # === rf "270161 Physikalische Chemie I"
  # ======================================================================= #
  when /^270161(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?I$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270161&semester=2018S"
  # ======================================================================= #
  # === rf "270051 Physikalische Chemie I"
  # ======================================================================= #
  when /^270051(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?I$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270051&semester=2023S"
  # ======================================================================= #
  # === rf "270062 Chemisches Grundpraktikum II B"
  # ======================================================================= #
  when /^270062(-|_| )?Chemisches(-|_| )?Grundpraktikum(-|_| )?II(-|_| )?B$/i,
       /^Chemisches(-|_| )?Grundpraktikum(-|_| )?II(-|_| )?B$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270062&semester=2023S"
  # ======================================================================= #
  # === rf "053520 Algorithmische Bioinformatik"
  # ======================================================================= #
  when /^053520(-|_| )?Algorithmische(-|_| )?Bioinformatik$/i,
       /^Algorithmische(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=053520&semester=2023S"
  # ======================================================================= #
  # === rf "300259 Einführung in die Bryologie"
  # ======================================================================= #
  when /^300259(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Bryologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Bryologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300259&semester=2023S"
  # ======================================================================= #
  # === rf "321007 Statistik für PharmazeutInnen - BA7 - B3"
  # ======================================================================= #
  when /^321007(-|_| )?Statistik(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?BA7(-|_| )?(-|_)?(-|_| )?B3$/i,
       /^Statistik(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?BA7(-|_| )?(-|_)?(-|_| )?B3$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321007&semester=2023W"
  # ======================================================================= #
  # === rf "270212 Biomolekulare Nanotechnologie"
  # ======================================================================= #
  when /^270212(-|_| )?Biomolekulare(-|_| )?Nanotechnologie$/i,
       /^Biomolekulare(-|_| )?Nanotechnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270212&semester=2023W"
  # ======================================================================= #
  # === rf "301586 Molekulare Medizin 2"
  # ======================================================================= #
  when /^301586(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?2$/i,
       /^Molekulare(-|_| )?Medizin(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301586&semester=2023W"
  # ======================================================================= #
  # === rf "300197 Ecology of Marine Polar Systems"
  # ======================================================================= #
  when /^300197(-|_| )?Ecology(-|_| )?of(-|_| )?Marine(-|_| )?Polar(-|_| )?Systems$/i,
       /^Ecology(-|_| )?of(-|_| )?Marine(-|_| )?Polar(-|_| )?Systems$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300197&semester=2021W"
  # ======================================================================= #
  # === rf "270036 Physik für ChemikerInnen"
  # ======================================================================= #
  when /^270036(-|_| )?Physik(-|_| )?für(-|_| )?ChemikerInnen$/i,
       /^Physik(-|_| )?für(-|_| )?ChemikerInnen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270036&semester=2022W"
  # ======================================================================= #
  # === rf "270221 Lebensmittelmikrobiologie und Hygiene"
  # ======================================================================= #
  when /^270221(-|_| )?Lebensmittelmikrobiologie(-|_| )?und(-|_| )?Hygiene$/i,
       /^Lebensmittelmikrobiologie(-|_| )?und(-|_| )?Hygiene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270221&semester=2022W"
  # ======================================================================= #
  # === rf "270027 Biomolekulare Nanotechnologie"
  # ======================================================================= #
  when /^270027(-|_| )?Biomolekulare(-|_| )?Nanotechnologie$/i,
       /^Biomolekulare(-|_| )?Nanotechnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270027&semester=2020W"
  # ======================================================================= #
  # === rf "270150 Organisch-chemisches Proseminar"
  # ======================================================================= #
  when /^270150(-|_| )?Organisch(-|_)?chemisches(-|_| )?Proseminar$/i,
       /^Organisch(-|_)?chemisches(-|_| )?Proseminar$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270150&semester=2023W"
  # ======================================================================= #
  # === rf "270017 STEOP: Chemisches Grundpraktikum I - einführende Laborübungen"
  # ======================================================================= #
  when /^270017(-|_| )?STEOP:(-|_| )?Chemisches(-|_| )?Grundpraktikum(-|_| )?I(-|_| )?(-|_)?(-|_| )?einführende(-|_| )?Laborübungen$/i,
       /^STEOP:(-|_| )?Chemisches(-|_| )?Grundpraktikum(-|_| )?I(-|_| )?(-|_)?(-|_| )?einführende(-|_| )?Laborübungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270017&semester=2023S"
  # ======================================================================= #
  # === rf "300163 Form und Funktion von Organismen"
  # ======================================================================= #
  when /^300163(-|_| )?Form(-|_| )?und(-|_| )?Funktion(-|_| )?von(-|_| )?Organismen$/i,
       /^Form(-|_| )?und(-|_| )?Funktion(-|_| )?von(-|_| )?Organismen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300163&semester=2022W"
  # ======================================================================= #
  # === rf "300277 Funktionelle Ökologie Fleischfressender Pflanzen"
  # ======================================================================= #
  when /^300277(-|_| )?Funktionelle(-|_| )?Ökologie(-|_| )?Fleischfressender(-|_| )?Pflanzen$/i,
       /^Funktionelle(-|_| )?Ökologie(-|_| )?Fleischfressender(-|_| )?Pflanzen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300277&semester=2020W"
  # ======================================================================= #
  # === rf "300048 Ökologie der Großlebensräume der Erde"
  # ======================================================================= #
  when /^300048(-|_| )?Ökologie(-|_| )?der(-|_| )?Großlebensräume(-|_| )?der(-|_| )?Erde$/i,
       /^Ökologie(-|_| )?der(-|_| )?Großlebensräume(-|_| )?der(-|_| )?Erde$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300048&semester=2023W"
  # ======================================================================= #
  # === rf "300289 Einführung in die forensische Anthropologie"
  # ======================================================================= #
  when /^300289(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?forensische(-|_| )?Anthropologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?forensische(-|_| )?Anthropologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300289&semester=2023W"
  # ======================================================================= #
  # === rf "269004 Computational Concepts in Biology I"
  # ======================================================================= #
  when /^269004(-|_| )?Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Biology(-|_| )?I$/i,
       /^Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Biology(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=269004&semester=2021W"
  # ======================================================================= #
  # === rf "270053 Metalloproteine, Struktur, Funktion, Spektroskopie"
  # ======================================================================= #
  when /^270053(-|_| )?Metalloproteine,?(-|_| )?Struktur,?(-|_| )?Funktion,?(-|_| )?Spektroskopie$/i,
       /^Metalloproteine,?(-|_| )?Struktur,?(-|_| )?Funktion,?(-|_| )?Spektroskopie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270053&semester=2021W"
  # ======================================================================= #
  # === rf "270073 Computergrafik und Molekulare Modellierung"
  # ======================================================================= #
  when /^270073(-|_| )?Computergrafik(-|_| )?und(-|_| )?Molekulare(-|_| )?Modellierung$/i,
       /^Computergrafik(-|_| )?und(-|_| )?Molekulare(-|_| )?Modellierung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270073&semester=2020W"
  # ======================================================================= #
  # === rf "270129 Praktikum zu Computergrafik und Molekulare Modellierung"
  # ======================================================================= #
  when /^270129(-|_| )?Praktikum(-|_| )?zu(-|_| )?Computergrafik(-|_| )?und(-|_| )?Molekulare(-|_| )?Modellierung$/i,
       /^Praktikum(-|_| )?zu(-|_| )?Computergrafik(-|_| )?und(-|_| )?Molekulare(-|_| )?Modellierung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270129&semester=2023W"
  # ======================================================================= #
  # === rf "270238 Biomarker"
  # ======================================================================= #
  when /^270238(-|_| )?Biomarker$/i,
       /^Biomarker$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270238&semester=2023W"
  # ======================================================================= #
  # === rf "040106 Entscheidungs- und Spieltheorie (BA)"
  # ======================================================================= #
  when /^040106(-|_| )?Entscheidungs(-|_)?(-|_| )?und(-|_| )?Spieltheorie(-|_| )?\(?BA\)?$/i,
       /^Entscheidungs(-|_)?(-|_| )?und(-|_| )?Spieltheorie(-|_| )?\(?BA\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040106&semester=2022S"
  # ======================================================================= #
  # === rf "270146 Theoretisch-chemische Übungen"
  # ======================================================================= #
  when /^270146(-|_| )?Theoretisch(-|_)?chemische(-|_| )?Übungen$/i,
       /^Theoretisch(-|_)?chemische(-|_| )?Übungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270146&semester=2023W"
  # ======================================================================= #
  # === rf "270032 Lebensmitteltechnologische Grundverfahren"
  # ======================================================================= #
  when /^270032(-|_| )?Lebensmitteltechnologische(-|_| )?Grundverfahren$/i,
       /^Lebensmitteltechnologische(-|_| )?Grundverfahren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270032&semester=2022W"
  # ======================================================================= #
  # === rf "300121 Einführung in die Epigenetik"
  # ======================================================================= #
  when /^300121(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Epigenetik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Epigenetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300121&semester=2023S"
  # ======================================================================= #
  # === rf "321036 Drogenanalyse - B19"
  # ======================================================================= #
  when /^321036(-|_| )?Drogenanalyse(-|_| )?(-|_)?(-|_| )?B19$/i,
       /^Drogenanalyse(-|_| )?(-|_)?(-|_| )?B19$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321036&semester=2022S"
  # ======================================================================= #
  # === rf "300019 Die Zelle im Elektronenmikroskop"
  # ======================================================================= #
  when /^300019(-|_| )?Die(-|_| )?Zelle(-|_| )?im(-|_| )?Elektronenmikroskop$/i,
       /^Die(-|_| )?Zelle(-|_| )?im(-|_| )?Elektronenmikroskop$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300019&semester=2024S"
  # ======================================================================= #
  # === rf "270114 Analysemethoden für Proteomics und Lipidomics"
  # ======================================================================= #
  when /^270114(-|_| )?Analysemethoden(-|_| )?für(-|_| )?Proteomics(-|_| )?und(-|_| )?Lipidomics$/i,
       /^Analysemethoden(-|_| )?für(-|_| )?Proteomics(-|_| )?und(-|_| )?Lipidomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270114&semester=2021W"
  # ======================================================================= #
  # === rf "270316 From Synthesis to the Science and Strategy of Medicinal Chemistry"
  # ======================================================================= #
  when /^270316(-|_| )?From(-|_| )?Synthesis(-|_| )?to(-|_| )?the(-|_| )?Science(-|_| )?and(-|_| )?Strategy(-|_| )?of(-|_| )?Medicinal(-|_| )?Chemistry$/i,
       /^From(-|_| )?Synthesis(-|_| )?to(-|_| )?the(-|_| )?Science(-|_| )?and(-|_| )?Strategy(-|_| )?of(-|_| )?Medicinal(-|_| )?Chemistry$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270316&semester=2022W"
  # ======================================================================= #
  # === rf "270280 Heterocyclische Chemie und Wirkstoffsynthese"
  # ======================================================================= #
  when /^270280(-|_| )?Heterocyclische(-|_| )?Chemie(-|_| )?und(-|_| )?Wirkstoffsynthese$/i,
       /^Heterocyclische(-|_| )?Chemie(-|_| )?und(-|_| )?Wirkstoffsynthese$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270280&semester=2023W"
  # ======================================================================= #
  # === rf "270159 Struktur und Dynamik von Biopolymeren"
  # ======================================================================= #
  when /^270159(-|_| )?Struktur(-|_| )?und(-|_| )?Dynamik(-|_| )?von(-|_| )?Biopolymeren$/i,
       /^Struktur(-|_| )?und(-|_| )?Dynamik(-|_| )?von(-|_| )?Biopolymeren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270159&semester=2023W"
  # ======================================================================= #
  # === rf "270087 Struktur und Dynamik von Biopolymeren"
  # ======================================================================= #
  when /^270087(-|_| )?Struktur(-|_| )?und(-|_| )?Dynamik(-|_| )?von(-|_| )?Biopolymeren$/i,
       /^Struktur(-|_| )?und(-|_| )?Dynamik(-|_| )?von(-|_| )?Biopolymeren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270087&semester=2019W"
  # ======================================================================= #
  # === rf "321030 Pharmazeutische Technologie und Biopharmazie - B16"
  # ======================================================================= #
  when /^321030(-|_| )?Pharmazeutische(-|_| )?Technologie(-|_| )?und(-|_| )?Biopharmazie(-|_| )?(-|_)?(-|_| )?B16$/i,
       /^Pharmazeutische(-|_| )?Technologie(-|_| )?und(-|_| )?Biopharmazie(-|_| )?(-|_)?(-|_| )?B16$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321030&semester=2022W"
  # ======================================================================= #
  # === rf "052312 Computational Optimisation"
  # ======================================================================= #
  when /^052312(-|_| )?Computational(-|_| )?Optimisation$/i,
       /^Computational(-|_| )?Optimisation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052312&semester=2022W"
  # ======================================================================= #
  # === rf "052113 Software Tools and Libraries for Scientific Computing"
  # ======================================================================= #
  when /^052113(-|_| )?Software(-|_| )?Tools(-|_| )?and(-|_| )?Libraries(-|_| )?for(-|_| )?Scientific(-|_| )?Computing$/i,
       /^Software(-|_| )?Tools(-|_| )?and(-|_| )?Libraries(-|_| )?for(-|_| )?Scientific(-|_| )?Computing$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052113&semester=2024S"
  # ======================================================================= #
  # === rf "300697 Geschichte der Anthropologie"
  # ======================================================================= #
  when /^300697(-|_| )?Geschichte(-|_| )?der(-|_| )?Anthropologie$/i,
       /^Geschichte(-|_| )?der(-|_| )?Anthropologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300697&semester=2018W"
  # ======================================================================= #
  # === rf "300365 Übungen zur funktionellen Ökologie"
  # ======================================================================= #
  when /^300365(-|_| )?Übungen(-|_| )?zur(-|_| )?funktionellen(-|_| )?Ökologie$/i,
       /^Übungen(-|_| )?zur(-|_| )?funktionellen(-|_| )?Ökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300365&semester=2022S"
  # ======================================================================= #
  # === rf "321028 Pharmazeutische Chemie 1 - B15"
  # ======================================================================= #
  when /^321028(-|_| )?Pharmazeutische(-|_| )?Chemie(-|_| )?1(-|_| )?(-|_)?(-|_| )?B15$/i,
       /^Pharmazeutische(-|_| )?Chemie(-|_| )?1(-|_| )?(-|_)?(-|_| )?B15$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321028&semester=2022W"
  # ======================================================================= #
  # === rf "321016 Instrumentelle Arzneistoffanalytik - B9"
  # ======================================================================= #
  when /^321016(-|_| )?Instrumentelle(-|_| )?Arzneistoffanalytik(-|_| )?(-|_)?(-|_| )?B9$/i,
       /^Instrumentelle(-|_| )?Arzneistoffanalytik(-|_| )?(-|_)?(-|_| )?B9$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321016&semester=2022W"
  # ======================================================================= #
  # === rf "301847 Vertiefungsübung in Genetik und Entwicklungsbiologie"
  # ======================================================================= #
  when /^301847(-|_| )?Vertiefungsübung(-|_| )?in(-|_| )?Genetik(-|_| )?und(-|_| )?Entwicklungsbiologie$/i,
       /^Vertiefungsübung(-|_| )?in(-|_| )?Genetik(-|_| )?und(-|_| )?Entwicklungsbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301847&semester=2023S"
  # ======================================================================= #
  # === rf "270026 STEOP: Chemisches Grundpraktikum I - Proseminar"
  # ======================================================================= #
  when /^270026(-|_| )?STEOP:(-|_| )?Chemisches(-|_| )?Grundpraktikum(-|_| )?I(-|_| )?(-|_)?(-|_| )?Proseminar$/i,
       /^STEOP:(-|_| )?Chemisches(-|_| )?Grundpraktikum(-|_| )?I(-|_| )?(-|_)?(-|_| )?Proseminar$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270026&semester=2023S"
  # ======================================================================= #
  # === rf "270049 Methodik der NMR"
  # ======================================================================= #
  when /^270049(-|_| )?Methodik(-|_| )?der(-|_| )?NMR$/i,
       /^Methodik(-|_| )?der(-|_| )?NMR$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270049&semester=2021W"
  # ======================================================================= #
  # === rf "322064 Einführung in die pflanzliche Zell- und Gewebekultur - M14"
  # ======================================================================= #
  when /^322064(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?pflanzliche(-|_| )?Zell(-|_)?(-|_| )?und(-|_| )?Gewebekultur(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?pflanzliche(-|_| )?Zell(-|_)?(-|_| )?und(-|_| )?Gewebekultur(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322064&semester=2023W"
  # ======================================================================= #
  # === rf "322083 Zelluläre und molekulare Pharmakologie und molekulare Medizin - M14"
  # ======================================================================= #
  when /^322083(-|_| )?Zelluläre(-|_| )?und(-|_| )?molekulare(-|_| )?Pharmakologie(-|_| )?und(-|_| )?molekulare(-|_| )?Medizin(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Zelluläre(-|_| )?und(-|_| )?molekulare(-|_| )?Pharmakologie(-|_| )?und(-|_| )?molekulare(-|_| )?Medizin(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322083&semester=2021S"
  # ======================================================================= #
  # === rf "301557 Principles in Genetics and Developmental Biology"
  # ======================================================================= #
  when /^301557(-|_| )?Principles(-|_| )?in(-|_| )?Genetics(-|_| )?and(-|_| )?Developmental(-|_| )?Biology$/i,
       /^Principles(-|_| )?in(-|_| )?Genetics(-|_| )?and(-|_| )?Developmental(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301557&semester=2021W"
  # ======================================================================= #
  # === rf "300326 Aquatic Viral Ecology"
  # ======================================================================= #
  when /^300326(-|_| )?Aquatic(-|_| )?Viral(-|_| )?Ecology$/i,
       /^Aquatic(-|_| )?Viral(-|_| )?Ecology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300326&semester=2021W"
  # ======================================================================= #
  # === rf "300182 Beyond networks: the evolution of dynamic regulatory systems"
  # ======================================================================= #
  when /^300182(-|_| )?Beyond(-|_| )?networks:(-|_| )?the(-|_| )?evolution(-|_| )?of(-|_| )?dynamic(-|_| )?regulatory(-|_| )?systems$/i,
       /^Beyond(-|_| )?networks:(-|_| )?the(-|_| )?evolution(-|_| )?of(-|_| )?dynamic(-|_| )?regulatory(-|_| )?systems$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300099&semester=2020S"
  # ======================================================================= #
  # === rf "270029 Chemisches Grundpraktikum I - präparative Laborübungen"
  # ======================================================================= #
  when /^270029(-|_| )?Chemisches(-|_| )?Grundpraktikum(-|_| )?I(-|_| )?(-|_)?(-|_| )?präparative(-|_| )?Laborübungen$/i,
       /^Chemisches(-|_| )?Grundpraktikum(-|_| )?I(-|_| )?(-|_)?(-|_| )?präparative(-|_| )?Laborübungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270029&semester=2022S"
  # ======================================================================= #
  # === rf "321031 Biochemische und vertiefende pharmazeutisch-chemische Arbeitstechniken - B17"
  # ======================================================================= #
  when /^321031(-|_| )?Biochemische(-|_| )?und(-|_| )?vertiefende(-|_| )?pharmazeutisch(-|_)?chemische(-|_| )?Arbeitstechniken(-|_| )?(-|_)?(-|_| )?B17$/i,
       /^Biochemische(-|_| )?und(-|_| )?vertiefende(-|_| )?pharmazeutisch(-|_)?chemische(-|_| )?Arbeitstechniken(-|_| )?(-|_)?(-|_| )?B17$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321031&semester=2024S"
  # ======================================================================= #
  # === rf "330046 Genetik und Molekularbiologie"
  # ======================================================================= #
  when /^330046(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i,
       /^Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330046&semester=2024S"
  # ======================================================================= #
  # === rf "050166 Biochemie"
  # ======================================================================= #
  when /^050166(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=050166&semester=2013S"
  # ======================================================================= #
  # === rf "330012 Immunologische und genetische Aspekte der Ernährungsprävention und -therapie"
  # ======================================================================= #
  when /^330012(-|_| )?Immunologische(-|_| )?und(-|_| )?genetische(-|_| )?Aspekte(-|_| )?der(-|_| )?Ernährungsprävention(-|_| )?und(-|_| )?(-|_)?therapie$/i,
       /^Immunologische(-|_| )?und(-|_| )?genetische(-|_| )?Aspekte(-|_| )?der(-|_| )?Ernährungsprävention(-|_| )?und(-|_| )?(-|_)?therapie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330012&semester=2023W"
  # ======================================================================= #
  # === rf "270194 Molekulare Zellbiologie"
  # ======================================================================= #
  when /^270194(-|_| )?Molekulare(-|_| )?Zellbiologie$/i,
       /^Molekulare(-|_| )?Zellbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270194&semester=2019W"
  # ======================================================================= #
  # === rf "301121 Seminar in Zellbiologie"
  # ======================================================================= #
  when /^301121(-|_| )?Seminar(-|_| )?in(-|_| )?Zellbiologie$/i,
       /^Seminar(-|_| )?in(-|_| )?Zellbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301121&semester=2022W"
  # ======================================================================= #
  # === rf "330088 Physiologie des Menschen"
  # ======================================================================= #
  when /^330088(-|_| )?Physiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Physiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330088&semester=2024S"
  # ======================================================================= #
  # === rf "301047 Prozesse und Methoden in der Life Science Industrie"
  # ======================================================================= #
  when /^301047(-|_| )?Prozesse(-|_| )?und(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Life(-|_| )?Science(-|_| )?Industrie$/i,
       /^Prozesse(-|_| )?und(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Life(-|_| )?Science(-|_| )?Industrie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301047&semester=2019S"
  # ======================================================================= #
  # === rf "260102 Programmieren für PhysikerInnen"
  # ======================================================================= #
  when /^260102(-|_| )?Programmieren(-|_| )?für(-|_| )?PhysikerInnen$/i,
       /^Programmieren(-|_| )?für(-|_| )?PhysikerInnen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=260102&semester=2023W"
  # ======================================================================= #
  # === rf "270035 Massenspektrometrie I"
  # ======================================================================= #
  when /^270035(-|_| )?Massenspektrometrie(-|_| )?I$/i,
       /^Massenspektrometrie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270035&semester=2023W"
  # ======================================================================= #
  # === rf "330022 Kulturgeschichte der Ernährung"
  # ======================================================================= #
  when /^330022(-|_| )?Kulturgeschichte(-|_| )?der(-|_| )?Ernährung$/i,
       /^Kulturgeschichte(-|_| )?der(-|_| )?Ernährung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330022&semester=2022W"
  # ======================================================================= #
  # === rf "330016 Ökologie und Landwirtschaft"
  # ======================================================================= #
  when /^330016(-|_| )?Ökologie(-|_| )?und(-|_| )?Landwirtschaft$/i,
       /^Ökologie(-|_| )?und(-|_| )?Landwirtschaft$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330016&semester=2023W"
  # ======================================================================= #
  # === rf "330064 Mikrobiologie und Hygiene"
  # ======================================================================= #
  when /^330064(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Hygiene$/i,
       /^Mikrobiologie(-|_| )?und(-|_| )?Hygiene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330064&semester=2023W"
  # ======================================================================= #
  # === rf "320107 Allgemeine Mikrobiologie und Hygiene (VO)"
  # ======================================================================= #
  when /^320107(-|_| )?Allgemeine(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Hygiene(-|_| )?\(?VO\)?$/i,
       /^Allgemeine(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Hygiene(-|_| )?\(?VO\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=320107&semester=2014S"
  # ======================================================================= #
  # === rf "300037 Physik für Biologinnen und Biologen und LA-BU"
  # ======================================================================= #
  when /^300037(-|_| )?Physik(-|_| )?für(-|_| )?Biologinnen(-|_| )?und(-|_| )?Biologen(-|_| )?und(-|_| )?LA(-|_)?BU$/i,
       /^Physik(-|_| )?für(-|_| )?Biologinnen(-|_| )?und(-|_| )?Biologen(-|_| )?und(-|_| )?LA(-|_)?BU$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300037&semester=2023W"
  # ======================================================================= #
  # === rf "300079 Bioinformatics meets Proteomics: An Introduction to Computational Proteomics"
  # ======================================================================= #
  when /^300079(-|_| )?Bioinformatics(-|_| )?meets(-|_| )?Proteomics:(-|_| )?An(-|_| )?Introduction(-|_| )?to(-|_| )?Computational(-|_| )?Proteomics$/i,
       /^Bioinformatics(-|_| )?meets(-|_| )?Proteomics:(-|_| )?An(-|_| )?Introduction(-|_| )?to(-|_| )?Computational(-|_| )?Proteomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300079&semester=2018S"
  # ======================================================================= #
  # === rf "300002 STEOP: Einführung in die Biologie II"
  # ======================================================================= #
  when /^300002(-|_| )?STEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie(-|_| )?II$/i,
       /^STEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300002&semester=2023W"
  # ======================================================================= #
  # === rf "270159 The Chemistry of Microbial Interactions"
  # ======================================================================= #
  when /^270159(-|_| )?The(-|_| )?Chemistry(-|_| )?of(-|_| )?Microbial(-|_| )?Interactions$/i,
       /^The(-|_| )?Chemistry(-|_| )?of(-|_| )?Microbial(-|_| )?Interactions$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270159&semester=2022S"
  # ======================================================================= #
  # === rf "300306 Hands-on Immunolabelling for Light and Electron Microscopy"
  # ======================================================================= #
  when /^300306(-|_| )?Hands(-|_)?on(-|_| )?Immunolabelling(-|_| )?for(-|_| )?Light(-|_| )?and(-|_| )?Electron(-|_| )?Microscopy$/i,
       /^Hands(-|_)?on(-|_| )?Immunolabelling(-|_| )?for(-|_| )?Light(-|_| )?and(-|_| )?Electron(-|_| )?Microscopy$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300306&semester=2022W"
  # ======================================================================= #
  # === rf "301038 Cell Biology II"
  # ======================================================================= #
  when /^301038(-|_| )?Cell(-|_| )?Biology(-|_| )?II$/i,
       /^Cell(-|_| )?Biology(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301038&semester=2024S"
  # ======================================================================= #
  # === rf "300125 Symbiosis - concepts and model systems (Part 1)"
  # ======================================================================= #
  when /^300125(-|_| )?Symbiosis(-|_| )?(-|_)?(-|_| )?concepts(-|_| )?and(-|_| )?model(-|_| )?systems(-|_| )?\(?Part(-|_| )?1\)?$/i,
       /^Symbiosis(-|_| )?(-|_)?(-|_| )?concepts(-|_| )?and(-|_| )?model(-|_| )?systems(-|_| )?\(?Part(-|_| )?1\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300125&semester=2023W"
  # ======================================================================= #
  # === rf "300038 The Human Microbiome"
  # ======================================================================= #
  when /^300038(-|_| )?The(-|_| )?Human(-|_| )?Microbiome$/i,
       /^The(-|_| )?Human(-|_| )?Microbiome$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300038&semester=2024S"
  # ======================================================================= #
  # === rf "300102 Research Ethics - A hands-on approach"
  # ======================================================================= #
  when /^300102(-|_| )?Research(-|_| )?Ethics(-|_| )?(-|_)?(-|_| )?A(-|_| )?hands(-|_)?on(-|_| )?approach$/i,
       /^Research(-|_| )?Ethics(-|_| )?(-|_)?(-|_| )?A(-|_| )?hands(-|_)?on(-|_| )?approach$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300102&semester=2022W"
  # ======================================================================= #
  # === rf "301417 Methoden in der Zellbiologie"
  # ======================================================================= #
  when /^301417(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Zellbiologie$/i,
       /^Methoden(-|_| )?in(-|_| )?der(-|_| )?Zellbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301417&semester=2022S"
  # ======================================================================= #
  # === rf "330048 Organische Chemie"
  # ======================================================================= #
  when /^330048(-|_| )?Organische(-|_| )?Chemie$/i,
       /^Organische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330048&semester=2024S"
  # ======================================================================= #
  # === rf "330018 Biochemische Übungen"
  # ======================================================================= #
  when /^330018(-|_| )?Biochemische(-|_| )?Übungen$/i,
       /^Biochemische(-|_| )?Übungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330018&semester=2024S"
  # ======================================================================= #
  # === rf "321027 Hygiene, Mikrobiologie und Infektiologie - B14"
  # ======================================================================= #
  when /^321027(-|_| )?Hygiene,?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Infektiologie(-|_| )?(-|_)?(-|_| )?B14$/i,
       /^Hygiene,?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Infektiologie(-|_| )?(-|_)?(-|_| )?B14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321027&semester=2024S"
  # ======================================================================= #
  # === rf "300222 Scientific methods and applications in human evolution"
  # ======================================================================= #
  when /^300222(-|_| )?Scientific(-|_| )?methods(-|_| )?and(-|_| )?applications(-|_| )?in(-|_| )?human(-|_| )?evolution$/i,
       /^Scientific(-|_| )?methods(-|_| )?and(-|_| )?applications(-|_| )?in(-|_| )?human(-|_| )?evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300222&semester=2024S"
  # ======================================================================= #
  # === rf "300001 StEOP: Einführung in die Biologie I"
  # ======================================================================= #
  when /^300001(-|_| )?StEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie(-|_| )?I$/i,
       /^StEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300001&semester=2024S"
  # ======================================================================= #
  # === rf "300437 Struktur und Funktion der Pflanze"
  # ======================================================================= #
  when /^300437(-|_| )?Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?der(-|_| )?Pflanze$/i,
       /^Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?der(-|_| )?Pflanze$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300437&semester=2006W"
  # ======================================================================= #
  # === rf "301626 Übungen I A - Mikrobiologie und Genetik"
  # ======================================================================= #
  when /^301626(-|_| )?Übungen(-|_| )?I(-|_| )?A(-|_| )?(-|_)?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik$/i,
       /^Übungen(-|_| )?I(-|_| )?A(-|_| )?(-|_)?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301626&semester=2024S"
  # ======================================================================= #
  # === rf "301449 Current and advanced topics in structural biology"
  # ======================================================================= #
  when /^301449(-|_| )?Current(-|_| )?and(-|_| )?advanced(-|_| )?topics(-|_| )?in(-|_| )?structural(-|_| )?biology$/i,
       /^Current(-|_| )?and(-|_| )?advanced(-|_| )?topics(-|_| )?in(-|_| )?structural(-|_| )?biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301449&semester=2020W"
  # ======================================================================= #
  # === rf "301185 Structural Bioinformatics I"
  # ======================================================================= #
  when /^301185(-|_| )?Structural(-|_| )?Bioinformatics(-|_| )?I$/i,
       /^Structural(-|_| )?Bioinformatics(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301185&semester=2023W"
  # ======================================================================= #
  # === rf "301629 Übungen zu Mathematik für Molekulare Biologen"
  # ======================================================================= #
  when /^301629(-|_| )?Übungen(-|_| )?zu(-|_| )?Mathematik(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i,
       /^Übungen(-|_| )?zu(-|_| )?Mathematik(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301629&semester=2023W"
  # ======================================================================= #
  # === rf "270046 Umweltchemie/Umweltanalytik"
  # ======================================================================= #
  when /^270046(-|_| )?Umweltchemie\/?Umweltanalytik$/i,
       /^Umweltchemie\/?Umweltanalytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270046&semester=2022S"
  # ======================================================================= #
  # === rf "290236 Datenbanken"
  # ======================================================================= #
  when /^290236(-|_| )?Datenbanken$/i,
       /^Datenbanken$/i
    "https://ufind.univie.ac.at/de/course.html?lv=290236&semester=2021W"
  # ======================================================================= #
  # === rf "330063 Wissenschaftliches Schreiben- Bachelorarbeit, 10ECTS"
  # ======================================================================= #
  when /^330063(-|_| )?Wissenschaftliches(-|_| )?Schreiben(-|_)?(-|_| )?Bachelorarbeit,?(-|_| )?10ECTS$/i,
       /^Wissenschaftliches(-|_| )?Schreiben(-|_)?(-|_| )?Bachelorarbeit,?(-|_| )?10ECTS$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330063&semester=2020S"
  # ======================================================================= #
  # === rf "300707 Modellsysteme in der Molekularbiologie"
  # ======================================================================= #
  when /^300707(-|_| )?Modellsysteme(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Modellsysteme(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://ufind.univie.ac.at/en/course.html?lv=300707&semester=2009S"
  # ======================================================================= #
  # === rf "809584 Physikalisches Praktikum für Biologen"
  # ======================================================================= #
  when /^809584(-|_| )?Physikalisches(-|_| )?Praktikum(-|_| )?für(-|_| )?Biologen$/i,
       /^Physikalisches(-|_| )?Praktikum(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809584&semester=1999W"
  # ======================================================================= #
  # === rf "877817 Allgemeine und Molekulare Mikrobiologie, Teil I"
  # ======================================================================= #
  when /^877817(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?I$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=877817&semester=2004S"
  # ======================================================================= #
  # === rf "802590 Mathematik für Biologen"
  # ======================================================================= #
  when /^802590(-|_| )?Mathematik(-|_| )?für(-|_| )?Biologen$/i,
       /^Mathematik(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=802590&semester=2003W"
  # ======================================================================= #
  # === rf "809088 Biologische Einführungsübungen Teil II"
  # ======================================================================= #
  when /^809088(-|_| )?Biologische(-|_| )?Einführungsübungen(-|_| )?Teil(-|_| )?II$/i,
       /^Biologische(-|_| )?Einführungsübungen(-|_| )?Teil(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809088&semester=2003S"
  # ======================================================================= #
  # === rf "809882 Entwicklungsbiologie"
  # ======================================================================= #
  when /^809882(-|_| )?Entwicklungsbiologie$/i,
       /^Entwicklungsbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809882&semester=2003W"
  # ======================================================================= #
  # === rf "300127 Sexualbiologie"
  # ======================================================================= #
  when /^300127(-|_| )?Sexualbiologie$/i,
       /^Sexualbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300127&semester=2007S"
  # ======================================================================= #
  # === rf "800291 Virologie"
  # ======================================================================= #
  when /^800291(-|_| )?Virologie$/i,
       /^Virologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=800291&semester=2003S"
  # ======================================================================= #
  # === rf "300129 Gen- und Biotechnologie, Teil I"
  # ======================================================================= #
  when /^300129(-|_| )?Gen(-|_)?(-|_| )?und(-|_| )?Biotechnologie,?(-|_| )?Teil(-|_| )?I$/i,
       /^Gen(-|_)?(-|_| )?und(-|_| )?Biotechnologie,?(-|_| )?Teil(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300129&semester=2007S"
  # ======================================================================= #
  # === rf "882321 Einführung in die Genetik"
  # ======================================================================= #
  when /^882321(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Genetik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Genetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=882321&semester=2001W"
  # ======================================================================= #
  # === rf "813025 Allgemeine und Molekulare Genetik"
  # ======================================================================= #
  when /^813025(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=813025&semester=2005S"
  # ======================================================================= #
  # === rf "300131 Allgemeine und Molekulare Mikrobiologie, Teil II"
  # ======================================================================= #
  when /^300131(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?II$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300131&semester=2010S"
  # ======================================================================= #
  # === rf "801407 Einführung in die molekulare Zellbiologie"
  # ======================================================================= #
  when /^801407(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?molekulare(-|_| )?Zellbiologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?molekulare(-|_| )?Zellbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809535&semester=2003S"
  # ======================================================================= #
  # === rf "809535 Humangenetik"
  # ======================================================================= #
  when /^809535(-|_| )?Humangenetik$/i,
       /^Humangenetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809535&semester=2003S"
  # ======================================================================= #
  # === rf "300216 Introduction to Population Genetics"
  # ======================================================================= #
  when /^300216(-|_| )?Introduction(-|_| )?to(-|_| )?Population(-|_| )?Genetics$/i,
       /^Introduction(-|_| )?to(-|_| )?Population(-|_| )?Genetics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300216&semester=2022W"
  # ======================================================================= #
  # === rf "809007 Allgemeine Biologie I"
  # ======================================================================= #
  when /^809007(-|_| )?Allgemeine(-|_| )?Biologie(-|_| )?I$/i,
       /^Allgemeine(-|_| )?Biologie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809007&semester=2001W"
  # ======================================================================= #
  # === rf "300531 Einführung in die Genetik und Zellbiologie"
  # ======================================================================= #
  when /^300531(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Genetik(-|_| )?und(-|_| )?Zellbiologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Genetik(-|_| )?und(-|_| )?Zellbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300531&semester=2013S"
  # ======================================================================= #
  # === rf "814058 Einführung in die Mikrobiologie"
  # ======================================================================= #
  when /^814058(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Mikrobiologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Mikrobiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=814058&semester=2003W"
  # ======================================================================= #
  # === rf "300332 Practical Course in Modelling and Systems Biology"
  # ======================================================================= #
  when /^300332(-|_| )?Practical(-|_| )?Course(-|_| )?in(-|_| )?Modelling(-|_| )?and(-|_| )?Systems(-|_| )?Biology$/i,
       /^Practical(-|_| )?Course(-|_| )?in(-|_| )?Modelling(-|_| )?and(-|_| )?Systems(-|_| )?Biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300332&semester=2023S"
  # ======================================================================= #
  # === rf "809425 Anwendungen molekularbiologischer Techniken II"
  # ======================================================================= #
  when /^809425(-|_| )?Anwendungen(-|_| )?molekularbiologischer(-|_| )?Techniken(-|_| )?II$/i,
       /^Anwendungen(-|_| )?molekularbiologischer(-|_| )?Techniken(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809425&semester=2002S"
  # ======================================================================= #
  # === rf "270190 Techniken in der Molekularen Biologie"
  # ======================================================================= #
  when /^270190(-|_| )?Techniken(-|_| )?in(-|_| )?der(-|_| )?Molekularen(-|_| )?Biologie$/i,
       /^Techniken(-|_| )?in(-|_| )?der(-|_| )?Molekularen(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270190&semester=2021W"
  # ======================================================================= #
  # === rf "300022 Bioethik und Forschungsethik"
  # ======================================================================= #
  when /^300022(-|_| )?Bioethik(-|_| )?und(-|_| )?Forschungsethik$/i,
       /^Bioethik(-|_| )?und(-|_| )?Forschungsethik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300022&semester=2020W"
  # ======================================================================= #
  # === rf "854623 Biologische Physik II"
  # ======================================================================= #
  when /^854623(-|_| )?Biologische(-|_| )?Physik(-|_| )?II$/i,
       /^Biologische(-|_| )?Physik(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=854623&semester=1998S"
  # ======================================================================= #
  # === rf "321004 Physik für PharmazeutInnen - B3"
  # ======================================================================= #
  when /^321004(-|_| )?Physik(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?B3$/i,
       /^Physik(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?B3$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321004&semester=2023W"
  # ======================================================================= #
  # === rf "321008 Grundlagen chemischen Rechnens - B4"
  # ======================================================================= #
  when /^321008(-|_| )?Grundlagen(-|_| )?chemischen(-|_| )?Rechnens(-|_| )?(-|_)?(-|_| )?B4$/i,
       /^Grundlagen(-|_| )?chemischen(-|_| )?Rechnens(-|_| )?(-|_)?(-|_| )?B4$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321008&semester=2022W"
  # ======================================================================= #
  # === rf "301849 Scientific Practice in Molecular Microbiology, Ecology or Immunobiology"
  # ======================================================================= #
  when /^301849(-|_| )?Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Ecology(-|_| )?or(-|_| )?Immunobiology$/i,
       /^Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Ecology(-|_| )?or(-|_| )?Immunobiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301849&semester=2023W"
  # ======================================================================= #
  # === rf "270009 High performance Computing in Chemistry"
  # ======================================================================= #
  when /^270009(-|_| )?High(-|_| )?performance(-|_| )?Computing(-|_| )?in(-|_| )?Chemistry$/i,
       /^High(-|_| )?performance(-|_| )?Computing(-|_| )?in(-|_| )?Chemistry$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270009&semester=2022S"
  # ======================================================================= #
  # === rf "301858 Wahlbeispiel Molekulare Medizin - Teil 1"
  # ======================================================================= #
  when /^301858(-|_| )?Wahlbeispiel(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?1$/i,
       /^Wahlbeispiel(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301858&semester=2023S"
  # ======================================================================= #
  # === rf "300417 Molecular Biology of Plants"
  # ======================================================================= #
  when /^300417(-|_| )?Molecular(-|_| )?Biology(-|_| )?of(-|_| )?Plants$/i,
       /^Molecular(-|_| )?Biology(-|_| )?of(-|_| )?Plants$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300417&semester=2023W"
  # ======================================================================= #
  # === rf "330024 Struktur und Funktion des Immunsystems"
  # ======================================================================= #
  when /^330024(-|_| )?Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?des(-|_| )?Immunsystems$/i,
       /^Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?des(-|_| )?Immunsystems$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330024&semester=2023W"
  # ======================================================================= #
  # === rf "260223 Chemie für PhysikerInnen - Teil A: Anorganische Chemie"
  # ======================================================================= #
  when /^260223(-|_| )?Chemie(-|_| )?für(-|_| )?PhysikerInnen(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?A:(-|_| )?Anorganische(-|_| )?Chemie$/i,
       /^Chemie(-|_| )?für(-|_| )?PhysikerInnen(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?A:(-|_| )?Anorganische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=260223&semester=2017W"
  # ======================================================================= #
  # === rf "322001 (Bio)pharma. mit Wirkung auf metabol. Störungen & eingeschr. Organ- und Systemfunktionen - M1"
  # ======================================================================= #
  when /^322001(-|_| )?\(?Bio\)?pharma\.?(-|_| )?mit(-|_| )?Wirkung(-|_| )?auf(-|_| )?metabol\.?(-|_| )?Störungen(-|_| )?&(-|_| )?eingeschr\.?(-|_| )?Organ(-|_)?(-|_| )?und(-|_| )?Systemfunktionen(-|_| )?(-|_)?(-|_| )?M1$/i,
       /^\(?Bio\)?pharma\.?(-|_| )?mit(-|_| )?Wirkung(-|_| )?auf(-|_| )?metabol\.?(-|_| )?Störungen(-|_| )?&(-|_| )?eingeschr\.?(-|_| )?Organ(-|_)?(-|_| )?und(-|_| )?Systemfunktionen(-|_| )?(-|_)?(-|_| )?M1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322001&semester=2023W"
  # ======================================================================= #
  # === rf "322005 (Bio)pharmazeutika mit Wirkung auf das Herz-Kreislauf System - M4"
  # ======================================================================= #
  when /^322005(-|_| )?\(?Bio\)?pharmazeutika(-|_| )?mit(-|_| )?Wirkung(-|_| )?auf(-|_| )?das(-|_| )?Herz(-|_)?Kreislauf(-|_| )?System(-|_| )?(-|_)?(-|_| )?M4$/i,
       /^\(?Bio\)?pharmazeutika(-|_| )?mit(-|_| )?Wirkung(-|_| )?auf(-|_| )?das(-|_| )?Herz(-|_)?Kreislauf(-|_| )?System(-|_| )?(-|_)?(-|_| )?M4$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322005&semester=2023S"
  # ======================================================================= #
  # === rf "899581 Biologische Physik I"
  # ======================================================================= #
  when /^899581(-|_| )?Biologische(-|_| )?Physik(-|_| )?I$/i,
       /^Biologische(-|_| )?Physik(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=899581&semester=1997W"
  # ======================================================================= #
  # === rf "330030 Angewandte Genetik und Molekularbiologie"
  # ======================================================================= #
  when /^330030(-|_| )?Angewandte(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i,
       /^Angewandte(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330030&semester=2023W"
  # ======================================================================= #
  # === rf "801587 Evolution"
  # ======================================================================= #
  when /^801587(-|_| )?Evolution$/i,
       /^Evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=801587&semester=2003W"
  # ======================================================================= #
  # === rf "050121 Einführung in die Bioinformatik"
  # ======================================================================= #
  when /^050121(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Bioinformatik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=050121&semester=2015S"
  # ======================================================================= #
  # === rf "300130 Gen- und Biotechnologie, Teil II"
  # ======================================================================= #
  when /^300130(-|_| )?Gen(-|_)?(-|_| )?und(-|_| )?Biotechnologie,?(-|_| )?Teil(-|_| )?II$/i,
       /^Gen(-|_)?(-|_| )?und(-|_| )?Biotechnologie,?(-|_| )?Teil(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300025&semester=2022S"
  # ======================================================================= #
  # === rf "301248 Modern Concepts in Structural Biology II"
  # ======================================================================= #
  when /^301248(-|_| )?Modern(-|_| )?Concepts(-|_| )?in(-|_| )?Structural(-|_| )?Biology(-|_| )?II$/i,
       /^Modern(-|_| )?Concepts(-|_| )?in(-|_| )?Structural(-|_| )?Biology(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301248&semester=2022S"
  # ======================================================================= #
  # === rf "301852 Wahlbeispiel Biochemie"
  # ======================================================================= #
  when /^301852(-|_| )?Wahlbeispiel(-|_| )?Biochemie$/i,
       /^Wahlbeispiel(-|_| )?Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301852&semester=2022S"
  # ======================================================================= #
  # === rf "300140 Extremophilic and marine Microorganisms"
  # ======================================================================= #
  when /^300140(-|_| )?Extremophilic(-|_| )?and(-|_| )?marine(-|_| )?Microorganisms$/i,
       /^Extremophilic(-|_| )?and(-|_| )?marine(-|_| )?Microorganisms$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300140&semester=2022S"
  # ======================================================================= #
  # === rf "300309 Mikrobielle Genomplastizität"
  # ======================================================================= #
  when /^300309(-|_| )?Mikrobielle(-|_| )?Genomplastizität$/i,
       /^Mikrobielle(-|_| )?Genomplastizität$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300309&semester=2023W"
  # ======================================================================= #
  # === rf "270108 Einführung in die Programmierung in C und C++"
  # ======================================================================= #
  when /^270108(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?in(-|_| )?C(-|_| )?und(-|_| )?C++$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?in(-|_| )?C(-|_| )?und(-|_| )?C++$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270108&semester=2022S"
  # ======================================================================= #
  # === rf "270183 Lipidomik: Neuere Methoden der Lipidanalytik"
  # ======================================================================= #
  when /^270183(-|_| )?Lipidomik:(-|_| )?Neuere(-|_| )?Methoden(-|_| )?der(-|_| )?Lipidanalytik$/i,
       /^Lipidomik:(-|_| )?Neuere(-|_| )?Methoden(-|_| )?der(-|_| )?Lipidanalytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270183&semester=2022S"
  # ======================================================================= #
  # === rf "301857 Wahlbeispiel Molekulare Zellbiologie"
  # ======================================================================= #
  when /^301857(-|_| )?Wahlbeispiel(-|_| )?Molekulare(-|_| )?Zellbiologie$/i,
       /^Wahlbeispiel(-|_| )?Molekulare(-|_| )?Zellbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301857&semester=2022S"
  # ======================================================================= #
  # === rf "270075 Paramagnetism in Spectroscopy NMR, EPR and Hyperpolarization"
  # ======================================================================= #
  when /^270075(-|_| )?Paramagnetism(-|_| )?in(-|_| )?Spectroscopy(-|_| )?NMR,?(-|_| )?EPR(-|_| )?and(-|_| )?Hyperpolarization$/i,
       /^Paramagnetism(-|_| )?in(-|_| )?Spectroscopy(-|_| )?NMR,?(-|_| )?EPR(-|_| )?and(-|_| )?Hyperpolarization$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270075&semester=2022S"
  # ======================================================================= #
  # === rf "270075 Introduction to Electron Paramagnetic Resonance Spectroscopy"
  # ======================================================================= #
  when /^270075(-|_| )?Introduction(-|_| )?to(-|_| )?Electron(-|_| )?Paramagnetic(-|_| )?Resonance(-|_| )?Spectroscopy$/i,
       /^Introduction(-|_| )?to(-|_| )?Electron(-|_| )?Paramagnetic(-|_| )?Resonance(-|_| )?Spectroscopy$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270075&semester=2021W"
  # ======================================================================= #
  # === rf "270274 Übungen zur Computersimulation von Biopolymeren"
  # ======================================================================= #
  when /^270274(-|_| )?Übungen(-|_| )?zur(-|_| )?Computersimulation(-|_| )?von(-|_| )?Biopolymeren$/i,
       /^Übungen(-|_| )?zur(-|_| )?Computersimulation(-|_| )?von(-|_| )?Biopolymeren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270274&semester=2022S"
  # ======================================================================= #
  # === rf "270172 Grundlagen in der Programmierung"
  # ======================================================================= #
  when /^270172(-|_| )?Grundlagen(-|_| )?in(-|_| )?der(-|_| )?Programmierung$/i,
       /^Grundlagen(-|_| )?in(-|_| )?der(-|_| )?Programmierung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270172&semester=2022S"
  # ======================================================================= #
  # === rf "300305 Einführung in die Bryologie"
  # ======================================================================= #
  when /^300305(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Bryologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Bryologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300305&semester=2021S"
  # ======================================================================= #
  # === rf "300147 Blüten: Struktur, Funktion und Diversität"
  # ======================================================================= #
  when /^300147(-|_| )?Blüten:(-|_| )?Struktur,?(-|_| )?Funktion(-|_| )?und(-|_| )?Diversität$/i,
       /^Blüten:(-|_| )?Struktur,?(-|_| )?Funktion(-|_| )?und(-|_| )?Diversität$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300147&semester=2024S"
  # ======================================================================= #
  # === rf "300197 Introduction to R for Anthropologists"
  # ======================================================================= #
  when /^300197(-|_| )?Introduction(-|_| )?to(-|_| )?R(-|_| )?for(-|_| )?Anthropologists$/i,
       /^Introduction(-|_| )?to(-|_| )?R(-|_| )?for(-|_| )?Anthropologists$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300197&semester=2022S"
  # ======================================================================= #
  # === rf "301256 Seminar zur Strukturbiologie"
  # ======================================================================= #
  when /^301256(-|_| )?Seminar(-|_| )?zur(-|_| )?Strukturbiologie$/i,
       /^Seminar(-|_| )?zur(-|_| )?Strukturbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301256&semester=2024S"
  # ======================================================================= #
  # === rf "301615 Organisch-chemische Übungen"
  # ======================================================================= #
  when /^301615(-|_| )?Organisch(-|_)?chemische(-|_| )?Übungen$/i,
       /^Organisch(-|_)?chemische(-|_| )?Übungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301615&semester=2022S"
  # ======================================================================= #
  # === rf "300018 Scientific Literature and Communication for Biologists"
  # ======================================================================= #
  when /^300018(-|_| )?Scientific(-|_| )?Literature(-|_| )?and(-|_| )?Communication(-|_| )?for(-|_| )?Biologists$/i,
       /^Scientific(-|_| )?Literature(-|_| )?and(-|_| )?Communication(-|_| )?for(-|_| )?Biologists$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300018&semester=2022S"
  # ======================================================================= #
  # === rf "322056 Introduction to Nanomedicine: Nucleic acid therapy and Bioimaging - M14"
  # ======================================================================= #
  when /^322056(-|_| )?Introduction(-|_| )?to(-|_| )?Nanomedicine:(-|_| )?Nucleic(-|_| )?acid(-|_| )?therapy(-|_| )?and(-|_| )?Bioimaging(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Introduction(-|_| )?to(-|_| )?Nanomedicine:(-|_| )?Nucleic(-|_| )?acid(-|_| )?therapy(-|_| )?and(-|_| )?Bioimaging(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322056&semester=2023W"
  # ======================================================================= #
  # === rf "270014 (Biochemie) Biologische Chemie I"
  # ======================================================================= #
  when /^270014(-|_| )?\(?Biochemie\)?(-|_| )?Biologische(-|_| )?Chemie(-|_| )?I$/i,
       /^\(?Biochemie\)?(-|_| )?Biologische(-|_| )?Chemie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270014&semester=2023W"
  # ======================================================================= #
  # === rf "053531 Softwareentwicklungsprojekt Bioinformatik"
  # ======================================================================= #
  when /^053531(-|_| )?Softwareentwicklungsprojekt(-|_| )?Bioinformatik$/i,
       /^Softwareentwicklungsprojekt(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=053531&semester=2023W"
  # ======================================================================= #
  # === rf "300060 Bioinformatics for metagenomics and metatranscriptomics"
  # ======================================================================= #
  when /^300060(-|_| )?Bioinformatics(-|_| )?for(-|_| )?metagenomics(-|_| )?and(-|_| )?metatranscriptomics$/i,
       /^Bioinformatics(-|_| )?for(-|_| )?metagenomics(-|_| )?and(-|_| )?metatranscriptomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300060&semester=2018W"
  # ======================================================================= #
  # === rf "301460 Grenzen der Virologie"
  # ======================================================================= #
  when /^301460(-|_| )?Grenzen(-|_| )?der(-|_| )?Virologie$/i,
       /^Grenzen(-|_| )?der(-|_| )?Virologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301460&semester=2021S"
  # ======================================================================= #
  # === rf "301756 Research Report & Journal Club II"
  # ======================================================================= #
  when /^301756(-|_| )?Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?II$/i,
       /^Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301756&semester=2021S"
  # ======================================================================= #
  # === rf "301848 Scientific Practice in Molecular Microbiology, Ecology or Immunobiology"
  # ======================================================================= #
  when /^301848(-|_| )?Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Ecology(-|_| )?or(-|_| )?Immunobiology$/i,
       /^Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Ecology(-|_| )?or(-|_| )?Immunobiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301848&semester=2023S"
  # ======================================================================= #
  # === rf "300143 Zellbiologie tierischer Zellen"
  # ======================================================================= #
  when /^300143(-|_| )?Zellbiologie(-|_| )?tierischer(-|_| )?Zellen$/i,
       /^Zellbiologie(-|_| )?tierischer(-|_| )?Zellen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300143&semester=2015S"
  # ======================================================================= #
  # === rf "301164 Biochemie für Fortgeschrittene"
  # ======================================================================= #
  when /^301164(-|_| )?Biochemie(-|_| )?für(-|_| )?Fortgeschrittene$/i,
       /^Biochemie(-|_| )?für(-|_| )?Fortgeschrittene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301164&semester=2023S"
  # ======================================================================= #
  # === rf "300660 Fortpflanzung und Entwicklung"
  # ======================================================================= #
  when /^300660(-|_| )?Fortpflanzung(-|_| )?und(-|_| )?Entwicklung$/i,
       /^Fortpflanzung(-|_| )?und(-|_| )?Entwicklung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300660&semester=2007W"
  # ======================================================================= #
  # === rf "300421 Pflanzengenetik und Pflanzenbiotechnologie"
  # ======================================================================= #
  when /^300421(-|_| )?Pflanzengenetik(-|_| )?und(-|_| )?Pflanzenbiotechnologie$/i,
       /^Pflanzengenetik(-|_| )?und(-|_| )?Pflanzenbiotechnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300421&semester=2008W"
  # ======================================================================= #
  # === rf "300265 Safety in the laboratory"
  # ======================================================================= #
  when /^300265(-|_| )?Safety(-|_| )?in(-|_| )?the(-|_| )?laboratory$/i,
       /^Safety(-|_| )?in(-|_| )?the(-|_| )?laboratory$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300265&semester=2024S"
  # ======================================================================= #
  # === rf "270113 Biochemisches Praktikum D (Zellbiologie)"
  # ======================================================================= #
  when /^270113(-|_| )?Biochemisches(-|_| )?Praktikum(-|_| )?D(-|_| )?\(?Zellbiologie\)?$/i,
       /^Biochemisches(-|_| )?Praktikum(-|_| )?D(-|_| )?\(?Zellbiologie\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270113&semester=2024S"
  # ======================================================================= #
  # === rf "270147 Introduction to R"
  # ======================================================================= #
  when /^270147(-|_| )?Introduction(-|_| )?to(-|_| )?R$/i,
       /^Introduction(-|_| )?to(-|_| )?R$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270147&semester=2021S"
  # ======================================================================= #
  # === rf "270125 Current topics in multi-omics network analysis"
  # ======================================================================= #
  when /^270125(-|_| )?Current(-|_| )?topics(-|_| )?in(-|_| )?multi(-|_)?omics(-|_| )?network(-|_| )?analysis$/i,
       /^Current(-|_| )?topics(-|_| )?in(-|_| )?multi(-|_)?omics(-|_| )?network(-|_| )?analysis$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270125&semester=2022S"
  # ======================================================================= #
  # === rf "270066 Molekülspektroskopie"
  # ======================================================================= #
  when /^270066(-|_| )?Molekülspektroskopie$/i,
       /^Molekülspektroskopie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270066&semester=2023W"
  # ======================================================================= #
  # === rf "300428 Plant Ultra Structure and Cytology"
  # ======================================================================= #
  when /^300428(-|_| )?Plant(-|_| )?Ultra(-|_| )?Structure(-|_| )?and(-|_| )?Cytology$/i,
       /^Plant(-|_| )?Ultra(-|_| )?Structure(-|_| )?and(-|_| )?Cytology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300428&semester=2022W"
  # ======================================================================= #
  # === rf "300012 Einführung in die Ökologie"
  # ======================================================================= #
  when /^300012(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Ökologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Ökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300012&semester=2008W"
  # ======================================================================= #
  # === rf "530006 Bioanalytische Methoden zur Identifikation und Evaluierung von Biomarkern"
  # ======================================================================= #
  when /^530006(-|_| )?Bioanalytische(-|_| )?Methoden(-|_| )?zur(-|_| )?Identifikation(-|_| )?und(-|_| )?Evaluierung(-|_| )?von(-|_| )?Biomarkern$/i,
       /^Bioanalytische(-|_| )?Methoden(-|_| )?zur(-|_| )?Identifikation(-|_| )?und(-|_| )?Evaluierung(-|_| )?von(-|_| )?Biomarkern$/i
    "https://ufind.univie.ac.at/de/course.html?lv=530006&semester=2022S"
  # ======================================================================= #
  # === rf "052100 Algorithms and Data Structures 2"
  # ======================================================================= #
  when /^052100(-|_| )?Algorithms(-|_| )?and(-|_| )?Data(-|_| )?Structures(-|_| )?2$/i,
       /^Algorithms(-|_| )?and(-|_| )?Data(-|_| )?Structures(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052100&semester=2024S"
  # ======================================================================= #
  # === rf "270055 Elektrochemische Nanotechnologie"
  # ======================================================================= #
  when /^270055(-|_| )?Elektrochemische(-|_| )?Nanotechnologie$/i,
       /^Elektrochemische(-|_| )?Nanotechnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270055&semester=2018S"
  # ======================================================================= #
  # === rf "300136 Populationsgenetik (LA)"
  # ======================================================================= #
  when /^300136(-|_| )?Populationsgenetik(-|_| )?\(?LA\)?$/i,
       /^Populationsgenetik(-|_| )?\(?LA\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300136&semester=2019W"
  # ======================================================================= #
  # === rf "330041 Lebensmittelsicherheit und -toxikologie"
  # ======================================================================= #
  when /^330041(-|_| )?Lebensmittelsicherheit(-|_| )?und(-|_| )?(-|_)?toxikologie$/i,
       /^Lebensmittelsicherheit(-|_| )?und(-|_| )?(-|_)?toxikologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330041&semester=2020S"
  # ======================================================================= #
  # === rf "301735 Modellsysteme in der Molekularbiologie"
  # ======================================================================= #
  when /^301735(-|_| )?Modellsysteme(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Modellsysteme(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301735&semester=2024S"
  # ======================================================================= #
  # === rf "301213 Allgemeine und Molekulare Genetik Teil II"
  # ======================================================================= #
  when /^301213(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?Teil(-|_| )?II$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?Teil(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301213&semester=2024S"
  # ======================================================================= #
  # === rf "330045 Biotechnologie und Gentechnik in der Lebensmittelproduktion"
  # ======================================================================= #
  when /^330045(-|_| )?Biotechnologie(-|_| )?und(-|_| )?Gentechnik(-|_| )?in(-|_| )?der(-|_| )?Lebensmittelproduktion$/i,
       /^Biotechnologie(-|_| )?und(-|_| )?Gentechnik(-|_| )?in(-|_| )?der(-|_| )?Lebensmittelproduktion$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330045&semester=2015S"
  # ======================================================================= #
  # === rf "300191 Anatomie des Schädels"
  # ======================================================================= #
  when /^300191(-|_| )?Anatomie(-|_| )?des(-|_| )?Schädels$/i,
       /^Anatomie(-|_| )?des(-|_| )?Schädels$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300191&semester=2024S"
  # ======================================================================= #
  # === rf "053522 Bioinformatik für Phylogenie und evolutionäre Stammbaumrekonstruktion"
  # ======================================================================= #
  when /^053522(-|_| )?Bioinformatik(-|_| )?für(-|_| )?Phylogenie(-|_| )?und(-|_| )?evolutionäre(-|_| )?Stammbaumrekonstruktion$/i,
       /^Bioinformatik(-|_| )?für(-|_| )?Phylogenie(-|_| )?und(-|_| )?evolutionäre(-|_| )?Stammbaumrekonstruktion$/i
    "https://ufind.univie.ac.at/de/course.html?lv=053522&semester=2023W"
  # ======================================================================= #
  # === rf "301268 Business in Biotech"
  # ======================================================================= #
  when /^301268(-|_| )?Business(-|_| )?in(-|_| )?Biotech$/i,
       /^Business(-|_| )?in(-|_| )?Biotech$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301268&semester=2023S"
  # ======================================================================= #
  # === rf "301322 Neurobiologie"
  # ======================================================================= #
  when /^301322(-|_| )?Neurobiologie$/i,
       /^Neurobiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301322&semester=2024S"
  # ======================================================================= #
  # === rf "330048 Einführung in Biologie und Botanik"
  # ======================================================================= #
  when /^330048(-|_| )?Einführung(-|_| )?in(-|_| )?Biologie(-|_| )?und(-|_| )?Botanik$/i,
       /^Einführung(-|_| )?in(-|_| )?Biologie(-|_| )?und(-|_| )?Botanik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330048&semester=2023W"
  # ======================================================================= #
  # === rf "301707 Molekulare Infektionsbiologie"
  # ======================================================================= #
  when /^301707(-|_| )?Molekulare(-|_| )?Infektionsbiologie$/i,
       /^Molekulare(-|_| )?Infektionsbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301707&semester=2023S"
  # ======================================================================= #
  # === rf "300426 Einführung in die Humanökologie"
  # ======================================================================= #
  when /^300426(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Humanökologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Humanökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300426&semester=2023W"
  # ======================================================================= #
  # === rf "301212 Allgemeine und Molekulare Genetik I"
  # ======================================================================= #
  when /^301212(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?I$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301212&semester=2024S"
  # ======================================================================= #
  # === rf "301008 Proseminar zur Immunbiologie"
  # ======================================================================= #
  when /^301008(-|_| )?Proseminar(-|_| )?zur(-|_| )?Immunbiologie$/i,
       /^Proseminar(-|_| )?zur(-|_| )?Immunbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301008&semester=2023W"
  # ======================================================================= #
  # === rf "301610 Seminar in Molecular Immunology"
  # ======================================================================= #
  when /^301610(-|_| )?Seminar(-|_| )?in(-|_| )?Molecular(-|_| )?Immunology$/i,
       /^Seminar(-|_| )?in(-|_| )?Molecular(-|_| )?Immunology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301610&semester=2023W"
  # ======================================================================= #
  # === rf "270148 Data science in metabolomics and proteomics"
  # ======================================================================= #
  when /^270148(-|_| )?Data(-|_| )?science(-|_| )?in(-|_| )?metabolomics(-|_| )?and(-|_| )?proteomics$/i,
       /^Data(-|_| )?science(-|_| )?in(-|_| )?metabolomics(-|_| )?and(-|_| )?proteomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270148&semester=2022S"
  # ======================================================================= #
  # === rf "269003 Computational Concepts in Chemistry I"
  # ======================================================================= #
  when /^269003(-|_| )?Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Chemistry(-|_| )?I$/i,
       /^Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Chemistry(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=269003&semester=2020W"
  # ======================================================================= #
  # === rf "801567 Einführung in die Paläobiologie"
  # ======================================================================= #
  when /^801567(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Paläobiologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Paläobiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=801567&semester=2003W"
  # ======================================================================= #
  # === rf "301655 Grundlagen und Umgang von Geistigem Eigentum für Naturwissenschaftler"
  # ======================================================================= #
  when /^301655(-|_| )?Grundlagen(-|_| )?und(-|_| )?Umgang(-|_| )?von(-|_| )?Geistigem(-|_| )?Eigentum(-|_| )?für(-|_| )?Naturwissenschaftler$/i,
       /^Grundlagen(-|_| )?und(-|_| )?Umgang(-|_| )?von(-|_| )?Geistigem(-|_| )?Eigentum(-|_| )?für(-|_| )?Naturwissenschaftler$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301655&semester=2022W"
  # ======================================================================= #
  # === rf "301484 Practical Course in Molecular Microbiology, Microbial Ecology and Immunobiology"
  # ======================================================================= #
  when /^301484(-|_| )?Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology$/i,
       /^Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301484&semester=2023W"
  # ======================================================================= #
  # === rf "300307 Practical Course in Molecular Microbiology, Microbial Ecology and Immunobiology 2"
  # ======================================================================= #
  when /^300307(-|_| )?Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology(-|_| )?2$/i,
       /^Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300307&semester=2023W"
  # ======================================================================= #
  # === rf "809068 Biologische Einführungsübungen Teil I"
  # ======================================================================= #
  when /^809068(-|_| )?Biologische(-|_| )?Einführungsübungen(-|_| )?Teil(-|_| )?I$/i,
       /^Biologische(-|_| )?Einführungsübungen(-|_| )?Teil(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809068&semester=2002S"
  # ======================================================================= #
  # === rf "321018 Pharmazeutische Biotechnologie - B10"
  # ======================================================================= #
  when /^321018(-|_| )?Pharmazeutische(-|_| )?Biotechnologie(-|_| )?(-|_)?(-|_| )?B10$/i,
       /^Pharmazeutische(-|_| )?Biotechnologie(-|_| )?(-|_)?(-|_| )?B10$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321018&semester=2023W"
  # ======================================================================= #
  # === rf "270170 Lipidomics-state of the art techniques"
  # ======================================================================= #
  when /^270170(-|_| )?Lipidomics(-|_)?state(-|_| )?of(-|_| )?the(-|_| )?art(-|_| )?techniques$/i,
       /^Lipidomics(-|_)?state(-|_| )?of(-|_| )?the(-|_| )?art(-|_| )?techniques$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270170&semester=2020W"
  # ======================================================================= #
  # === rf "300286 Fluoreszenz-In-Situ-Hybridisierung (FISH)"
  # ======================================================================= #
  when /^300286(-|_| )?Fluoreszenz(-|_)?In(-|_)?Situ(-|_)?Hybridisierung(-|_| )?\(?FISH\)?$/i,
       /^Fluoreszenz(-|_)?In(-|_)?Situ(-|_)?Hybridisierung(-|_| )?\(?FISH\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300286&semester=2022W"
  # ======================================================================= #
  # === rf "300308 Human Evolutionary Genetics: genomic, genes, diseases"
  # ======================================================================= #
  when /^300308(-|_| )?Human(-|_| )?Evolutionary(-|_| )?Genetics:(-|_| )?genomic,?(-|_| )?genes,?(-|_| )?diseases$/i,
       /^Human(-|_| )?Evolutionary(-|_| )?Genetics:(-|_| )?genomic,?(-|_| )?genes,?(-|_| )?diseases$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300308&semester=2024S"
  # ======================================================================= #
  # === rf "270275 Chemometrie und Datenanalyse in der Multidimensionalen Analytik"
  # ======================================================================= #
  when /^270275(-|_| )?Chemometrie(-|_| )?und(-|_| )?Datenanalyse(-|_| )?in(-|_| )?der(-|_| )?Multidimensionalen(-|_| )?Analytik$/i,
       /^Chemometrie(-|_| )?und(-|_| )?Datenanalyse(-|_| )?in(-|_| )?der(-|_| )?Multidimensionalen(-|_| )?Analytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270275&semester=2020W"
  # ======================================================================= #
  # === rf "270195 Seminar zu Techniken in der Molekularen Biologie"
  # ======================================================================= #
  when /^270195(-|_| )?Seminar(-|_| )?zu(-|_| )?Techniken(-|_| )?in(-|_| )?der(-|_| )?Molekularen(-|_| )?Biologie$/i,
       /^Seminar(-|_| )?zu(-|_| )?Techniken(-|_| )?in(-|_| )?der(-|_| )?Molekularen(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270195&semester=2020W"
  # ======================================================================= #
  # === rf "891109 Filme zur VO "Allgemeine Biologie IV""
  # ======================================================================= #
  when /^891109(-|_| )?Filme(-|_| )?zur(-|_| )?VO(-|_| )?"?Allgemeine(-|_| )?Biologie(-|_| )?IV"?$/i,
       /^Filme(-|_| )?zur(-|_| )?VO(-|_| )?"?Allgemeine(-|_| )?Biologie(-|_| )?IV"?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=891109&semester=2002S"
  # ======================================================================= #
  # === rf "300459 Molekulare Biotechnologie"
  # ======================================================================= #
  when /^300459(-|_| )?Molekulare(-|_| )?Biotechnologie$/i,
       /^Molekulare(-|_| )?Biotechnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300459&semester=2006S"
  # ======================================================================= #
  # === rf "300669 Management gefährdeter Tierarten"
  # ======================================================================= #
  when /^300669(-|_| )?Management(-|_| )?gefährdeter(-|_| )?Tierarten$/i,
       /^Management(-|_| )?gefährdeter(-|_| )?Tierarten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300669&semester=2023W"
  # ======================================================================= #
  # === rf "270045 Wahlfachpraktikum: Nukleinsäureanalytik"
  # ======================================================================= #
  when /^270045(-|_| )?Wahlfachpraktikum:(-|_| )?Nukleinsäureanalytik$/i,
       /^Wahlfachpraktikum:(-|_| )?Nukleinsäureanalytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270045&semester=2022S"
  # ======================================================================= #
  # === rf "301585 Molekulare Medizin 1"
  # ======================================================================= #
  when /^301585(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?1$/i,
       /^Molekulare(-|_| )?Medizin(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301585&semester=2024S"
  # ======================================================================= #
  # === rf "809041 Allgemeine,Organische Chemie"
  # ======================================================================= #
  when /^809041(-|_| )?Allgemeine,?Organische(-|_| )?Chemie$/i,
       /^Allgemeine,?Organische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=809041&semester=1999W"
  # ======================================================================= #
  # === rf "300061 Transition Studies I"
  # ======================================================================= #
  when /^300061(-|_| )?Transition(-|_| )?Studies(-|_| )?I$/i,
       /^Transition(-|_| )?Studies(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300061&semester=2021W"
  # ======================================================================= #
  # === rf "898249 Allgemeine Biologie III"
  # ======================================================================= #
  when /^898249(-|_| )?Allgemeine(-|_| )?Biologie(-|_| )?III$/i,
       /^Allgemeine(-|_| )?Biologie(-|_| )?III$/i
    "https://ufind.univie.ac.at/de/course.html?lv=898249&semester=2001W"
  # ======================================================================= #
  # === rf "270302 Biologie für Chemiker"
  # ======================================================================= #
  when /^270302(-|_| )?Biologie(-|_| )?für(-|_| )?Chemiker$/i,
       /^Biologie(-|_| )?für(-|_| )?Chemiker$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270302&semester=2023S"
  # ======================================================================= #
  # === rf "300071 Zellbiologie für Lehramtsstudierende BU"
  # ======================================================================= #
  when /^300071(-|_| )?Zellbiologie(-|_| )?für(-|_| )?Lehramtsstudierende(-|_| )?BU$/i,
       /^Zellbiologie(-|_| )?für(-|_| )?Lehramtsstudierende(-|_| )?BU$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300071&semester=2020S"
  # ======================================================================= #
  # === rf "050123 Technische Praxis der Computersysteme I"
  # ======================================================================= #
  when /^050123(-|_| )?Technische(-|_| )?Praxis(-|_| )?der(-|_| )?Computersysteme(-|_| )?I$/i,
       /^Technische(-|_| )?Praxis(-|_| )?der(-|_| )?Computersysteme(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=050123&semester=2014W"
  # ======================================================================= #
  # === rf "300098 Anatomie und Biologie der Tiere"
  # ======================================================================= #
  when /^300098(-|_| )?Anatomie(-|_| )?und(-|_| )?Biologie(-|_| )?der(-|_| )?Tiere$/i,
       /^Anatomie(-|_| )?und(-|_| )?Biologie(-|_| )?der(-|_| )?Tiere$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300098&semester=2007S"
  # ======================================================================= #
  # === rf "051022 Betriebssysteme"
  # ======================================================================= #
  when /^051022(-|_| )?Betriebssysteme$/i,
       /^Betriebssysteme$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051022&semester=2024S"
  # ======================================================================= #
  # === rf "270041 Wahlfachpraktikum: Proteinanalytik"
  # ======================================================================= #
  when /^270041(-|_| )?Wahlfachpraktikum:(-|_| )?Proteinanalytik$/i,
       /^Wahlfachpraktikum:(-|_| )?Proteinanalytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270041&semester=2022S"
  # ======================================================================= #
  # === rf "270027 Wahlfachpraktikum: Proteinanalytik"
  # ======================================================================= #
  when /^270027(-|_| )?Wahlfachpraktikum:(-|_| )?Proteinanalytik$/i,
       /^Wahlfachpraktikum:(-|_| )?Proteinanalytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270027&semester=2018S"
  # ======================================================================= #
  # === rf "300663 Einführung in die Mikrobiologie für LA-BU"
  # ======================================================================= #
  when /^300663(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Mikrobiologie(-|_| )?für(-|_| )?LA(-|_)?BU$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Mikrobiologie(-|_| )?für(-|_| )?LA(-|_)?BU$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300663&semester=2017W"
  # ======================================================================= #
  # === rf "300045 Bioinformatik für die Analyse mikrobieller Genome, Metagenome und Metatranskriptome"
  # ======================================================================= #
  when /^300045(-|_| )?Bioinformatik(-|_| )?für(-|_| )?die(-|_| )?Analyse(-|_| )?mikrobieller(-|_| )?Genome,?(-|_| )?Metagenome(-|_| )?und(-|_| )?Metatranskriptome$/i,
       /^Bioinformatik(-|_| )?für(-|_| )?die(-|_| )?Analyse(-|_| )?mikrobieller(-|_| )?Genome,?(-|_| )?Metagenome(-|_| )?und(-|_| )?Metatranskriptome$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300045&semester=2024S"
  # ======================================================================= #
  # === rf "301214 Übung III B: Sequenzanalysen in der Molekularbiologie"
  # ======================================================================= #
  when /^301214(-|_| )?Übung(-|_| )?III(-|_| )?B:(-|_| )?Sequenzanalysen(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Übung(-|_| )?III(-|_| )?B:(-|_| )?Sequenzanalysen(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301214&semester=2017W"
  # ======================================================================= #
  # === rf "300058 Stadtökologie"
  # ======================================================================= #
  when /^300058(-|_| )?Stadtökologie$/i,
       /^Stadtökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300058&semester=2023W"
  # ======================================================================= #
  # === rf "330051 Einführung in die Laborpraxis"
  # ======================================================================= #
  when /^330051(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Laborpraxis$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Laborpraxis$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330051&semester=2024S"
  # ======================================================================= #
  # === rf "300036 Molecular Evolution"
  # ======================================================================= #
  when /^300036(-|_| )?Molecular(-|_| )?Evolution$/i,
       /^Molecular(-|_| )?Evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300036&semester=2023S"
  # ======================================================================= #
  # === rf "330016 Ernährungsökologie"
  # ======================================================================= #
  when /^330016(-|_| )?Ernährungsökologie$/i,
       /^Ernährungsökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330016&semester=2020S"
  # ======================================================================= #
  # === rf "300482 Die Welt der Milben"
  # ======================================================================= #
  when /^300482(-|_| )?Die(-|_| )?Welt(-|_| )?der(-|_| )?Milben$/i,
       /^Die(-|_| )?Welt(-|_| )?der(-|_| )?Milben$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300482&semester=2022S"
  # ======================================================================= #
  # === rf "323102 Pharmacoinformatics Practical Course - MPS5"
  # ======================================================================= #
  when /^323102(-|_| )?Pharmacoinformatics(-|_| )?Practical(-|_| )?Course(-|_| )?(-|_)?(-|_| )?MPS5$/i,
       /^Pharmacoinformatics(-|_| )?Practical(-|_| )?Course(-|_| )?(-|_)?(-|_| )?MPS5$/i
    "https://ufind.univie.ac.at/de/course.html?lv=323102&semester=2020S"
  # ======================================================================= #
  # === rf "323103 Data science approaches for advancing drug discovery - MPS5"
  # ======================================================================= #
  when /^323103(-|_| )?Data(-|_| )?science(-|_| )?approaches(-|_| )?for(-|_| )?advancing(-|_| )?drug(-|_| )?discovery(-|_| )?(-|_)?(-|_| )?MPS5$/i,
       /^Data(-|_| )?science(-|_| )?approaches(-|_| )?for(-|_| )?advancing(-|_| )?drug(-|_| )?discovery(-|_| )?(-|_)?(-|_| )?MPS5$/i
    "https://ufind.univie.ac.at/de/course.html?lv=323103&semester=2020S"
  # ======================================================================= #
  # === rf "323104 Biophysical Methods in Drug Discovery and Development - MPS5"
  # ======================================================================= #
  when /^323104(-|_| )?Biophysical(-|_| )?Methods(-|_| )?in(-|_| )?Drug(-|_| )?Discovery(-|_| )?and(-|_| )?Development(-|_| )?(-|_)?(-|_| )?MPS5$/i,
       /^Biophysical(-|_| )?Methods(-|_| )?in(-|_| )?Drug(-|_| )?Discovery(-|_| )?and(-|_| )?Development(-|_| )?(-|_)?(-|_| )?MPS5$/i
    "https://ufind.univie.ac.at/de/course.html?lv=323104&semester=2020S"
  # ======================================================================= #
  # === rf "323150 In Silico Toxicology - MPS10"
  # ======================================================================= #
  when /^323150(-|_| )?In(-|_| )?Silico(-|_| )?Toxicology(-|_| )?(-|_)?(-|_| )?MPS10$/i,
       /^In(-|_| )?Silico(-|_| )?Toxicology(-|_| )?(-|_)?(-|_| )?MPS10$/i
    "https://ufind.univie.ac.at/de/course.html?lv=323150&semester=2019W"
  # ======================================================================= #
  # === rf "301846 Practical Course in Molecular Microbiology"
  # ======================================================================= #
  when /^301846(-|_| )?Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology$/i,
       /^Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301846&semester=2023W"
  # ======================================================================= #
  # === rf "301845 Practical Course in Molecular Microbiology"
  # ======================================================================= #
  when /^301845(-|_| )?Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology$/i,
       /^Practical(-|_| )?Course(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301845&semester=2023S"
  # ======================================================================= #
  # === rf "270006 Biochemie in der Ernährung"
  # ======================================================================= #
  when /^270006(-|_| )?Biochemie(-|_| )?in(-|_| )?der(-|_| )?Ernährung$/i,
       /^Biochemie(-|_| )?in(-|_| )?der(-|_| )?Ernährung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270006&semester=2020S"
  # ======================================================================= #
  # === rf "300254 Computereinsatz in der Biologie"
  # ======================================================================= #
  when /^300254(-|_| )?Computereinsatz(-|_| )?in(-|_| )?der(-|_| )?Biologie$/i,
       /^Computereinsatz(-|_| )?in(-|_| )?der(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300254&semester=2020S"
  # ======================================================================= #
  # === rf "301080 Bioinformatik für Biologen"
  # ======================================================================= #
  when /^301080(-|_| )?Bioinformatik(-|_| )?für(-|_| )?Biologen$/i,
       /^Bioinformatik(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301080&semester=2024S"
  # ======================================================================= #
  # === rf "322065 Applied Bacterial Genetics - M14"
  # ======================================================================= #
  when /^322065(-|_| )?Applied(-|_| )?Bacterial(-|_| )?Genetics(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Applied(-|_| )?Bacterial(-|_| )?Genetics(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322065&semester=2023W"
  # ======================================================================= #
  # === rf "322076 Geplante Qualität - GMP in der industriellen Arzneimittelherstellung - M7/M14"
  # ======================================================================= #
  when /^322076(-|_| )?Geplante(-|_| )?Qualität(-|_| )?(-|_)?(-|_| )?GMP(-|_| )?in(-|_| )?der(-|_| )?industriellen(-|_| )?Arzneimittelherstellung(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Geplante(-|_| )?Qualität(-|_| )?(-|_)?(-|_| )?GMP(-|_| )?in(-|_| )?der(-|_| )?industriellen(-|_| )?Arzneimittelherstellung(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322076&semester=2020S"
  # ======================================================================= #
  # === rf "321037 Pharmazeutische Wissenschaften - B20"
  # ======================================================================= #
  when /^321037(-|_| )?Pharmazeutische(-|_| )?Wissenschaften(-|_| )?(-|_)?(-|_| )?B20$/i,
       /^Pharmazeutische(-|_| )?Wissenschaften(-|_| )?(-|_)?(-|_| )?B20$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321037&semester=2024S"
  # ======================================================================= #
  # === rf "321032 Übungen aus Mikrobiologie - B17"
  # ======================================================================= #
  when /^321032(-|_| )?Übungen(-|_| )?aus(-|_| )?Mikrobiologie(-|_| )?(-|_)?(-|_| )?B17$/i,
       /^Übungen(-|_| )?aus(-|_| )?Mikrobiologie(-|_| )?(-|_)?(-|_| )?B17$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321032&semester=2024S"
  # ======================================================================= #
  # === rf "270122 Wahlfachpraktikum: Massenspektrometrie in der Bioanalytik"
  # ======================================================================= #
  when /^270122(-|_| )?Wahlfachpraktikum:(-|_| )?Massenspektrometrie(-|_| )?in(-|_| )?der(-|_| )?Bioanalytik$/i,
       /^Wahlfachpraktikum:(-|_| )?Massenspektrometrie(-|_| )?in(-|_| )?der(-|_| )?Bioanalytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270122&semester=2020S"
  # ======================================================================= #
  # === rf "330071 Lebensmittelchemie Zusatzvorlesung"
  # ======================================================================= #
  when /^330071(-|_| )?Lebensmittelchemie(-|_| )?Zusatzvorlesung$/i,
       /^Lebensmittelchemie(-|_| )?Zusatzvorlesung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330071&semester=2019W"
  # ======================================================================= #
  # === rf "270032 Lebensmittelchemie"
  # ======================================================================= #
  when /^270032(-|_| )?Lebensmittelchemie$/i,
       /^Lebensmittelchemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270032&semester=2019W"
  # ======================================================================= #
  # === rf "330008 Ernährungslehre: angewandt und multidisziplinär"
  # ======================================================================= #
  when /^330008(-|_| )?Ernährungslehre:(-|_| )?angewandt(-|_| )?und(-|_| )?multidisziplinär$/i,
       /^Ernährungslehre:(-|_| )?angewandt(-|_| )?und(-|_| )?multidisziplinär$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330008&semester=2023W"
  # ======================================================================= #
  # === rf "301618 Strukturbiologie II"
  # ======================================================================= #
  when /^301618(-|_| )?Strukturbiologie(-|_| )?II$/i,
       /^Strukturbiologie(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301618&semester=2024S"
  # ======================================================================= #
  # === rf "270108 Analytische Chemie II"
  # ======================================================================= #
  when /^270108(-|_| )?Analytische(-|_| )?Chemie(-|_| )?II$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270108&semester=2019W"
  # ======================================================================= #
  # === rf "301842 Advanced Techniques in Molecular Microbiology, Microbial Ecology and Immunobiology 1"
  # ======================================================================= #
  when /^301842(-|_| )?Advanced(-|_| )?Techniques(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology(-|_| )?1$/i,
       /^Advanced(-|_| )?Techniques(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301842&semester=2022W"
  # ======================================================================= #
  # === rf "301599 Praktikum Bioinformatik"
  # ======================================================================= #
  when /^301599(-|_| )?Praktikum(-|_| )?Bioinformatik$/i,
       /^Praktikum(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301599&semester=2023W"
  # ======================================================================= #
  # === rf "300436 Einführung in die Bioethik"
  # ======================================================================= #
  when /^300436(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Bioethik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Bioethik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300436&semester=2007S"
  # ======================================================================= #
  # === rf "301609 Molekulare Entwicklungsbiologie"
  # ======================================================================= #
  when /^301609(-|_| )?Molekulare(-|_| )?Entwicklungsbiologie$/i,
       /^Molekulare(-|_| )?Entwicklungsbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301609&semester=2023W"
  # ======================================================================= #
  # === rf "322085 Prophylaxe und Therapie der Knochenerkrankungen - M14"
  # ======================================================================= #
  when /^322085(-|_| )?Prophylaxe(-|_| )?und(-|_| )?Therapie(-|_| )?der(-|_| )?Knochenerkrankungen(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Prophylaxe(-|_| )?und(-|_| )?Therapie(-|_| )?der(-|_| )?Knochenerkrankungen(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322085&semester=2020S"
  # ======================================================================= #
  # === rf "270151 Nanobiotechnologie und klinische Anwendungen"
  # ======================================================================= #
  when /^270151(-|_| )?Nanobiotechnologie(-|_| )?und(-|_| )?klinische(-|_| )?Anwendungen$/i,
       /^Nanobiotechnologie(-|_| )?und(-|_| )?klinische(-|_| )?Anwendungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270151&semester=2023S"
  # ======================================================================= #
  # === rf "270014 Biotechnologie Praktikum"
  # ======================================================================= #
  when /^270014(-|_| )?Biotechnologie(-|_| )?Praktikum$/i,
       /^Biotechnologie(-|_| )?Praktikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270014&semester=2023S"
  # ======================================================================= #
  # === rf "301590 Literaturseminar Molekulare Medizin"
  # ======================================================================= #
  when /^301590(-|_| )?Literaturseminar(-|_| )?Molekulare(-|_| )?Medizin$/i,
       /^Literaturseminar(-|_| )?Molekulare(-|_| )?Medizin$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301590&semester=2020S"
  # ======================================================================= #
  # === rf "301589 Literaturseminar Molekulare Medizin"
  # ======================================================================= #
  when /^301589(-|_| )?Literaturseminar(-|_| )?Molekulare(-|_| )?Medizin$/i,
       /^Literaturseminar(-|_| )?Molekulare(-|_| )?Medizin$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301589&semester=2023W"
  # ======================================================================= #
  # === rf "301540 Grundlagen wissenschaftlichen Arbeitens, Bioethik und Medizinethik"
  # ======================================================================= #
  when /^301540(-|_| )?Grundlagen(-|_| )?wissenschaftlichen(-|_| )?Arbeitens,?(-|_| )?Bioethik(-|_| )?und(-|_| )?Medizinethik$/i,
       /^Grundlagen(-|_| )?wissenschaftlichen(-|_| )?Arbeitens,?(-|_| )?Bioethik(-|_| )?und(-|_| )?Medizinethik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301540&semester=2022S"
  # ======================================================================= #
  # === rf "322052 Nukleinsäure-Therapeutika: Antisense, RNA Interferenz, CRISPR - M14"
  # ======================================================================= #
  when /^322052(-|_| )?Nukleinsäure(-|_)?Therapeutika:(-|_| )?Antisense,?(-|_| )?RNA(-|_| )?Interferenz,?(-|_| )?CRISPR(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Nukleinsäure(-|_)?Therapeutika:(-|_| )?Antisense,?(-|_| )?RNA(-|_| )?Interferenz,?(-|_| )?CRISPR(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322052&semester=2018W"
  # ======================================================================= #
  # === rf "301102 Übung in Genetik und Molekularer Pathologie"
  # ======================================================================= #
  when /^301102(-|_| )?Übung(-|_| )?in(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularer(-|_| )?Pathologie$/i,
       /^Übung(-|_| )?in(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularer(-|_| )?Pathologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301102&semester=2024S"
  # ======================================================================= #
  # === rf "300091 SpezifischesForschungsprojekt Mol. Biologie: OMICS in the research on model organisms and ecosystems"
  # ======================================================================= #
  when /^300091(-|_| )?SpezifischesForschungsprojekt(-|_| )?Mol\.?(-|_| )?Biologie:(-|_| )?OMICS(-|_| )?in(-|_| )?the(-|_| )?research(-|_| )?on(-|_| )?model(-|_| )?organisms(-|_| )?and(-|_| )?ecosystems$/i,
       /^SpezifischesForschungsprojekt(-|_| )?Mol\.?(-|_| )?Biologie:(-|_| )?OMICS(-|_| )?in(-|_| )?the(-|_| )?research(-|_| )?on(-|_| )?model(-|_| )?organisms(-|_| )?and(-|_| )?ecosystems$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300091&semester=2020S"
  # ======================================================================= #
  # === rf "301905 Information-processing in neuronal networks"
  # ======================================================================= #
  when /^301905(-|_| )?Information(-|_)?processing(-|_| )?in(-|_| )?neuronal(-|_| )?networks$/i,
       /^Information(-|_)?processing(-|_| )?in(-|_| )?neuronal(-|_| )?networks$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301905&semester=2020S"
  # ======================================================================= #
  # === rf "300280 Evolution des Nervensystems"
  # ======================================================================= #
  when /^300280(-|_| )?Evolution(-|_| )?des(-|_| )?Nervensystems$/i,
       /^Evolution(-|_| )?des(-|_| )?Nervensystems$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300280&semester=2020S"
  # ======================================================================= #
  # === rf "300311 Molekulare Mechanismen neuronaler Erkrankungen"
  # ======================================================================= #
  when /^300311(-|_| )?Molekulare(-|_| )?Mechanismen(-|_| )?neuronaler(-|_| )?Erkrankungen$/i,
       /^Molekulare(-|_| )?Mechanismen(-|_| )?neuronaler(-|_| )?Erkrankungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300311&semester=2020S"
  # ======================================================================= #
  # === rf "301172 Seminar zu Übung III A"
  # ======================================================================= #
  when /^301172(-|_| )?Seminar(-|_| )?zu(-|_| )?Übung(-|_| )?III(-|_| )?A$/i,
       /^Seminar(-|_| )?zu(-|_| )?Übung(-|_| )?III(-|_| )?A$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301172&semester=2023W"
  # ======================================================================= #
  # === rf "301171 Übung III A - Molekularbiologische Laborarbeiten"
  # ======================================================================= #
  when /^301171(-|_| )?Übung(-|_| )?III(-|_| )?A(-|_| )?(-|_)?(-|_| )?Molekularbiologische(-|_| )?Laborarbeiten$/i,
       /^Übung(-|_| )?III(-|_| )?A(-|_| )?(-|_)?(-|_| )?Molekularbiologische(-|_| )?Laborarbeiten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301171&semester=2024S"
  # ======================================================================= #
  # === rf "301665 Protein Transport u. Sortierung in Säugetierzellen"
  # ======================================================================= #
  when /^301665(-|_| )?Protein(-|_| )?Transport(-|_| )?u\.?(-|_| )?Sortierung(-|_| )?in(-|_| )?Säugetierzellen$/i,
       /^Protein(-|_| )?Transport(-|_| )?u\.?(-|_| )?Sortierung(-|_| )?in(-|_| )?Säugetierzellen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301665&semester=2024S"
  # ======================================================================= #
  # === rf "301507 Struktur und Funktion der Proteine"
  # ======================================================================= #
  when /^301507(-|_| )?Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?der(-|_| )?Proteine$/i,
       /^Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?der(-|_| )?Proteine$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301507&semester=2021S"
  # ======================================================================= #
  # === rf "330102 Ernährung und Epigenetik, Methoden und Epidemiologie"
  # ======================================================================= #
  when /^330102(-|_| )?Ernährung(-|_| )?und(-|_| )?Epigenetik,?(-|_| )?Methoden(-|_| )?und(-|_| )?Epidemiologie$/i,
       /^Ernährung(-|_| )?und(-|_| )?Epigenetik,?(-|_| )?Methoden(-|_| )?und(-|_| )?Epidemiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330102&semester=2019W"
  # ======================================================================= #
  # === rf "270071 Pharmazeutische Wirkstoffentwicklung"
  # ======================================================================= #
  when /^270071(-|_| )?Pharmazeutische(-|_| )?Wirkstoffentwicklung$/i,
       /^Pharmazeutische(-|_| )?Wirkstoffentwicklung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270071&semester=2020W"
  # ======================================================================= #
  # === rf "270145 Computer-Aided Drug Discovery"
  # ======================================================================= #
  when /^270145(-|_| )?Computer(-|_)?Aided(-|_| )?Drug(-|_| )?Discovery$/i,
       /^Computer(-|_)?Aided(-|_| )?Drug(-|_| )?Discovery$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270145&semester=2017S"
  # ======================================================================= #
  # === rf "270184 Erstellen von wissenschaftlichen Protokollen mit LaTeX"
  # ======================================================================= #
  when /^270184(-|_| )?Erstellen(-|_| )?von(-|_| )?wissenschaftlichen(-|_| )?Protokollen(-|_| )?mit(-|_| )?LaTeX$/i,
       /^Erstellen(-|_| )?von(-|_| )?wissenschaftlichen(-|_| )?Protokollen(-|_| )?mit(-|_| )?LaTeX$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270184&semester=2018W"
  # ======================================================================= #
  # === rf "301553 Abschlussarbeit im Schwerpunkt Mikrobiologie und Genetik/Immunbiologie und Bioinformatik"
  # ======================================================================= #
  when /^301553(-|_| )?Abschlussarbeit(-|_| )?im(-|_| )?Schwerpunkt(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik\/?Immunbiologie(-|_| )?und(-|_| )?Bioinformatik$/i,
       /^Abschlussarbeit(-|_| )?im(-|_| )?Schwerpunkt(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik\/?Immunbiologie(-|_| )?und(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301553&semester=2023W"
  # ======================================================================= #
  # === rf "330012 Ernährung und Immunologie"
  # ======================================================================= #
  when /^330012(-|_| )?Ernährung(-|_| )?und(-|_| )?Immunologie$/i,
       /^Ernährung(-|_| )?und(-|_| )?Immunologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330012&semester=2018W"
  # ======================================================================= #
  # === rf "300168 Einführung in die Bionik"
  # ======================================================================= #
  when /^300168(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Bionik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Bionik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300168&semester=2023W"
  # ======================================================================= #
  # === rf "301101 Epigenetics- From basic mechanisms to medical applications"
  # ======================================================================= #
  when /^301101(-|_| )?Epigenetics(-|_)?(-|_| )?From(-|_| )?basic(-|_| )?mechanisms(-|_| )?to(-|_| )?medical(-|_| )?applications$/i,
       /^Epigenetics(-|_)?(-|_| )?From(-|_| )?basic(-|_| )?mechanisms(-|_| )?to(-|_| )?medical(-|_| )?applications$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301101&semester=2023W"
  # ======================================================================= #
  # === rf "322082 Protein-Biotechnologie am Beispiel der Blut- und Plasmaderivate - M14"
  # ======================================================================= #
  when /^322082(-|_| )?Protein(-|_)?Biotechnologie(-|_| )?am(-|_| )?Beispiel(-|_| )?der(-|_| )?Blut(-|_)?(-|_| )?und(-|_| )?Plasmaderivate(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Protein(-|_)?Biotechnologie(-|_| )?am(-|_| )?Beispiel(-|_| )?der(-|_| )?Blut(-|_)?(-|_| )?und(-|_| )?Plasmaderivate(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322082&semester=2023W"
  # ======================================================================= #
  # === rf "052514 Business Process Management"
  # ======================================================================= #
  when /^052514(-|_| )?Business(-|_| )?Process(-|_| )?Management$/i,
       /^Business(-|_| )?Process(-|_| )?Management$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052514&semester=2019W"
  # ======================================================================= #
  # === rf "300023 Konzepte und Arbeitsmethoden zu Evolution, Systematik und Biogeographie der Pflanzen"
  # ======================================================================= #
  when /^300023(-|_| )?Konzepte(-|_| )?und(-|_| )?Arbeitsmethoden(-|_| )?zu(-|_| )?Evolution,?(-|_| )?Systematik(-|_| )?und(-|_| )?Biogeographie(-|_| )?der(-|_| )?Pflanzen$/i,
       /^Konzepte(-|_| )?und(-|_| )?Arbeitsmethoden(-|_| )?zu(-|_| )?Evolution,?(-|_| )?Systematik(-|_| )?und(-|_| )?Biogeographie(-|_| )?der(-|_| )?Pflanzen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300023&semester=2023W"
  # ======================================================================= #
  # === rf "300548 Sozialbiologische Aspekte der Tier-Mensch Interaktion"
  # ======================================================================= #
  when /^300548(-|_| )?Sozialbiologische(-|_| )?Aspekte(-|_| )?der(-|_| )?Tier(-|_)?Mensch(-|_| )?Interaktion$/i,
       /^Sozialbiologische(-|_| )?Aspekte(-|_| )?der(-|_| )?Tier(-|_)?Mensch(-|_| )?Interaktion$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300548&semester=2024S"
  # ======================================================================= #
  # === rf "270127 Organisch-chemische Methoden"
  # ======================================================================= #
  when /^270127(-|_| )?Organisch(-|_)?chemische(-|_| )?Methoden$/i,
       /^Organisch(-|_)?chemische(-|_| )?Methoden$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270127&semester=2019W"
  # ======================================================================= #
  # === rf "301707 Embryonen- und Stammzellforschung I"
  # ======================================================================= #
  when /^301707(-|_| )?Embryonen(-|_)?(-|_| )?und(-|_| )?Stammzellforschung(-|_| )?I$/i,
       /^Embryonen(-|_)?(-|_| )?und(-|_| )?Stammzellforschung(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301707&semester=2023W"
  # ======================================================================= #
  # === rf "300208 Life history evolution: Warum leben Elefanten länger als Fliegen ?"
  # ======================================================================= #
  when /^300208(-|_| )?Life(-|_| )?history(-|_| )?evolution:(-|_| )?Warum(-|_| )?leben(-|_| )?Elefanten(-|_| )?länger(-|_| )?als(-|_| )?Fliegen(-|_| )??$/i,
       /^Life(-|_| )?history(-|_| )?evolution:(-|_| )?Warum(-|_| )?leben(-|_| )?Elefanten(-|_| )?länger(-|_| )?als(-|_| )?Fliegen(-|_| )??$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300208&semester=2018W"
  # ======================================================================= #
  # === rf "300021 Einführung in die Bioakustik"
  # ======================================================================= #
  when /^300021(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Bioakustik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Bioakustik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300021&semester=2023W"
  # ======================================================================= #
  # === rf "301211 Allgemeine und molekulare Mikrobiologie II"
  # ======================================================================= #
  when /^301211(-|_| )?Allgemeine(-|_| )?und(-|_| )?molekulare(-|_| )?Mikrobiologie(-|_| )?II$/i,
       /^Allgemeine(-|_| )?und(-|_| )?molekulare(-|_| )?Mikrobiologie(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301211&semester=2023W"
  # ======================================================================= #
  # === rf "330027 Moderne Biotechnologie in der Lebensmittelproduktion"
  # ======================================================================= #
  when /^330027(-|_| )?Moderne(-|_| )?Biotechnologie(-|_| )?in(-|_| )?der(-|_| )?Lebensmittelproduktion$/i,
       /^Moderne(-|_| )?Biotechnologie(-|_| )?in(-|_| )?der(-|_| )?Lebensmittelproduktion$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330027&semester=2017W"
  # ======================================================================= #
  # === rf "301159 Protein Design and Evolution"
  # ======================================================================= #
  when /^301159(-|_| )?Protein(-|_| )?Design(-|_| )?and(-|_| )?Evolution$/i,
       /^Protein(-|_| )?Design(-|_| )?and(-|_| )?Evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301159&semester=2019W"
  # ======================================================================= #
  # === rf "350022 BD1II - Grundlagen der Sportinformatik - Teil 2"
  # ======================================================================= #
  when /^350022(-|_| )?BD1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportinformatik(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?2$/i,
       /^BD1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportinformatik(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=350022&semester=2019S"
  # ======================================================================= #
  # === rf "270115 Protein Folding Problem"
  # ======================================================================= #
  when /^270115(-|_| )?Protein(-|_| )?Folding(-|_| )?Problem$/i,
       /^Protein(-|_| )?Folding(-|_| )?Problem$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270115&semester=2020S"
  # ======================================================================= #
  # === rf "330089 Übungen zur Mikrobiologie"
  # ======================================================================= #
  when /^330089(-|_| )?Übungen(-|_| )?zur(-|_| )?Mikrobiologie$/i,
       /^Übungen(-|_| )?zur(-|_| )?Mikrobiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330089&semester=2023S"
  # ======================================================================= #
  # === rf "300329 Einführung in die Evolutionsgenetik"
  # ======================================================================= #
  when /^300329(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Evolutionsgenetik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Evolutionsgenetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300329&semester=2022S"
  # ======================================================================= #
  # === rf "330062 Methoden der experimentellen Ernährungsforschung"
  # ======================================================================= #
  when /^330062(-|_| )?Methoden(-|_| )?der(-|_| )?experimentellen(-|_| )?Ernährungsforschung$/i,
       /^Methoden(-|_| )?der(-|_| )?experimentellen(-|_| )?Ernährungsforschung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330062&semester=2022W"
  # ======================================================================= #
  # === rf "300725 Ökophysiologie und Genetik von Mikroorganismen"
  # ======================================================================= #
  when /^300725(-|_| )?Ökophysiologie(-|_| )?und(-|_| )?Genetik(-|_| )?von(-|_| )?Mikroorganismen$/i,
       /^Ökophysiologie(-|_| )?und(-|_| )?Genetik(-|_| )?von(-|_| )?Mikroorganismen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300725&semester=2024S"
  # ======================================================================= #
  # === rf "322002 Antiinfektiva, Antineoplastika und (Bio)pharmazeutika mit Wirkung auf das Immunsystem - M2"
  # ======================================================================= #
  when /^322002(-|_| )?Antiinfektiva,?(-|_| )?Antineoplastika(-|_| )?und(-|_| )?\(?Bio\)?pharmazeutika(-|_| )?mit(-|_| )?Wirkung(-|_| )?auf(-|_| )?das(-|_| )?Immunsystem(-|_| )?(-|_)?(-|_| )?M2$/i,
       /^Antiinfektiva,?(-|_| )?Antineoplastika(-|_| )?und(-|_| )?\(?Bio\)?pharmazeutika(-|_| )?mit(-|_| )?Wirkung(-|_| )?auf(-|_| )?das(-|_| )?Immunsystem(-|_| )?(-|_)?(-|_| )?M2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322002&semester=2023W"
  # ======================================================================= #
  # === rf "270119 Freie Radikale und Antioxidantien - Relevanz, Reaktionen und Analytik"
  # ======================================================================= #
  when /^270119(-|_| )?Freie(-|_| )?Radikale(-|_| )?und(-|_| )?Antioxidantien(-|_| )?(-|_)?(-|_| )?Relevanz,?(-|_| )?Reaktionen(-|_| )?und(-|_| )?Analytik$/i,
       /^Freie(-|_| )?Radikale(-|_| )?und(-|_| )?Antioxidantien(-|_| )?(-|_)?(-|_| )?Relevanz,?(-|_| )?Reaktionen(-|_| )?und(-|_| )?Analytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270119&semester=2019S"
  # ======================================================================= #
  # === rf "321005 Grundlagen der physikalischen Chemie - B3"
  # ======================================================================= #
  when /^321005(-|_| )?Grundlagen(-|_| )?der(-|_| )?physikalischen(-|_| )?Chemie(-|_| )?(-|_)?(-|_| )?B3$/i,
       /^Grundlagen(-|_| )?der(-|_| )?physikalischen(-|_| )?Chemie(-|_| )?(-|_)?(-|_| )?B3$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321005&semester=2022W"
  # ======================================================================= #
  # === rf "301233 RNA Lecture Series"
  # ======================================================================= #
  when /^301233(-|_| )?RNA(-|_| )?Lecture(-|_| )?Series$/i,
       /^RNA(-|_| )?Lecture(-|_| )?Series$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301233&semester=2019W"
  # ======================================================================= #
  # === rf "300008 Algensymbiosen"
  # ======================================================================= #
  when /^300008(-|_| )?Algensymbiosen$/i,
       /^Algensymbiosen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300008&semester=2019S"
  # ======================================================================= #
  # === rf "300238 Biotopkartierung"
  # ======================================================================= #
  when /^300238(-|_| )?Biotopkartierung$/i,
       /^Biotopkartierung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300238&semester=2020S"
  # ======================================================================= #
  # === rf "050083 Einführung in die Bioinformatik für Medizininformatik"
  # ======================================================================= #
  when /^050083(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Bioinformatik(-|_| )?für(-|_| )?Medizininformatik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Bioinformatik(-|_| )?für(-|_| )?Medizininformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=050083&semester=2018W"
  # ======================================================================= #
  # === rf "330003 Qualitätsmanagement im Betrieb"
  # ======================================================================= #
  when /^330003(-|_| )?Qualitätsmanagement(-|_| )?im(-|_| )?Betrieb$/i,
       /^Qualitätsmanagement(-|_| )?im(-|_| )?Betrieb$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330003&semester=2019S"
  # ======================================================================= #
  # === rf "301083 Molekulare Entwicklungsbiologie der Pflanzen"
  # ======================================================================= #
  when /^301083(-|_| )?Molekulare(-|_| )?Entwicklungsbiologie(-|_| )?der(-|_| )?Pflanzen$/i,
       /^Molekulare(-|_| )?Entwicklungsbiologie(-|_| )?der(-|_| )?Pflanzen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301083&semester=2019W"
  # ======================================================================= #
  # === rf "300517 Theorie und Anwendung des Konfokal-Mikroskops"
  # ======================================================================= #
  when /^300517(-|_| )?Theorie(-|_| )?und(-|_| )?Anwendung(-|_| )?des(-|_| )?Konfokal(-|_)?Mikroskops$/i,
       /^Theorie(-|_| )?und(-|_| )?Anwendung(-|_| )?des(-|_| )?Konfokal(-|_)?Mikroskops$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300517&semester=2023S"
  # ======================================================================= #
  # === rf "322014 Einführung in die evidenzbasierte Pharmazie - M10"
  # ======================================================================= #
  when /^322014(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?evidenzbasierte(-|_| )?Pharmazie(-|_| )?(-|_)?(-|_| )?M10$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?evidenzbasierte(-|_| )?Pharmazie(-|_| )?(-|_)?(-|_| )?M10$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322014&semester=2023W"
  # ======================================================================= #
  # === rf "300129 Bio- und Chemodiversität von Nutzpflanzen"
  # ======================================================================= #
  when /^300129(-|_| )?Bio(-|_)?(-|_| )?und(-|_| )?Chemodiversität(-|_| )?von(-|_| )?Nutzpflanzen$/i,
       /^Bio(-|_)?(-|_| )?und(-|_| )?Chemodiversität(-|_| )?von(-|_| )?Nutzpflanzen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300129&semester=2019S"
  # ======================================================================= #
  # === rf "330107 Allgemeine und anorganische Chemie"
  # ======================================================================= #
  when /^330107(-|_| )?Allgemeine(-|_| )?und(-|_| )?anorganische(-|_| )?Chemie$/i,
       /^Allgemeine(-|_| )?und(-|_| )?anorganische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330107&semester=2023W"
  # ======================================================================= #
  # === rf "301120 Übung in Molekularer Genetik u. Pathologie (Zellbiologie)"
  # ======================================================================= #
  when /^301120(-|_| )?Übung(-|_| )?in(-|_| )?Molekularer(-|_| )?Genetik(-|_| )?u\.?(-|_| )?Pathologie(-|_| )?\(?Zellbiologie\)?$/i,
       /^Übung(-|_| )?in(-|_| )?Molekularer(-|_| )?Genetik(-|_| )?u\.?(-|_| )?Pathologie(-|_| )?\(?Zellbiologie\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301120&semester=2023W"
  # ======================================================================= #
  # === rf "300200 DNA sequencing: molecular protocols, Sanger sequencing and NGS"
  # ======================================================================= #
  when /^300200(-|_| )?DNA(-|_| )?sequencing:(-|_| )?molecular(-|_| )?protocols,?(-|_| )?Sanger(-|_| )?sequencing(-|_| )?and(-|_| )?NGS$/i,
       /^DNA(-|_| )?sequencing:(-|_| )?molecular(-|_| )?protocols,?(-|_| )?Sanger(-|_| )?sequencing(-|_| )?and(-|_| )?NGS$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300200&semester=2022W"
  # ======================================================================= #
  # === rf "301742 Research Report & Journal Club I"
  # ======================================================================= #
  when /^301742(-|_| )?Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?I$/i,
       /^Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301742&semester=2018W"
  # ======================================================================= #
  # === rf "301844 Advanced Techniques in Molecular Microbiology, Microbial Ecology and Immunobiology 3"
  # ======================================================================= #
  when /^301844(-|_| )?Advanced(-|_| )?Techniques(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology(-|_| )?3$/i,
       /^Advanced(-|_| )?Techniques(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology(-|_| )?3$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301844&semester=2023S"
  # ======================================================================= #
  # === rf "301745 Research Report & Journal Club I"
  # ======================================================================= #
  when /^301745(-|_| )?Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?I$/i,
       /^Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301745&semester=2022W"
  # ======================================================================= #
  # === rf "301740 Research Report & Journal Club I"
  # ======================================================================= #
  when /^301740(-|_| )?Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?I$/i,
       /^Research(-|_| )?Report(-|_| )?&(-|_| )?Journal(-|_| )?Club(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301740&semester=2018W"
  # ======================================================================= #
  # === rf "300659 Limnology Seminar - Current research and ecological concepts"
  # ======================================================================= #
  when /^300659(-|_| )?Limnology(-|_| )?Seminar(-|_| )?(-|_)?(-|_| )?Current(-|_| )?research(-|_| )?and(-|_| )?ecological(-|_| )?concepts$/i,
       /^Limnology(-|_| )?Seminar(-|_| )?(-|_)?(-|_| )?Current(-|_| )?research(-|_| )?and(-|_| )?ecological(-|_| )?concepts$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300659&semester=2019W"
  # ======================================================================= #
  # === rf "301092 Modern Concepts in Structural Biology III"
  # ======================================================================= #
  when /^301092(-|_| )?Modern(-|_| )?Concepts(-|_| )?in(-|_| )?Structural(-|_| )?Biology(-|_| )?III$/i,
       /^Modern(-|_| )?Concepts(-|_| )?in(-|_| )?Structural(-|_| )?Biology(-|_| )?III$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301092&semester=2018W"
  # ======================================================================= #
  # === rf "301247 Modern Concepts in Structural Biology I"
  # ======================================================================= #
  when /^301247(-|_| )?Modern(-|_| )?Concepts(-|_| )?in(-|_| )?Structural(-|_| )?Biology(-|_| )?I$/i,
       /^Modern(-|_| )?Concepts(-|_| )?in(-|_| )?Structural(-|_| )?Biology(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301247&semester=2023W"
  # ======================================================================= #
  # === rf "300371 Advanced topics in Molecular Biology and Physiology of Bacteria and Archaea"
  # ======================================================================= #
  when /^300371(-|_| )?Advanced(-|_| )?topics(-|_| )?in(-|_| )?Molecular(-|_| )?Biology(-|_| )?and(-|_| )?Physiology(-|_| )?of(-|_| )?Bacteria(-|_| )?and(-|_| )?Archaea$/i,
       /^Advanced(-|_| )?topics(-|_| )?in(-|_| )?Molecular(-|_| )?Biology(-|_| )?and(-|_| )?Physiology(-|_| )?of(-|_| )?Bacteria(-|_| )?and(-|_| )?Archaea$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300371&semester=2018W"
  # ======================================================================= #
  # === rf "300211 Allgemeine und Molekulare Mikrobiologie I"
  # ======================================================================= #
  when /^300211(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie(-|_| )?I$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300211&semester=2016W"
  # ======================================================================= #
  # === rf "300274 Conservation Planning - tools for mainstreaming biodiversity management"
  # ======================================================================= #
  when /^300274(-|_| )?Conservation(-|_| )?Planning(-|_| )?(-|_)?(-|_| )?tools(-|_| )?for(-|_| )?mainstreaming(-|_| )?biodiversity(-|_| )?management$/i,
       /^Conservation(-|_| )?Planning(-|_| )?(-|_)?(-|_| )?tools(-|_| )?for(-|_| )?mainstreaming(-|_| )?biodiversity(-|_| )?management$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300274&semester=2019S"
  # ======================================================================= #
  # === rf "301556 Proseminar zur Molekularen Mikrobiologie"
  # ======================================================================= #
  when /^301556(-|_| )?Proseminar(-|_| )?zur(-|_| )?Molekularen(-|_| )?Mikrobiologie$/i,
       /^Proseminar(-|_| )?zur(-|_| )?Molekularen(-|_| )?Mikrobiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301556&semester=2023W"
  # ======================================================================= #
  # === rf "301231 Special Chapters in RNA Research"
  # ======================================================================= #
  when /^301231(-|_| )?Special(-|_| )?Chapters(-|_| )?in(-|_| )?RNA(-|_| )?Research$/i,
       /^Special(-|_| )?Chapters(-|_| )?in(-|_| )?RNA(-|_| )?Research$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301231&semester=2018W"
  # ======================================================================= #
  # === rf "300347 Molecular Phylogeny and Evolution"
  # ======================================================================= #
  when /^300347(-|_| )?Molecular(-|_| )?Phylogeny(-|_| )?and(-|_| )?Evolution$/i,
       /^Molecular(-|_| )?Phylogeny(-|_| )?and(-|_| )?Evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300347&semester=2024S"
  # ======================================================================= #
  # === rf "301250 Genetisches Seminar"
  # ======================================================================= #
  when /^301250(-|_| )?Genetisches(-|_| )?Seminar$/i,
       /^Genetisches(-|_| )?Seminar$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301250&semester=2022W"
  # ======================================================================= #
  # === rf "300302 Übung in Entwicklungsbiologie"
  # ======================================================================= #
  when /^300302(-|_| )?Übung(-|_| )?in(-|_| )?Entwicklungsbiologie$/i,
       /^Übung(-|_| )?in(-|_| )?Entwicklungsbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300302&semester=2023W"
  # ======================================================================= #
  # === rf "300387 Mikrobiologische Exkursionen"
  # ======================================================================= #
  when /^300387(-|_| )?Mikrobiologische(-|_| )?Exkursionen$/i,
       /^Mikrobiologische(-|_| )?Exkursionen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300387&semester=2018W"
  # ======================================================================= #
  # === rf "301704 Molekularbiologie der Pflanzen II"
  # ======================================================================= #
  when /^301704(-|_| )?Molekularbiologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?II$/i,
       /^Molekularbiologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301704&semester=2023S"
  # ======================================================================= #
  # === rf "300530 Imaging and visualization in developmental biology"
  # ======================================================================= #
  when /^300530(-|_| )?Imaging(-|_| )?and(-|_| )?visualization(-|_| )?in(-|_| )?developmental(-|_| )?biology$/i,
       /^Imaging(-|_| )?and(-|_| )?visualization(-|_| )?in(-|_| )?developmental(-|_| )?biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300530&semester=2023S"
  # ======================================================================= #
  # === rf "300063 Biodiversität tropischer Korallenriffe"
  # ======================================================================= #
  when /^300063(-|_| )?Biodiversität(-|_| )?tropischer(-|_| )?Korallenriffe$/i,
       /^Biodiversität(-|_| )?tropischer(-|_| )?Korallenriffe$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300063&semester=2019W"
  # ======================================================================= #
  # === rf "301242 Next generation sequencing data analysis"
  # ======================================================================= #
  when /^301242(-|_| )?Next(-|_| )?generation(-|_| )?sequencing(-|_| )?data(-|_| )?analysis$/i,
       /^Next(-|_| )?generation(-|_| )?sequencing(-|_| )?data(-|_| )?analysis$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301242&semester=2017W"
  # ======================================================================= #
  # === rf "300438 Biometrisches Seminar für AnfängerInnen"
  # ======================================================================= #
  when /^300438(-|_| )?Biometrisches(-|_| )?Seminar(-|_| )?für(-|_| )?AnfängerInnen$/i,
       /^Biometrisches(-|_| )?Seminar(-|_| )?für(-|_| )?AnfängerInnen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300438&semester=2019W"
  # ======================================================================= #
  # === rf "300290 Einführung in die Bestäubungsbiologie"
  # ======================================================================= #
  when /^300290(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Bestäubungsbiologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Bestäubungsbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300290&semester=2018W"
  # ======================================================================= #
  # === rf "301246 Advanced Genetic Engineering"
  # ======================================================================= #
  when /^301246(-|_| )?Advanced(-|_| )?Genetic(-|_| )?Engineering$/i,
       /^Advanced(-|_| )?Genetic(-|_| )?Engineering$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301246&semester=2023W"
  # ======================================================================= #
  # === rf "300527 Molekulare Phylogenie auf der Basis von Museumsmaterial"
  # ======================================================================= #
  when /^300527(-|_| )?Molekulare(-|_| )?Phylogenie(-|_| )?auf(-|_| )?der(-|_| )?Basis(-|_| )?von(-|_| )?Museumsmaterial$/i,
       /^Molekulare(-|_| )?Phylogenie(-|_| )?auf(-|_| )?der(-|_| )?Basis(-|_| )?von(-|_| )?Museumsmaterial$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300527&semester=2022W"
  # ======================================================================= #
  # === rf "301275 Journal Club I"
  # ======================================================================= #
  when /^301275(-|_| )?Journal(-|_| )?Club(-|_| )?I$/i,
       /^Journal(-|_| )?Club(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301401&semester=2019W"
  # ======================================================================= #
  # === rf "300257 Forschungs- und Universitätsmanagement"
  # ======================================================================= #
  when /^300257(-|_| )?Forschungs(-|_)?(-|_| )?und(-|_| )?Universitätsmanagement$/i,
       /^Forschungs(-|_)?(-|_| )?und(-|_| )?Universitätsmanagement$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300257&semester=2018W"
  # ======================================================================= #
  # === rf "301708 Embryonen- und Stammzellforschung II"
  # ======================================================================= #
  when /^301708(-|_| )?Embryonen(-|_)?(-|_| )?und(-|_| )?Stammzellforschung(-|_| )?II$/i,
       /^Embryonen(-|_)?(-|_| )?und(-|_| )?Stammzellforschung(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301708&semester=2018W"
  # ======================================================================= #
  # === rf "301565 Grundlagen und Umgang von Geistiges Eigentum für Naturwissenschaftler"
  # ======================================================================= #
  when /^301565(-|_| )?Grundlagen(-|_| )?und(-|_| )?Umgang(-|_| )?von(-|_| )?Geistiges(-|_| )?Eigentum(-|_| )?für(-|_| )?Naturwissenschaftler$/i,
       /^Grundlagen(-|_| )?und(-|_| )?Umgang(-|_| )?von(-|_| )?Geistiges(-|_| )?Eigentum(-|_| )?für(-|_| )?Naturwissenschaftler$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301565&semester=2018W"
  # ======================================================================= #
  # === rf "301855 Wahlbeispiel Strukturbiologie"
  # ======================================================================= #
  when /^301855(-|_| )?Wahlbeispiel(-|_| )?Strukturbiologie$/i,
       /^Wahlbeispiel(-|_| )?Strukturbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301855&semester=2020S"
  # ======================================================================= #
  # === rf "300011 Wissenschaftliche Methoden der Verhaltensbiologie"
  # ======================================================================= #
  when /^300011(-|_| )?Wissenschaftliche(-|_| )?Methoden(-|_| )?der(-|_| )?Verhaltensbiologie$/i,
       /^Wissenschaftliche(-|_| )?Methoden(-|_| )?der(-|_| )?Verhaltensbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300011&semester=2019W"
  # ======================================================================= #
  # === rf "270181 Organische Chemie II für LA"
  # ======================================================================= #
  when /^270181(-|_| )?Organische(-|_| )?Chemie(-|_| )?II(-|_| )?für(-|_| )?LA$/i,
       /^Organische(-|_| )?Chemie(-|_| )?II(-|_| )?für(-|_| )?LA$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270181&semester=2019S"
  # ======================================================================= #
  # === rf "260131 Chemie für PhysikerInnen - Teil B (Organische Chemie)"
  # ======================================================================= #
  when /^260131(-|_| )?Chemie(-|_| )?für(-|_| )?PhysikerInnen(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?B(-|_| )?\(?Organische(-|_| )?Chemie\)?$/i,
       /^Chemie(-|_| )?für(-|_| )?PhysikerInnen(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?B(-|_| )?\(?Organische(-|_| )?Chemie\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=260131&semester=2017W"
  # ======================================================================= #
  # === rf "301282 Pathogene Bakterien - Molekulare Diagnostik und ihre systematische Einordung"
  # ======================================================================= #
  when /^301282(-|_| )?Pathogene(-|_| )?Bakterien(-|_| )?(-|_)?(-|_| )?Molekulare(-|_| )?Diagnostik(-|_| )?und(-|_| )?ihre(-|_| )?systematische(-|_| )?Einordung$/i,
       /^Pathogene(-|_| )?Bakterien(-|_| )?(-|_)?(-|_| )?Molekulare(-|_| )?Diagnostik(-|_| )?und(-|_| )?ihre(-|_| )?systematische(-|_| )?Einordung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301282&semester=2020W"
  # ======================================================================= #
  # === rf "300310 Grundlagen der Neurobiologie"
  # ======================================================================= #
  when /^300310(-|_| )?Grundlagen(-|_| )?der(-|_| )?Neurobiologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Neurobiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300310&semester=2019S"
  # ======================================================================= #
  # === rf "300179 Advanced Molecular Evolution - Lecture for Master- and PhD Students"
  # ======================================================================= #
  when /^300179(-|_| )?Advanced(-|_| )?Molecular(-|_| )?Evolution(-|_| )?(-|_)?(-|_| )?Lecture(-|_| )?for(-|_| )?Master(-|_)?(-|_| )?and(-|_| )?PhD(-|_| )?Students$/i,
       /^Advanced(-|_| )?Molecular(-|_| )?Evolution(-|_| )?(-|_)?(-|_| )?Lecture(-|_| )?for(-|_| )?Master(-|_)?(-|_| )?and(-|_| )?PhD(-|_| )?Students$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300179&semester=2019W"
  # ======================================================================= #
  # === rf "321021 Allgemeine Pharmakologie und Pharmakokinetik - B11"
  # ======================================================================= #
  when /^321021(-|_| )?Allgemeine(-|_| )?Pharmakologie(-|_| )?und(-|_| )?Pharmakokinetik(-|_| )?(-|_)?(-|_| )?B11$/i,
       /^Allgemeine(-|_| )?Pharmakologie(-|_| )?und(-|_| )?Pharmakokinetik(-|_| )?(-|_)?(-|_| )?B11$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321021&semester=2024S"
  # ======================================================================= #
  # === rf "301656 Übung in Cyto- und Entwicklungsgenetik"
  # ======================================================================= #
  when /^301656(-|_| )?Übung(-|_| )?in(-|_| )?Cyto(-|_)?(-|_| )?und(-|_| )?Entwicklungsgenetik$/i,
       /^Übung(-|_| )?in(-|_| )?Cyto(-|_)?(-|_| )?und(-|_| )?Entwicklungsgenetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301656&semester=2023W"
  # ======================================================================= #
  # === rf "301370 Physikalische Chemie"
  # ======================================================================= #
  when /^301370(-|_| )?Physikalische(-|_| )?Chemie$/i,
       /^Physikalische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301370&semester=2023W"
  # ======================================================================= #
  # === rf "052500 Distributed Systems Engineering"
  # ======================================================================= #
  when /^052500(-|_| )?Distributed(-|_| )?Systems(-|_| )?Engineering$/i,
       /^Distributed(-|_| )?Systems(-|_| )?Engineering$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052500&semester=2019W"
  # ======================================================================= #
  # === rf "330056 Lebensstil-/ernährungsassoziierte Erkrankungen/Diätetik"
  # ======================================================================= #
  when /^330056(-|_| )?Lebensstil(-|_)?\/?ernährungsassoziierte(-|_| )?Erkrankungen\/?Diätetik$/i,
       /^Lebensstil(-|_)?\/?ernährungsassoziierte(-|_| )?Erkrankungen\/?Diätetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330056&semester=2019W"
  # ======================================================================= #
  # === rf "330109 Warenkunde II-Produktion und Qualität tierischer Lebensmittel"
  # ======================================================================= #
  when /^330109(-|_| )?Warenkunde(-|_| )?II(-|_)?Produktion(-|_| )?und(-|_| )?Qualität(-|_| )?tierischer(-|_| )?Lebensmittel$/i,
       /^Warenkunde(-|_| )?II(-|_)?Produktion(-|_| )?und(-|_| )?Qualität(-|_| )?tierischer(-|_| )?Lebensmittel$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330109&semester=2019W"
  # ======================================================================= #
  # === rf "270058 Allgemeine Chemie B"
  # ======================================================================= #
  when /^270058(-|_| )?Allgemeine(-|_| )?Chemie(-|_| )?B$/i,
       /^Allgemeine(-|_| )?Chemie(-|_| )?B$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270058&semester=2022W"
  # ======================================================================= #
  # === rf "053521 Sequenz- und Struktur-Bioinformatik"
  # ======================================================================= #
  when /^053521(-|_| )?Sequenz(-|_)?(-|_| )?und(-|_| )?Struktur(-|_)?Bioinformatik$/i,
       /^Sequenz(-|_)?(-|_| )?und(-|_| )?Struktur(-|_)?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=053521&semester=2023S"
  # ======================================================================= #
  # === rf "301351 UE zu quantitativen Methoden für Molekulare Biologen"
  # ======================================================================= #
  when /^301351(-|_| )?UE(-|_| )?zu(-|_| )?quantitativen(-|_| )?Methoden(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i,
       /^UE(-|_| )?zu(-|_| )?quantitativen(-|_| )?Methoden(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301351&semester=2023W"
  # ======================================================================= #
  # === rf "270110 Praktikum: Analyse großer Datensätze von "omics"-typ Experimenten"
  # ======================================================================= #
  when /^270110(-|_| )?Praktikum:(-|_| )?Analyse(-|_| )?großer(-|_| )?Datensätze(-|_| )?von(-|_| )?"?omics"?(-|_)?typ(-|_| )?Experimenten$/i,
       /^Praktikum:(-|_| )?Analyse(-|_| )?großer(-|_| )?Datensätze(-|_| )?von(-|_| )?"?omics"?(-|_)?typ(-|_| )?Experimenten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270008&semester=2020W"
  # ======================================================================= #
  # === rf "300036 Biologische Invasionen"
  # ======================================================================= #
  when /^300036(-|_| )?Biologische(-|_| )?Invasionen$/i,
       /^Biologische(-|_| )?Invasionen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300036&semester=2019W"
  # ======================================================================= #
  # === rf "301711 Writing and Speaking Scientific English"
  # ======================================================================= #
  when /^301711(-|_| )?Writing(-|_| )?and(-|_| )?Speaking(-|_| )?Scientific(-|_| )?English$/i,
       /^Writing(-|_| )?and(-|_| )?Speaking(-|_| )?Scientific(-|_| )?English$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301711&semester=2019W"
  # ======================================================================= #
  # === rf "051131 Einführende Statistik"
  # ======================================================================= #
  when /^051131(-|_| )?Einführende(-|_| )?Statistik$/i,
       /^Einführende(-|_| )?Statistik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051131&semester=2019W"
  # ======================================================================= #
  # === rf "300126 Environmental cell biology"
  # ======================================================================= #
  when /^300126(-|_| )?Environmental(-|_| )?cell(-|_| )?biology$/i,
       /^Environmental(-|_| )?cell(-|_| )?biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300126&semester=2019W"
  # ======================================================================= #
  # === rf "300121 Image analysis and reconstruction of morphological datasets"
  # ======================================================================= #
  when /^300121(-|_| )?Image(-|_| )?analysis(-|_| )?and(-|_| )?reconstruction(-|_| )?of(-|_| )?morphological(-|_| )?datasets$/i,
       /^Image(-|_| )?analysis(-|_| )?and(-|_| )?reconstruction(-|_| )?of(-|_| )?morphological(-|_| )?datasets$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300121&semester=2019W"
  # ======================================================================= #
  # === rf "301758 Recent Topics in Bioinformatics IV"
  # ======================================================================= #
  when /^301758(-|_| )?Recent(-|_| )?Topics(-|_| )?in(-|_| )?Bioinformatics(-|_| )?IV$/i,
       /^Recent(-|_| )?Topics(-|_| )?in(-|_| )?Bioinformatics(-|_| )?IV$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301758&semester=2022S"
  # ======================================================================= #
  # === rf "270063 Radioaktive Metalle in der Medizin"
  # ======================================================================= #
  when /^270063(-|_| )?Radioaktive(-|_| )?Metalle(-|_| )?in(-|_| )?der(-|_| )?Medizin$/i,
       /^Radioaktive(-|_| )?Metalle(-|_| )?in(-|_| )?der(-|_| )?Medizin$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270063&semester=2019W"
  # ======================================================================= #
  # === rf "301169 Applied Machine Learning for biological problems"
  # ======================================================================= #
  when /^301169(-|_| )?Applied(-|_| )?Machine(-|_| )?Learning(-|_| )?for(-|_| )?biological(-|_| )?problems$/i,
       /^Applied(-|_| )?Machine(-|_| )?Learning(-|_| )?for(-|_| )?biological(-|_| )?problems$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301169&semester=2023W"
  # ======================================================================= #
  # === rf "270094 Ultrafast and Multidimensional Laserspectroscopy"
  # ======================================================================= #
  when /^270094(-|_| )?Ultrafast(-|_| )?and(-|_| )?Multidimensional(-|_| )?Laserspectroscopy$/i,
       /^Ultrafast(-|_| )?and(-|_| )?Multidimensional(-|_| )?Laserspectroscopy$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270094&semester=2019W"
  # ======================================================================= #
  # === rf "301465 Current Trends in Bioanalytical Technologies"
  # ======================================================================= #
  when /^301465(-|_| )?Current(-|_| )?Trends(-|_| )?in(-|_| )?Bioanalytical(-|_| )?Technologies$/i,
       /^Current(-|_| )?Trends(-|_| )?in(-|_| )?Bioanalytical(-|_| )?Technologies$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301465&semester=2023W"
  # ======================================================================= #
  # === rf "040686 STEOP: Grundzüge der ABWL"
  # ======================================================================= #
  when /^040686(-|_| )?STEOP:(-|_| )?Grundzüge(-|_| )?der(-|_| )?ABWL$/i,
       /^STEOP:(-|_| )?Grundzüge(-|_| )?der(-|_| )?ABWL$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040686&semester=2019W"
  # ======================================================================= #
  # === rf "040006 STEOP: Grundzüge der Volkswirtschaftslehre"
  # ======================================================================= #
  when /^040006(-|_| )?STEOP:(-|_| )?Grundzüge(-|_| )?der(-|_| )?Volkswirtschaftslehre$/i,
       /^STEOP:(-|_| )?Grundzüge(-|_| )?der(-|_| )?Volkswirtschaftslehre$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040006&semester=2019W"
  # ======================================================================= #
  # === rf "040022 Buchhaltung"
  # ======================================================================= #
  when /^040022(-|_| )?Buchhaltung$/i,
       /^Buchhaltung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040022&semester=2019W"
  # ======================================================================= #
  # === rf "040038 Kostenrechnung"
  # ======================================================================= #
  when /^040038(-|_| )?Kostenrechnung$/i,
       /^Kostenrechnung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040038&semester=2019W"
  # ======================================================================= #
  # === rf "051030 Programmiersprachen und -konzepte"
  # ======================================================================= #
  when /^051030(-|_| )?Programmiersprachen(-|_| )?und(-|_| )?(-|_)?konzepte$/i,
       /^Programmiersprachen(-|_| )?und(-|_| )?(-|_)?konzepte$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051030&semester=2023W"
  # ======================================================================= #
  # === rf "270126 Anorganisch-chemisches Praktikum"
  # ======================================================================= #
  when /^270126(-|_| )?Anorganisch(-|_)?chemisches(-|_| )?Praktikum$/i,
       /^Anorganisch(-|_)?chemisches(-|_| )?Praktikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270126&semester=2022W"
  # ======================================================================= #
  # === rf "270025 Wahlfachpraktikum: Proteinanalytik"
  # ======================================================================= #
  when /^270025(-|_| )?Wahlfachpraktikum:(-|_| )?Proteinanalytik$/i,
       /^Wahlfachpraktikum:(-|_| )?Proteinanalytik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270025&semester=2019W"
  # ======================================================================= #
  # === rf "300319 Plant Chromosome Structure and Evolution: theory and practice"
  # ======================================================================= #
  when /^300319(-|_| )?Plant(-|_| )?Chromosome(-|_| )?Structure(-|_| )?and(-|_| )?Evolution:(-|_| )?theory(-|_| )?and(-|_| )?practice$/i,
       /^Plant(-|_| )?Chromosome(-|_| )?Structure(-|_| )?and(-|_| )?Evolution:(-|_| )?theory(-|_| )?and(-|_| )?practice$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300319&semester=2020W"
  # ======================================================================= #
  # === rf "270079 Seminar in Biological Chemistry for post-graduates"
  # ======================================================================= #
  when /^270079(-|_| )?Seminar(-|_| )?in(-|_| )?Biological(-|_| )?Chemistry(-|_| )?for(-|_| )?post(-|_)?graduates$/i,
       /^Seminar(-|_| )?in(-|_| )?Biological(-|_| )?Chemistry(-|_| )?for(-|_| )?post(-|_)?graduates$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270079&semester=2019W"
  # ======================================================================= #
  # === rf "330103 Grundlagen der Chemie, 4ECTS"
  # ======================================================================= #
  when /^330103(-|_| )?Grundlagen(-|_| )?der(-|_| )?Chemie,?(-|_| )?4ECTS$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Chemie,?(-|_| )?4ECTS$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330103&semester=2019W"
  # ======================================================================= #
  # === rf "330039 Lebensmittelrecht"
  # ======================================================================= #
  when /^330039(-|_| )?Lebensmittelrecht$/i,
       /^Lebensmittelrecht$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330039&semester=2023W"
  # ======================================================================= #
  # === rf "300280 Ökologie der Moore"
  # ======================================================================= #
  when /^300280(-|_| )?Ökologie(-|_| )?der(-|_| )?Moore$/i,
       /^Ökologie(-|_| )?der(-|_| )?Moore$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300280&semester=2019W"
  # ======================================================================= #
  # === rf "301282 Essential scientific writing"
  # ======================================================================= #
  when /^301282(-|_| )?Essential(-|_| )?scientific(-|_| )?writing$/i,
       /^Essential(-|_| )?scientific(-|_| )?writing$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301282&semester=2022S"
  # ======================================================================= #
  # === rf "330029 Ernährung und Gen Regulation"
  # ======================================================================= #
  when /^330029(-|_| )?Ernährung(-|_| )?und(-|_| )?Gen(-|_| )?Regulation$/i,
       /^Ernährung(-|_| )?und(-|_| )?Gen(-|_| )?Regulation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330029&semester=2018W"
  # ======================================================================= #
  # === rf "323005 Preclinical Drug Development - MPS4"
  # ======================================================================= #
  when /^323005(-|_| )?Preclinical(-|_| )?Drug(-|_| )?Development(-|_| )?(-|_)?(-|_| )?MPS4$/i,
       /^Preclinical(-|_| )?Drug(-|_| )?Development(-|_| )?(-|_)?(-|_| )?MPS4$/i
    "https://ufind.univie.ac.at/de/course.html?lv=323005&semester=2019W"
  # ======================================================================= #
  # === rf "300098 Anatomie und Gesundheitslehre des Menschen"
  # ======================================================================= #
  when /^300098(-|_| )?Anatomie(-|_| )?und(-|_| )?Gesundheitslehre(-|_| )?des(-|_| )?Menschen$/i,
       /^Anatomie(-|_| )?und(-|_| )?Gesundheitslehre(-|_| )?des(-|_| )?Menschen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300098&semester=2019W"
  # ======================================================================= #
  # === rf "321024 Arzneistoffanalytik - B12"
  # ======================================================================= #
  when /^321024(-|_| )?Arzneistoffanalytik(-|_| )?(-|_)?(-|_| )?B12$/i,
       /^Arzneistoffanalytik(-|_| )?(-|_)?(-|_| )?B12$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321024&semester=2022W"
  # ======================================================================= #
  # === rf "321013 Arzneistoffsynthese - B7"
  # ======================================================================= #
  when /^321013(-|_| )?Arzneistoffsynthese(-|_| )?(-|_)?(-|_| )?B7$/i,
       /^Arzneistoffsynthese(-|_| )?(-|_)?(-|_| )?B7$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321013&semester=2022W"
  # ======================================================================= #
  # === rf "300040 Histologische Techniken, Mikroskopie und 3D-Rekonstruktion"
  # ======================================================================= #
  when /^300040(-|_| )?Histologische(-|_| )?Techniken,?(-|_| )?Mikroskopie(-|_| )?und(-|_| )?3D(-|_)?Rekonstruktion$/i,
       /^Histologische(-|_| )?Techniken,?(-|_| )?Mikroskopie(-|_| )?und(-|_| )?3D(-|_)?Rekonstruktion$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301620&semester=2019W"
  # ======================================================================= #
  # === rf "300220 Kulturtechniken von Mikroalgen und ökophysiologische Experimente"
  # ======================================================================= #
  when /^300220(-|_| )?Kulturtechniken(-|_| )?von(-|_| )?Mikroalgen(-|_| )?und(-|_| )?ökophysiologische(-|_| )?Experimente$/i,
       /^Kulturtechniken(-|_| )?von(-|_| )?Mikroalgen(-|_| )?und(-|_| )?ökophysiologische(-|_| )?Experimente$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300220&semester=2019W"
  # ======================================================================= #
  # === rf "321035 Pharmazeutische Qualität biogener Arzneimittel - B19"
  # ======================================================================= #
  when /^321035(-|_| )?Pharmazeutische(-|_| )?Qualität(-|_| )?biogener(-|_| )?Arzneimittel(-|_| )?(-|_)?(-|_| )?B19$/i,
       /^Pharmazeutische(-|_| )?Qualität(-|_| )?biogener(-|_| )?Arzneimittel(-|_| )?(-|_)?(-|_| )?B19$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321035&semester=2019W"
  # ======================================================================= #
  # === rf "321010 Grundlagen der Arzneistoffsynthese - B6"
  # ======================================================================= #
  when /^321010(-|_| )?Grundlagen(-|_| )?der(-|_| )?Arzneistoffsynthese(-|_| )?(-|_)?(-|_| )?B6$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Arzneistoffsynthese(-|_| )?(-|_)?(-|_| )?B6$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321010&semester=2022S"
  # ======================================================================= #
  # === rf "321033 Einführung in Produktionsprozesse und Qualitätskontrolle in der Pharm. Technologie - B18"
  # ======================================================================= #
  when /^321033(-|_| )?Einführung(-|_| )?in(-|_| )?Produktionsprozesse(-|_| )?und(-|_| )?Qualitätskontrolle(-|_| )?in(-|_| )?der(-|_| )?Pharm\.?(-|_| )?Technologie(-|_| )?(-|_)?(-|_| )?B18$/i,
       /^Einführung(-|_| )?in(-|_| )?Produktionsprozesse(-|_| )?und(-|_| )?Qualitätskontrolle(-|_| )?in(-|_| )?der(-|_| )?Pharm\.?(-|_| )?Technologie(-|_| )?(-|_)?(-|_| )?B18$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321033&semester=2022W"
  # ======================================================================= #
  # === rf "321006 Grundlagen der Arzneibuchanalytik - B4"
  # ======================================================================= #
  when /^321006(-|_| )?Grundlagen(-|_| )?der(-|_| )?Arzneibuchanalytik(-|_| )?(-|_)?(-|_| )?B4$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Arzneibuchanalytik(-|_| )?(-|_)?(-|_| )?B4$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321006&semester=2022W"
  # ======================================================================= #
  # === rf "321034 Produktionsprozesse und Qualitätskontrolle in der Pharmazeutischen Technologie - B18"
  # ======================================================================= #
  when /^321034(-|_| )?Produktionsprozesse(-|_| )?und(-|_| )?Qualitätskontrolle(-|_| )?in(-|_| )?der(-|_| )?Pharmazeutischen(-|_| )?Technologie(-|_| )?(-|_)?(-|_| )?B18$/i,
       /^Produktionsprozesse(-|_| )?und(-|_| )?Qualitätskontrolle(-|_| )?in(-|_| )?der(-|_| )?Pharmazeutischen(-|_| )?Technologie(-|_| )?(-|_)?(-|_| )?B18$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321034&semester=2020W"
  # ======================================================================= #
  # === rf "321019 Allgemeine Toxikologie - B11"
  # ======================================================================= #
  when /^321019(-|_| )?Allgemeine(-|_| )?Toxikologie(-|_| )?(-|_)?(-|_| )?B11$/i,
       /^Allgemeine(-|_| )?Toxikologie(-|_| )?(-|_)?(-|_| )?B11$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321019&semester=2024S"
  # ======================================================================= #
  # === rf "270170 Einführung zum Programmieren in C und C++"
  # ======================================================================= #
  when /^270170(-|_| )?Einführung(-|_| )?zum(-|_| )?Programmieren(-|_| )?in(-|_| )?C(-|_| )?und(-|_| )?C++$/i,
       /^Einführung(-|_| )?zum(-|_| )?Programmieren(-|_| )?in(-|_| )?C(-|_| )?und(-|_| )?C++$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270170&semester=2019W"
  # ======================================================================= #
  # === rf "270170 Wissenschaftliches Protokollieren mit LaTeX"
  # ======================================================================= #
  when /^270170(-|_| )?Wissenschaftliches(-|_| )?Protokollieren(-|_| )?mit(-|_| )?LaTeX$/i,
       /^Wissenschaftliches(-|_| )?Protokollieren(-|_| )?mit(-|_| )?LaTeX$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270170&semester=2018W"
  # ======================================================================= #
  # === rf "300171 Verfassen wissenschaftlicher Arbeiten"
  # ======================================================================= #
  when /^300171(-|_| )?Verfassen(-|_| )?wissenschaftlicher(-|_| )?Arbeiten$/i,
       /^Verfassen(-|_| )?wissenschaftlicher(-|_| )?Arbeiten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300171&semester=2019W"
  # ======================================================================= #
  # === rf "270044 Physik für das Lehramt Chemie"
  # ======================================================================= #
  when /^270044(-|_| )?Physik(-|_| )?für(-|_| )?das(-|_| )?Lehramt(-|_| )?Chemie$/i,
       /^Physik(-|_| )?für(-|_| )?das(-|_| )?Lehramt(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270044&semester=2019W"
  # ======================================================================= #
  # === rf "300558 Kommunikation im Tierreich"
  # ======================================================================= #
  when /^300558(-|_| )?Kommunikation(-|_| )?im(-|_| )?Tierreich$/i,
       /^Kommunikation(-|_| )?im(-|_| )?Tierreich$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300558&semester=2019W"
  # ======================================================================= #
  # === rf "301443 Zellbiologie"
  # ======================================================================= #
  when /^301443(-|_| )?Zellbiologie$/i,
       /^Zellbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301443&semester=2018S"
  # ======================================================================= #
  # === rf "300437 Medizinisch-parasitologisches Praktikum und Seminar"
  # ======================================================================= #
  when /^300437(-|_| )?Medizinisch(-|_)?parasitologisches(-|_| )?Praktikum(-|_| )?und(-|_| )?Seminar$/i,
       /^Medizinisch(-|_)?parasitologisches(-|_| )?Praktikum(-|_| )?und(-|_| )?Seminar$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300437&semester=2019W"
  # ======================================================================= #
  # === rf "301095 Licht, Hormone und Rhythmen in Pflanzen und Tieren"
  # ======================================================================= #
  when /^301095(-|_| )?Licht,?(-|_| )?Hormone(-|_| )?und(-|_| )?Rhythmen(-|_| )?in(-|_| )?Pflanzen(-|_| )?und(-|_| )?Tieren$/i,
       /^Licht,?(-|_| )?Hormone(-|_| )?und(-|_| )?Rhythmen(-|_| )?in(-|_| )?Pflanzen(-|_| )?und(-|_| )?Tieren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301095&semester=2023W"
  # ======================================================================= #
  # === rf "301432 RNA-Profiling in Mikrobiologie/Immunologie"
  # ======================================================================= #
  when /^301432(-|_| )?RNA(-|_)?Profiling(-|_| )?in(-|_| )?Mikrobiologie\/?Immunologie$/i,
       /^RNA(-|_)?Profiling(-|_| )?in(-|_| )?Mikrobiologie\/?Immunologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301432&semester=2023W"
  # ======================================================================= #
  # === rf "301565 How to protect your creative work"
  # ======================================================================= #
  when /^301565(-|_| )?How(-|_| )?to(-|_| )?protect(-|_| )?your(-|_| )?creative(-|_| )?work$/i,
       /^How(-|_| )?to(-|_| )?protect(-|_| )?your(-|_| )?creative(-|_| )?work$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301565&semester=2019W"
  # ======================================================================= #
  # === rf "300358 Metabolomics"
  # ======================================================================= #
  when /^300358(-|_| )?Metabolomics$/i,
       /^Metabolomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300358&semester=2023W"
  # ======================================================================= #
  # === rf "270086 Forschungsbeispiel aus Chem- und Bioinformatik"
  # ======================================================================= #
  when /^270086(-|_| )?Forschungsbeispiel(-|_| )?aus(-|_| )?Chem(-|_)?(-|_| )?und(-|_| )?Bioinformatik$/i,
       /^Forschungsbeispiel(-|_| )?aus(-|_| )?Chem(-|_)?(-|_| )?und(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270086&semester=2019W"
  # ======================================================================= #
  # === rf "270166 VO+SE Laser-induced Phase Transitions"
  # ======================================================================= #
  when /^270166(-|_| )?VO+SE(-|_| )?Laser(-|_)?induced(-|_| )?Phase(-|_| )?Transitions$/i,
       /^VO+SE(-|_| )?Laser(-|_)?induced(-|_| )?Phase(-|_| )?Transitions$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270166&semester=2019W"
  # ======================================================================= #
  # === rf "270224 Heterocyclische Chemie und Wirkstoffsynthese"
  # ======================================================================= #
  when /^270224(-|_| )?Heterocyclische(-|_| )?Chemie(-|_| )?und(-|_| )?Wirkstoffsynthese$/i,
       /^Heterocyclische(-|_| )?Chemie(-|_| )?und(-|_| )?Wirkstoffsynthese$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270224&semester=2019W"
  # ======================================================================= #
  # === rf "270102 Analysenmethoden der Forschungsrichtung Metabolomics"
  # ======================================================================= #
  when /^270102(-|_| )?Analysenmethoden(-|_| )?der(-|_| )?Forschungsrichtung(-|_| )?Metabolomics$/i,
       /^Analysenmethoden(-|_| )?der(-|_| )?Forschungsrichtung(-|_| )?Metabolomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270102&semester=2019W"
  # ======================================================================= #
  # === rf "270006 Praktikum: Hochleistungschromatographie"
  # ======================================================================= #
  when /^270006(-|_| )?Praktikum:(-|_| )?Hochleistungschromatographie$/i,
       /^Praktikum:(-|_| )?Hochleistungschromatographie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270006&semester=2019W"
  # ======================================================================= #
  # === rf "270003 Strukturorientierte Recherchen in Datenbanken"
  # ======================================================================= #
  when /^270003(-|_| )?Strukturorientierte(-|_| )?Recherchen(-|_| )?in(-|_| )?Datenbanken$/i,
       /^Strukturorientierte(-|_| )?Recherchen(-|_| )?in(-|_| )?Datenbanken$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270003&semester=2019W"
  # ======================================================================= #
  # === rf "270151 SE Neue Entwicklungen in der RNA Bioinformatik"
  # ======================================================================= #
  when /^270151(-|_| )?SE(-|_| )?Neue(-|_| )?Entwicklungen(-|_| )?in(-|_| )?der(-|_| )?RNA(-|_| )?Bioinformatik$/i,
       /^SE(-|_| )?Neue(-|_| )?Entwicklungen(-|_| )?in(-|_| )?der(-|_| )?RNA(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270151&semester=2019W"
  # ======================================================================= #
  # === rf "270313 Übungen aus Lebensmittelmikrobiologie und Hygiene"
  # ======================================================================= #
  when /^270313(-|_| )?Übungen(-|_| )?aus(-|_| )?Lebensmittelmikrobiologie(-|_| )?und(-|_| )?Hygiene$/i,
       /^Übungen(-|_| )?aus(-|_| )?Lebensmittelmikrobiologie(-|_| )?und(-|_| )?Hygiene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270313&semester=2019W"
  # ======================================================================= #
  # === rf "300504 Anleitung zum Verfassen eines wissenschaftlichen Artikels"
  # ======================================================================= #
  when /^300504(-|_| )?Anleitung(-|_| )?zum(-|_| )?Verfassen(-|_| )?eines(-|_| )?wissenschaftlichen(-|_| )?Artikels$/i,
       /^Anleitung(-|_| )?zum(-|_| )?Verfassen(-|_| )?eines(-|_| )?wissenschaftlichen(-|_| )?Artikels$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300504&semester=2019W"
  # ======================================================================= #
  # === rf "300149 Licht- und Videomikroskopie in Theorie und Praxis (in Parallelen)"
  # ======================================================================= #
  when /^300149(-|_| )?Licht(-|_)?(-|_| )?und(-|_| )?Videomikroskopie(-|_| )?in(-|_| )?Theorie(-|_| )?und(-|_| )?Praxis(-|_| )?\(?in(-|_| )?Parallelen\)?$/i,
       /^Licht(-|_)?(-|_| )?und(-|_| )?Videomikroskopie(-|_| )?in(-|_| )?Theorie(-|_| )?und(-|_| )?Praxis(-|_| )?\(?in(-|_| )?Parallelen\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300149&semester=2019W"
  # ======================================================================= #
  # === rf "052120 Advanced Topics in Algorithms"
  # ======================================================================= #
  when /^052120(-|_| )?Advanced(-|_| )?Topics(-|_| )?in(-|_| )?Algorithms$/i,
       /^Advanced(-|_| )?Topics(-|_| )?in(-|_| )?Algorithms$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052120&semester=2019W"
  # ======================================================================= #
  # === rf "323004 Drug Discovery - MPS3"
  # ======================================================================= #
  when /^323004(-|_| )?Drug(-|_| )?Discovery(-|_| )?(-|_)?(-|_| )?MPS3$/i,
       /^Drug(-|_| )?Discovery(-|_| )?(-|_)?(-|_| )?MPS3$/i
    "https://ufind.univie.ac.at/de/course.html?lv=323004&semester=2019W"
  # ======================================================================= #
  # === rf "300105 Schreibwerkstatt für Biologen"
  # ======================================================================= #
  when /^300105(-|_| )?Schreibwerkstatt(-|_| )?für(-|_| )?Biologen$/i,
       /^Schreibwerkstatt(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300105&semester=2019W"
  # ======================================================================= #
  # === rf "269002 Computational Concepts in Physics I"
  # ======================================================================= #
  when /^269002(-|_| )?Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Physics(-|_| )?I$/i,
       /^Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Physics(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=269002&semester=2019W"
  # ======================================================================= #
  # === rf "300366 Advances in Molecular Microbial Ecology and Evolution 1"
  # ======================================================================= #
  when /^300366(-|_| )?Advances(-|_| )?in(-|_| )?Molecular(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Evolution(-|_| )?1$/i,
       /^Advances(-|_| )?in(-|_| )?Molecular(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Evolution(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300366&semester=2020W"
  # ======================================================================= #
  # === rf "300463 Parasitäre Infektionen - Immunbiologie und Immundiagnostik parasitärer Infektionen"
  # ======================================================================= #
  when /^300463(-|_| )?Parasitäre(-|_| )?Infektionen(-|_| )?(-|_)?(-|_| )?Immunbiologie(-|_| )?und(-|_| )?Immundiagnostik(-|_| )?parasitärer(-|_| )?Infektionen$/i,
       /^Parasitäre(-|_| )?Infektionen(-|_| )?(-|_)?(-|_| )?Immunbiologie(-|_| )?und(-|_| )?Immundiagnostik(-|_| )?parasitärer(-|_| )?Infektionen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300463&semester=2019W"
  # ======================================================================= #
  # === rf "300114 Current Topics in Molecular Microbial Ecology and Evolution 2"
  # ======================================================================= #
  when /^300114(-|_| )?Current(-|_| )?Topics(-|_| )?in(-|_| )?Molecular(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Evolution(-|_| )?2$/i,
       /^Current(-|_| )?Topics(-|_| )?in(-|_| )?Molecular(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Evolution(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300114&semester=2019W"
  # ======================================================================= #
  # === rf "300354 Molecular phylogenetics and phylogenomics"
  # ======================================================================= #
  when /^300354(-|_| )?Molecular(-|_| )?phylogenetics(-|_| )?and(-|_| )?phylogenomics$/i,
       /^Molecular(-|_| )?phylogenetics(-|_| )?and(-|_| )?phylogenomics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300354&semester=2020W"
  # ======================================================================= #
  # === rf "300104 "Hands on"- Kryopräparation biologischer Proben für ultrastrukturelle Studien"
  # ======================================================================= #
  when /^300104(-|_| )?"?Hands(-|_| )?on"?(-|_)?(-|_| )?Kryopräparation(-|_| )?biologischer(-|_| )?Proben(-|_| )?für(-|_| )?ultrastrukturelle(-|_| )?Studien$/i,
       /^"?Hands(-|_| )?on"?(-|_)?(-|_| )?Kryopräparation(-|_| )?biologischer(-|_| )?Proben(-|_| )?für(-|_| )?ultrastrukturelle(-|_| )?Studien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300104&semester=2019W"
  # ======================================================================= #
  # === rf "300158 New concepts in light- and electron microscopy (scientific results, instruments, methods)"
  # ======================================================================= #
  when /^300158(-|_| )?New(-|_| )?concepts(-|_| )?in(-|_| )?light(-|_)?(-|_| )?and(-|_| )?electron(-|_| )?microscopy(-|_| )?\(?scientific(-|_| )?results,?(-|_| )?instruments,?(-|_| )?methods\)?$/i,
       /^New(-|_| )?concepts(-|_| )?in(-|_| )?light(-|_)?(-|_| )?and(-|_| )?electron(-|_| )?microscopy(-|_| )?\(?scientific(-|_| )?results,?(-|_| )?instruments,?(-|_| )?methods\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300158&semester=2020W"
  # ======================================================================= #
  # === rf "301165 Fachliteraturseminar Biochemie"
  # ======================================================================= #
  when /^301165(-|_| )?Fachliteraturseminar(-|_| )?Biochemie$/i,
       /^Fachliteraturseminar(-|_| )?Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301165&semester=2020W"
  # ======================================================================= #
  # === rf "270030 NMR-Spektroskopie von Biomolekülen"
  # ======================================================================= #
  when /^270030(-|_| )?NMR(-|_)?Spektroskopie(-|_| )?von(-|_| )?Biomolekülen$/i,
       /^NMR(-|_)?Spektroskopie(-|_| )?von(-|_| )?Biomolekülen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270032&semester=2020W"
  # ======================================================================= #
  # === rf "270222 Praktikum - Spezielle Synthesechemie"
  # ======================================================================= #
  when /^270222(-|_| )?Praktikum(-|_| )?(-|_)?(-|_| )?Spezielle(-|_| )?Synthesechemie$/i,
       /^Praktikum(-|_| )?(-|_)?(-|_| )?Spezielle(-|_| )?Synthesechemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270222&semester=2019W"
  # ======================================================================= #
  # === rf "300089 HTML I, Programmieren für das Internet"
  # ======================================================================= #
  when /^300089(-|_| )?HTML(-|_| )?I,?(-|_| )?Programmieren(-|_| )?für(-|_| )?das(-|_| )?Internet$/i,
       /^HTML(-|_| )?I,?(-|_| )?Programmieren(-|_| )?für(-|_| )?das(-|_| )?Internet$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300089&semester=2019W"
  # ======================================================================= #
  # === rf "300062 Computerunterstützte Präsentationstechniken"
  # ======================================================================= #
  when /^300062(-|_| )?Computerunterstützte(-|_| )?Präsentationstechniken$/i,
       /^Computerunterstützte(-|_| )?Präsentationstechniken$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300062&semester=2019W"
  # ======================================================================= #
  # === rf "301115 Übung in Molekularer Entwicklungs- und Neurobiologie"
  # ======================================================================= #
  when /^301115(-|_| )?Übung(-|_| )?in(-|_| )?Molekularer(-|_| )?Entwicklungs(-|_)?(-|_| )?und(-|_| )?Neurobiologie$/i,
       /^Übung(-|_| )?in(-|_| )?Molekularer(-|_| )?Entwicklungs(-|_)?(-|_| )?und(-|_| )?Neurobiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301115&semester=2019S"
  # ======================================================================= #
  # === rf "270076 Seminar Bioanorganische Chemie"
  # ======================================================================= #
  when /^270076(-|_| )?Seminar(-|_| )?Bioanorganische(-|_| )?Chemie$/i,
       /^Seminar(-|_| )?Bioanorganische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270076&semester=2019S"
  # ======================================================================= #
  # === rf "052101 Numerical Algorithms"
  # ======================================================================= #
  when /^052101(-|_| )?Numerical(-|_| )?Algorithms$/i,
       /^Numerical(-|_| )?Algorithms$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052101&semester=2024S"
  # ======================================================================= #
  # === rf "270164 Bioinformatische Auswertungsstrategien"
  # ======================================================================= #
  when /^270164(-|_| )?Bioinformatische(-|_| )?Auswertungsstrategien$/i,
       /^Bioinformatische(-|_| )?Auswertungsstrategien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270164&semester=2022S"
  # ======================================================================= #
  # === rf "300424 Plant Morphology and Palynology"
  # ======================================================================= #
  when /^300424(-|_| )?Plant(-|_| )?Morphology(-|_| )?and(-|_| )?Palynology$/i,
       /^Plant(-|_| )?Morphology(-|_| )?and(-|_| )?Palynology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300424&semester=2018W"
  # ======================================================================= #
  # === rf "300524 Diversität und Paläobiologie der Pflanzen"
  # ======================================================================= #
  when /^300524(-|_| )?Diversität(-|_| )?und(-|_| )?Paläobiologie(-|_| )?der(-|_| )?Pflanzen$/i,
       /^Diversität(-|_| )?und(-|_| )?Paläobiologie(-|_| )?der(-|_| )?Pflanzen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300524&semester=2019S"
  # ======================================================================= #
  # === rf "300650 Das dynamische Bild der Erde (LA)"
  # ======================================================================= #
  when /^300650(-|_| )?Das(-|_| )?dynamische(-|_| )?Bild(-|_| )?der(-|_| )?Erde(-|_| )?\(?LA\)?$/i,
       /^Das(-|_| )?dynamische(-|_| )?Bild(-|_| )?der(-|_| )?Erde(-|_| )?\(?LA\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300650&semester=2018W"
  # ======================================================================= #
  # === rf "300025 Diversität und Phylogenie der Niederen Pflanzen"
  # ======================================================================= #
  when /^300025(-|_| )?Diversität(-|_| )?und(-|_| )?Phylogenie(-|_| )?der(-|_| )?Niederen(-|_| )?Pflanzen$/i,
       /^Diversität(-|_| )?und(-|_| )?Phylogenie(-|_| )?der(-|_| )?Niederen(-|_| )?Pflanzen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300025&semester=2018W"
  # ======================================================================= #
  # === rf "052712 Network Security"
  # ======================================================================= #
  when /^052712(-|_| )?Network(-|_| )?Security$/i,
       /^Network(-|_| )?Security$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052712&semester=2019S"
  # ======================================================================= #
  # === rf "300665 Einführung in die Biochemie und Molekularbiologie (für Lehramtskandidaten)"
  # ======================================================================= #
  when /^300665(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biochemie(-|_| )?und(-|_| )?Molekularbiologie(-|_| )?\(?für(-|_| )?Lehramtskandidaten\)?$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Biochemie(-|_| )?und(-|_| )?Molekularbiologie(-|_| )?\(?für(-|_| )?Lehramtskandidaten\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300665&semester=2017W"
  # ======================================================================= #
  # === rf "321009 Nasschemische Arzneibuchanalytik - B5"
  # ======================================================================= #
  when /^321009(-|_| )?Nasschemische(-|_| )?Arzneibuchanalytik(-|_| )?(-|_)?(-|_| )?B5$/i,
       /^Nasschemische(-|_| )?Arzneibuchanalytik(-|_| )?(-|_)?(-|_| )?B5$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321009&semester=2022S"
  # ======================================================================= #
  # === rf "260108 Praktikum Elektronik"
  # ======================================================================= #
  when /^260108(-|_| )?Praktikum(-|_| )?Elektronik$/i,
       /^Praktikum(-|_| )?Elektronik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=260108&semester=2019S"
  # ======================================================================= #
  # === rf "290089 Programmierung in der Geoinformation"
  # ======================================================================= #
  when /^290089(-|_| )?Programmierung(-|_| )?in(-|_| )?der(-|_| )?Geoinformation$/i,
       /^Programmierung(-|_| )?in(-|_| )?der(-|_| )?Geoinformation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=290089&semester=2018W"
  # ======================================================================= #
  # === rf "330152 Statistische Datenanalyse mit R"
  # ======================================================================= #
  when /^330152(-|_| )?Statistische(-|_| )?Datenanalyse(-|_| )?mit(-|_| )?R$/i,
       /^Statistische(-|_| )?Datenanalyse(-|_| )?mit(-|_| )?R$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330098&semester=2018W"
  # ======================================================================= #
  # === rf "270059 Theoretische Chemie"
  # ======================================================================= #
  when /^270059(-|_| )?Theoretische(-|_| )?Chemie$/i,
       /^Theoretische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270059&semester=2018W"
  # ======================================================================= #
  # === rf "270061 Anorganische Chemie I"
  # ======================================================================= #
  when /^270061(-|_| )?Anorganische(-|_| )?Chemie(-|_| )?I$/i,
       /^Anorganische(-|_| )?Chemie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270061&semester=2019S"
  # ======================================================================= #
  # === rf "270011 Erstellen der Bachelorarbeit A"
  # ======================================================================= #
  when /^270011(-|_| )?Erstellen(-|_| )?der(-|_| )?Bachelorarbeit(-|_| )?A$/i,
       /^Erstellen(-|_| )?der(-|_| )?Bachelorarbeit(-|_| )?A$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270011&semester=2019S"
  # ======================================================================= #
  # === rf "270132 Organisch-chemisches Praktikum"
  # ======================================================================= #
  when /^270132(-|_| )?Organisch(-|_)?chemisches(-|_| )?Praktikum$/i,
       /^Organisch(-|_)?chemisches(-|_| )?Praktikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270132&semester=2019S"
  # ======================================================================= #
  # === rf "270186 Organische Chemie I"
  # ======================================================================= #
  when /^270186(-|_| )?Organische(-|_| )?Chemie(-|_| )?I$/i,
       /^Organische(-|_| )?Chemie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270186&semester=2019S"
  # ======================================================================= #
  # === rf "270085 Organische Chemie II"
  # ======================================================================= #
  when /^270085(-|_| )?Organische(-|_| )?Chemie(-|_| )?II$/i,
       /^Organische(-|_| )?Chemie(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270085&semester=2023W"
  # ======================================================================= #
  # === rf "270012 Wahlfachpraktikum A (Bachelormodul)"
  # ======================================================================= #
  when /^270012(-|_| )?Wahlfachpraktikum(-|_| )?A(-|_| )?\(?Bachelormodul\)?$/i,
       /^Wahlfachpraktikum(-|_| )?A(-|_| )?\(?Bachelormodul\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270012&semester=2019S"
  # ======================================================================= #
  # === rf "270024 Präsentation von Bachelorarbeiten"
  # ======================================================================= #
  when /^270024(-|_| )?Präsentation(-|_| )?von(-|_| )?Bachelorarbeiten$/i,
       /^Präsentation(-|_| )?von(-|_| )?Bachelorarbeiten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270024&semester=2019S"
  # ======================================================================= #
  # === rf "270009 Physikalische Chemie III"
  # ======================================================================= #
  when /^270009(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?III$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?III$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270009&semester=2018S"
  # ======================================================================= #
  # === rf "270145 Physikalische Chemie II"
  # ======================================================================= #
  when /^270145(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?II$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270145&semester=2018W"
  # ======================================================================= #
  # === rf "270219 Physikalische Chemie I"
  # ======================================================================= #
  when /^270219(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?I$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270219&semester=2019S"
  # ======================================================================= #
  # === rf "270140 Physikalisch-chemisches Praktikum"
  # ======================================================================= #
  when /^270140(-|_| )?Physikalisch(-|_)?chemisches(-|_| )?Praktikum$/i,
       /^Physikalisch(-|_)?chemisches(-|_| )?Praktikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270140&semester=2019S"
  # ======================================================================= #
  # === rf "051050 Software Engineering 2"
  # ======================================================================= #
  when /^051050(-|_| )?Software(-|_| )?Engineering(-|_| )?2$/i,
       /^Software(-|_| )?Engineering(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051050&semester=2018W"
  # ======================================================================= #
  # === rf "051120 Mathematische Grundlagen der Informatik 2"
  # ======================================================================= #
  when /^051120(-|_| )?Mathematische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik(-|_| )?2$/i,
       /^Mathematische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051120&semester=2019S"
  # ======================================================================= #
  # === rf "270052 Analytische Chemie I"
  # ======================================================================= #
  when /^270052(-|_| )?Analytische(-|_| )?Chemie(-|_| )?I$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270052&semester=2023S"
  # ======================================================================= #
  # === rf "321003 Steop Allgemeine Chemie für PharmazeutInnen - B2"
  # ======================================================================= #
  when /^321003(-|_| )?Steop(-|_| )?Allgemeine(-|_| )?Chemie(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?B2$/i,
       /^Steop(-|_| )?Allgemeine(-|_| )?Chemie(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?B2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321003&semester=2022S"
  # ======================================================================= #
  # === rf "330020 Bestrahlung: chemische und biologische Grundlagen- strahlenchemische Konservierung von Lebensmitteln"
  # ======================================================================= #
  when /^330020(-|_| )?Bestrahlung:(-|_| )?chemische(-|_| )?und(-|_| )?biologische(-|_| )?Grundlagen(-|_)?(-|_| )?strahlenchemische(-|_| )?Konservierung(-|_| )?von(-|_| )?Lebensmitteln$/i,
       /^Bestrahlung:(-|_| )?chemische(-|_| )?und(-|_| )?biologische(-|_| )?Grundlagen(-|_)?(-|_| )?strahlenchemische(-|_| )?Konservierung(-|_| )?von(-|_| )?Lebensmitteln$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330020&semester=2019S"
  # ======================================================================= #
  # === rf "330047 Einführung in die Vorratshaltung"
  # ======================================================================= #
  when /^330047(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Vorratshaltung$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Vorratshaltung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330047&semester=2019S"
  # ======================================================================= #
  # === rf "330101 Warenkunde I - Produktion und Qualität pflanzlicher Lebensmittel"
  # ======================================================================= #
  when /^330101(-|_| )?Warenkunde(-|_| )?I(-|_| )?(-|_)?(-|_| )?Produktion(-|_| )?und(-|_| )?Qualität(-|_| )?pflanzlicher(-|_| )?Lebensmittel$/i,
       /^Warenkunde(-|_| )?I(-|_| )?(-|_)?(-|_| )?Produktion(-|_| )?und(-|_| )?Qualität(-|_| )?pflanzlicher(-|_| )?Lebensmittel$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330101&semester=2019S"
  # ======================================================================= #
  # === rf "330058 Ernährungswissenschaftliches Seminar"
  # ======================================================================= #
  when /^330058(-|_| )?Ernährungswissenschaftliches(-|_| )?Seminar$/i,
       /^Ernährungswissenschaftliches(-|_| )?Seminar$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330058&semester=2019S"
  # ======================================================================= #
  # === rf "330001 Chemische Übungen"
  # ======================================================================= #
  when /^330001(-|_| )?Chemische(-|_| )?Übungen$/i,
       /^Chemische(-|_| )?Übungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330001&semester=2019S"
  # ======================================================================= #
  # === rf "330078 Einführung in Public Health Nutrition"
  # ======================================================================= #
  when /^330078(-|_| )?Einführung(-|_| )?in(-|_| )?Public(-|_| )?Health(-|_| )?Nutrition$/i,
       /^Einführung(-|_| )?in(-|_| )?Public(-|_| )?Health(-|_| )?Nutrition$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330078&semester=2019S"
  # ======================================================================= #
  # === rf "330104 Ernährungslehre: Energiestoffwechsel, Makronährstoffe"
  # ======================================================================= #
  when /^330104(-|_| )?Ernährungslehre:(-|_| )?Energiestoffwechsel,?(-|_| )?Makronährstoffe$/i,
       /^Ernährungslehre:(-|_| )?Energiestoffwechsel,?(-|_| )?Makronährstoffe$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330104&semester=2019W"
  # ======================================================================= #
  # === rf "330105 Ernährung als Wissenschaft"
  # ======================================================================= #
  when /^330105(-|_| )?Ernährung(-|_| )?als(-|_| )?Wissenschaft$/i,
       /^Ernährung(-|_| )?als(-|_| )?Wissenschaft$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330105&semester=2022S"
  # ======================================================================= #
  # === rf "330084 Kommunikations- und Medienforschung"
  # ======================================================================= #
  when /^330084(-|_| )?Kommunikations(-|_)?(-|_| )?und(-|_| )?Medienforschung$/i,
       /^Kommunikations(-|_)?(-|_| )?und(-|_| )?Medienforschung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330084&semester=2019S"
  # ======================================================================= #
  # === rf "330031 Übungen zur Humanernährung I"
  # ======================================================================= #
  when /^330031(-|_| )?Übungen(-|_| )?zur(-|_| )?Humanernährung(-|_| )?I$/i,
       /^Übungen(-|_| )?zur(-|_| )?Humanernährung(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330031&semester=2019S"
  # ======================================================================= #
  # === rf "330108 Übungen zur Humanernährung II"
  # ======================================================================= #
  when /^330108(-|_| )?Übungen(-|_| )?zur(-|_| )?Humanernährung(-|_| )?II$/i,
       /^Übungen(-|_| )?zur(-|_| )?Humanernährung(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330108&semester=2019S"
  # ======================================================================= #
  # === rf "330039 Einführung in die Gemeinschaftsverpflegung"
  # ======================================================================= #
  when /^330039(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Gemeinschaftsverpflegung$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Gemeinschaftsverpflegung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330039&semester=2018W"
  # ======================================================================= #
  # === rf "270104 Journal Club Analytical Chemistry"
  # ======================================================================= #
  when /^270104(-|_| )?Journal(-|_| )?Club(-|_| )?Analytical(-|_| )?Chemistry$/i,
       /^Journal(-|_| )?Club(-|_| )?Analytical(-|_| )?Chemistry$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270104&semester=2019S"
  # ======================================================================= #
  # === rf "330032 Physiologische Grundlagen körperlicher Aktivität und Ernährung"
  # ======================================================================= #
  when /^330032(-|_| )?Physiologische(-|_| )?Grundlagen(-|_| )?körperlicher(-|_| )?Aktivität(-|_| )?und(-|_| )?Ernährung$/i,
       /^Physiologische(-|_| )?Grundlagen(-|_| )?körperlicher(-|_| )?Aktivität(-|_| )?und(-|_| )?Ernährung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330032&semester=2019S"
  # ======================================================================= #
  # === rf "330006 Übungen zur Vorratshaltung"
  # ======================================================================= #
  when /^330006(-|_| )?Übungen(-|_| )?zur(-|_| )?Vorratshaltung$/i,
       /^Übungen(-|_| )?zur(-|_| )?Vorratshaltung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330006&semester=2019S"
  # ======================================================================= #
  # === rf "Basiswissen Biologie für die Bioinformatik"
  # ======================================================================= #
  when /^Basiswissen(-|_| )?Biologie(-|_| )?für(-|_| )?die(-|_| )?Bioinformatik$/i,
       /^Biologie(-|_| )?für(-|_| )?die(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/vvz_sub.html?path=238557"
  # ======================================================================= #
  # === rf "322012 Angewandte Pharmakokinetik - M9"
  # ======================================================================= #
  when /^322012(-|_| )?Angewandte(-|_| )?Pharmakokinetik(-|_| )?(-|_)?(-|_| )?M9$/i,
       /^Angewandte(-|_| )?Pharmakokinetik(-|_| )?(-|_)?(-|_| )?M9$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322012&semester=2019S"
  # ======================================================================= #
  # === rf "040136 ABWL Produktion und Logistik I"
  # ======================================================================= #
  when /^040136(-|_| )?ABWL(-|_| )?Produktion(-|_| )?und(-|_| )?Logistik(-|_| )?I$/i,
       /^ABWL(-|_| )?Produktion(-|_| )?und(-|_| )?Logistik(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040136&semester=2019S"
  # ======================================================================= #
  # === rf "330049 Lebensmitteltechnologie"
  # ======================================================================= #
  when /^330049(-|_| )?Lebensmitteltechnologie$/i,
       /^Lebensmitteltechnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330049&semester=2023W"
  # ======================================================================= #
  # === rf "300029 Einführung in die Hydrologie und Fließgewässerökologie"
  # ======================================================================= #
  when /^300029(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Hydrologie(-|_| )?und(-|_| )?Fließgewässerökologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Hydrologie(-|_| )?und(-|_| )?Fließgewässerökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300029&semester=2018W"
  # ======================================================================= #
  # === rf "300241 Tropische Ökosysteme Süd- und Mittelamerikas"
  # ======================================================================= #
  when /^300241(-|_| )?Tropische(-|_| )?Ökosysteme(-|_| )?Süd(-|_)?(-|_| )?und(-|_| )?Mittelamerikas$/i,
       /^Tropische(-|_| )?Ökosysteme(-|_| )?Süd(-|_)?(-|_| )?und(-|_| )?Mittelamerikas$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300241&semester=2018W"
  # ======================================================================= #
  # === rf "300118 Conservation research in international practice - socio-ecological perspectives and implementation"
  # ======================================================================= #
  when /^300118(-|_| )?Conservation(-|_| )?research(-|_| )?in(-|_| )?international(-|_| )?practice(-|_| )?(-|_)?(-|_| )?socio(-|_)?ecological(-|_| )?perspectives(-|_| )?and(-|_| )?implementation$/i,
       /^Conservation(-|_| )?research(-|_| )?in(-|_| )?international(-|_| )?practice(-|_| )?(-|_)?(-|_| )?socio(-|_)?ecological(-|_| )?perspectives(-|_| )?and(-|_| )?implementation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300118&semester=2018W"
  # ======================================================================= #
  # === rf "301450 Makromolekulare Kristallographie"
  # ======================================================================= #
  when /^301450(-|_| )?Makromolekulare(-|_| )?Kristallographie$/i,
       /^Makromolekulare(-|_| )?Kristallographie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301450&semester=2019S"
  # ======================================================================= #
  # === rf "301323 Cell type-specific features of the CNS"
  # ======================================================================= #
  when /^301323(-|_| )?Cell(-|_| )?type(-|_)?specific(-|_| )?features(-|_| )?of(-|_| )?the(-|_| )?CNS$/i,
       /^Cell(-|_| )?type(-|_)?specific(-|_| )?features(-|_| )?of(-|_| )?the(-|_| )?CNS$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301323&semester=2023S"
  # ======================================================================= #
  # === rf "300016 Lautäußerungen im Tierreich"
  # ======================================================================= #
  when /^300016(-|_| )?Lautäußerungen(-|_| )?im(-|_| )?Tierreich$/i,
       /^Lautäußerungen(-|_| )?im(-|_| )?Tierreich$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300016&semester=2018W"
  # ======================================================================= #
  # === rf "300148 Einführung in die Wüstenökologie. Lebensgemeinschaften subtropischer und tropischer Wüsten"
  # ======================================================================= #
  when /^300148(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Wüstenökologie\.?(-|_| )?Lebensgemeinschaften(-|_| )?subtropischer(-|_| )?und(-|_| )?tropischer(-|_| )?Wüsten$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Wüstenökologie\.?(-|_| )?Lebensgemeinschaften(-|_| )?subtropischer(-|_| )?und(-|_| )?tropischer(-|_| )?Wüsten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300148&semester=2018W"
  # ======================================================================= #
  # === rf "300124 Österreichs Vogelwelt"
  # ======================================================================= #
  when /^300124(-|_| )?Österreichs(-|_| )?Vogelwelt$/i,
       /^Österreichs(-|_| )?Vogelwelt$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300124&semester=2018W"
  # ======================================================================= #
  # === rf "300073 Grundlagen der Biosystemtheorie"
  # ======================================================================= #
  when /^300073(-|_| )?Grundlagen(-|_| )?der(-|_| )?Biosystemtheorie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Biosystemtheorie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300073&semester=2018S"
  # ======================================================================= #
  # === rf "301256 Seminar zur Molekularen Strukturbiologie"
  # ======================================================================= #
  when /^301256(-|_| )?Seminar(-|_| )?zur(-|_| )?Molekularen(-|_| )?Strukturbiologie$/i,
       /^Seminar(-|_| )?zur(-|_| )?Molekularen(-|_| )?Strukturbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301256&semester=2020S"
  # ======================================================================= #
  # === rf "300030 Chemische Übungen für Biologen"
  # ======================================================================= #
  when /^300030(-|_| )?Chemische(-|_| )?Übungen(-|_| )?für(-|_| )?Biologen$/i,
       /^Chemische(-|_| )?Übungen(-|_| )?für(-|_| )?Biologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300030&semester=2023W"
  # ======================================================================= #
  # === rf "300049 Methoden der Neurobiologie"
  # ======================================================================= #
  when /^300049(-|_| )?Methoden(-|_| )?der(-|_| )?Neurobiologie$/i,
       /^Methoden(-|_| )?der(-|_| )?Neurobiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300049&semester=2018W"
  # ======================================================================= #
  # === rf "322070 Zellkulturen als Modelle in der pharmazeutisch-technologischen Analytik - Grundlagen - M7/M14"
  # ======================================================================= #
  when /^322070(-|_| )?Zellkulturen(-|_| )?als(-|_| )?Modelle(-|_| )?in(-|_| )?der(-|_| )?pharmazeutisch(-|_)?technologischen(-|_| )?Analytik(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Zellkulturen(-|_| )?als(-|_| )?Modelle(-|_| )?in(-|_| )?der(-|_| )?pharmazeutisch(-|_)?technologischen(-|_| )?Analytik(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322070&semester=2019S"
  # ======================================================================= #
  # === rf "051133 Einführung in Numerical Computing"
  # ======================================================================= #
  when /^051133(-|_| )?Einführung(-|_| )?in(-|_| )?Numerical(-|_| )?Computing$/i,
       /^Einführung(-|_| )?in(-|_| )?Numerical(-|_| )?Computing$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051133&semester=2018W"
  # ======================================================================= #
  # === rf "051121 Mathematische Grundlagen der Informatik 2"
  # ======================================================================= #
  when /^051121(-|_| )?Mathematische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik(-|_| )?2$/i,
       /^Mathematische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051121&semester=2019S"
  # ======================================================================= #
  # === rf "052310 Softwarepraktikum Data Analysis mit Bachelorarbeit"
  # ======================================================================= #
  when /^052310(-|_| )?Softwarepraktikum(-|_| )?Data(-|_| )?Analysis(-|_| )?mit(-|_| )?Bachelorarbeit$/i,
       /^Softwarepraktikum(-|_| )?Data(-|_| )?Analysis(-|_| )?mit(-|_| )?Bachelorarbeit$/i
    "https://ufind.univie.ac.at/de/course.html?lv=052310&semester=2019S"
  # ======================================================================= #
  # === rf "322053 Anwendung neuerer spektroskopischer Techniken in der Pharmazeutischen Chemie - M14"
  # ======================================================================= #
  when /^322053(-|_| )?Anwendung(-|_| )?neuerer(-|_| )?spektroskopischer(-|_| )?Techniken(-|_| )?in(-|_| )?der(-|_| )?Pharmazeutischen(-|_| )?Chemie(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Anwendung(-|_| )?neuerer(-|_| )?spektroskopischer(-|_| )?Techniken(-|_| )?in(-|_| )?der(-|_| )?Pharmazeutischen(-|_| )?Chemie(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322053&semester=2019S"
  # ======================================================================= #
  # === rf "040119 ABWL Marketing I"
  # ======================================================================= #
  when /^040119(-|_| )?ABWL(-|_| )?Marketing(-|_| )?I$/i,
       /^ABWL(-|_| )?Marketing(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=040119&semester=2019W"
  # ======================================================================= #
  # === rf "300159 Conservation Genetics - Genetik in Natur- und Artenschutz"
  # ======================================================================= #
  when /^300159(-|_| )?Conservation(-|_| )?Genetics(-|_| )?(-|_)?(-|_| )?Genetik(-|_| )?in(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Artenschutz$/i,
       /^Conservation(-|_| )?Genetics(-|_| )?(-|_)?(-|_| )?Genetik(-|_| )?in(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Artenschutz$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300159&semester=2023S"
  # ======================================================================= #
  # === rf "270016 Massenspektrometrie"
  # ======================================================================= #
  when /^270016(-|_| )?Massenspektrometrie$/i,
       /^Massenspektrometrie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270016&semester=2019S"
  # ======================================================================= #
  # === rf "500207 Vertebrate Biomodelle"
  # ======================================================================= #
  when /^500207(-|_| )?Vertebrate(-|_| )?Biomodelle$/i,
       /^Vertebrate(-|_| )?Biomodelle$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=60169"
  # ======================================================================= #
  # === rf "094025 Molecular Targets and Intervention Strategies in Cancer and Immunity"
  # ======================================================================= #
  when /^094025(-|_| )?Molecular(-|_| )?Targets(-|_| )?and(-|_| )?Intervention(-|_| )?Strategies(-|_| )?in(-|_| )?Cancer(-|_| )?and(-|_| )?Immunity$/i,
       /^Molecular(-|_| )?Targets(-|_| )?and(-|_| )?Intervention(-|_| )?Strategies(-|_| )?in(-|_| )?Cancer(-|_| )?and(-|_| )?Immunity$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67455"
  # ======================================================================= #
  # === rf "500144 Molekularbiologie"
  # ======================================================================= #
  when /^500144(-|_| )?Molekularbiologie$/i,
       /^Molekularbiologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67375"
  # ======================================================================= #
  # === rf "500154 Grundlagen der Naturwissenschaften für Biomedizin"
  # ======================================================================= #
  when /^500154(-|_| )?Grundlagen(-|_| )?der(-|_| )?Naturwissenschaften(-|_| )?für(-|_| )?Biomedizin$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Naturwissenschaften(-|_| )?für(-|_| )?Biomedizin$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68401"
  # ======================================================================= #
  # === rf "802801 Infektion und Immunität"
  # ======================================================================= #
  when /^802801(-|_| )?Infektion(-|_| )?und(-|_| )?Immunität$/i,
       /^Infektion(-|_| )?und(-|_| )?Immunität$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68068"
  # ======================================================================= #
  # === rf "500156 Von der Zelle zum Molekül für Biomediziner"
  # ======================================================================= #
  when /^500156(-|_| )?Von(-|_| )?der(-|_| )?Zelle(-|_| )?zum(-|_| )?Molekül(-|_| )?für(-|_| )?Biomediziner$/i,
       /^Von(-|_| )?der(-|_| )?Zelle(-|_| )?zum(-|_| )?Molekül(-|_| )?für(-|_| )?Biomediziner$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68322"
  # ======================================================================= #
  # === rf "500155 Vom Gewebe zur Zelle für Biomediziner"
  # ======================================================================= #
  when /^500155(-|_| )?Vom(-|_| )?Gewebe(-|_| )?zur(-|_| )?Zelle(-|_| )?für(-|_| )?Biomediziner$/i,
       /^Vom(-|_| )?Gewebe(-|_| )?zur(-|_| )?Zelle(-|_| )?für(-|_| )?Biomediziner$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68322"
  # ======================================================================= #
  # === rf "500055 Bakteriologie für Biomediziner"
  # ======================================================================= #
  when /^500055(-|_| )?Bakteriologie(-|_| )?für(-|_| )?Biomediziner$/i,
       /^Bakteriologie(-|_| )?für(-|_| )?Biomediziner$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68393"
  # ======================================================================= #
  # === rf "500113 Übungen aus Biochemie I"
  # ======================================================================= #
  when /^500113(-|_| )?Übungen(-|_| )?aus(-|_| )?Biochemie(-|_| )?I$/i,
       /^Übungen(-|_| )?aus(-|_| )?Biochemie(-|_| )?I$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67686"
  # ======================================================================= #
  # === rf "500122 Einführung in das molekulargenetische Labor"
  # ======================================================================= #
  when /^500122(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?molekulargenetische(-|_| )?Labor$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?molekulargenetische(-|_| )?Labor$/i
    "https://online.vu-wien.ac.at/VUWonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/71627?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "500057 Bioinformatik in der Molekularbiologie"
  # ======================================================================= #
  when /^500057(-|_| )?Bioinformatik(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Bioinformatik(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67848"
  # ======================================================================= #
  # === rf "500221 Infektionsbiologie"
  # ======================================================================= #
  when /^500221(-|_| )?Infektionsbiologie$/i,
       /^Infektionsbiologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67839"
  # ======================================================================= #
  # === rf "500116 Biomedizinische Laborübungen"
  # ======================================================================= #
  when /^500116(-|_| )?Biomedizinische(-|_| )?Laborübungen$/i,
       /^Biomedizinische(-|_| )?Laborübungen$/i
    "https://online.vu-wien.ac.at/VUWonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/71313?$ctx=lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "500128 Bioanalytische Übungen"
  # ======================================================================= #
  when /^500128(-|_| )?Bioanalytische(-|_| )?Übungen$/i,
       /^Bioanalytische(-|_| )?Übungen$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67805"
  # ======================================================================= #
  # === rf "500161 Spezielle Aspekte der Genetik"
  # ======================================================================= #
  when /^500161(-|_| )?Spezielle(-|_| )?Aspekte(-|_| )?der(-|_| )?Genetik$/i,
       /^Spezielle(-|_| )?Aspekte(-|_| )?der(-|_| )?Genetik$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67755"
  # ======================================================================= #
  # === rf "500121 Übungen zur Bioinformatik in der Molekularbiologie"
  # ======================================================================= #
  when /^500121(-|_| )?Übungen(-|_| )?zur(-|_| )?Bioinformatik(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Übungen(-|_| )?zur(-|_| )?Bioinformatik(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67532"
  # ======================================================================= #
  # === rf "500212 Analyse von Hochdurchsatzdaten II"
  # ======================================================================= #
  when /^500212(-|_| )?Analyse(-|_| )?von(-|_| )?Hochdurchsatzdaten(-|_| )?II$/i,
       /^Analyse(-|_| )?von(-|_| )?Hochdurchsatzdaten(-|_| )?II$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67862"
  # ======================================================================= #
  # === rf "310103 From infectious diseases to vaccines"
  # ======================================================================= #
  when /^310103(-|_| )?From(-|_| )?infectious(-|_| )?diseases(-|_| )?to(-|_| )?vaccines$/i,
       /^From(-|_| )?infectious(-|_| )?diseases(-|_| )?to(-|_| )?vaccines$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68129"
  # ======================================================================= #
  # === rf "310102 Basic concepts of immune defense in health and disease"
  # ======================================================================= #
  when /^310102(-|_| )?Basic(-|_| )?concepts(-|_| )?of(-|_| )?immune(-|_| )?defense(-|_| )?in(-|_| )?health(-|_| )?and(-|_| )?disease$/i,
       /^Basic(-|_| )?concepts(-|_| )?of(-|_| )?immune(-|_| )?defense(-|_| )?in(-|_| )?health(-|_| )?and(-|_| )?disease$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68848"
  # ======================================================================= #
  # === rf "500209 Vergleichende Genomanalyse"
  # ======================================================================= #
  when /^500209(-|_| )?Vergleichende(-|_| )?Genomanalyse$/i,
       /^Vergleichende(-|_| )?Genomanalyse$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68314"
  # ======================================================================= #
  # === rf "500216 Tumorbiologie"
  # ======================================================================= #
  when /^500216(-|_| )?Tumorbiologie$/i,
       /^Tumorbiologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64590"
  # ======================================================================= #
  # === rf "500123 Grundlagen der Molekularbiologie"
  # ======================================================================= #
  when /^500123(-|_| )?Grundlagen(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68451"
  # ======================================================================= #
  # === rf "600011 Grundlagen der Mikrobiologie"
  # ======================================================================= #
  when /^600011(-|_| )?Grundlagen(-|_| )?der(-|_| )?Mikrobiologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Mikrobiologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64525"
  # ======================================================================= #
  # === rf "500129 Molekularbiologische Methoden"
  # ======================================================================= #
  when /^500129(-|_| )?Molekularbiologische(-|_| )?Methoden$/i,
       /^Molekularbiologische(-|_| )?Methoden$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64960"
  # ======================================================================= #
  # === rf "094020 Einführung in molekulare Methoden und Qualitätsmanagement"
  # ======================================================================= #
  when /^094020(-|_| )?Einführung(-|_| )?in(-|_| )?molekulare(-|_| )?Methoden(-|_| )?und(-|_| )?Qualitätsmanagement$/i,
       /^Einführung(-|_| )?in(-|_| )?molekulare(-|_| )?Methoden(-|_| )?und(-|_| )?Qualitätsmanagement$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68688"
  # ======================================================================= #
  # === rf "500071 Übungen aus Bakteriologie"
  # ======================================================================= #
  when /^500071(-|_| )?Übungen(-|_| )?aus(-|_| )?Bakteriologie$/i,
       /^Übungen(-|_| )?aus(-|_| )?Bakteriologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68392"
  # ======================================================================= #
  # === rf "131603 Einführung in die klinische Mikrobiologie, Pharmakologie und Ernährung"
  # ======================================================================= #
  when /^131603(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?klinische(-|_| )?Mikrobiologie,?(-|_| )?Pharmakologie(-|_| )?und(-|_| )?Ernährung$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?klinische(-|_| )?Mikrobiologie,?(-|_| )?Pharmakologie(-|_| )?und(-|_| )?Ernährung$/i
    "https://online.vu-wien.ac.at/VUWonline/wblv.wbShowLvDetail?pStpSpNr=49704"
  # ======================================================================= #
  # === rf "135806 Methoden der Immunologie"
  # ======================================================================= #
  when /^135806(-|_| )?Methoden(-|_| )?der(-|_| )?Immunologie$/i,
       /^Methoden(-|_| )?der(-|_| )?Immunologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68091"
  # ======================================================================= #
  # === rf "110605 Zellbiologie"
  # ======================================================================= #
  when /^110605(-|_| )?Zellbiologie$/i,
       /^Zellbiologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=54049"
  # ======================================================================= #
  # === rf "500151 Einführung in das molekularbiologische Labor"
  # ======================================================================= #
  when /^500151(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?molekularbiologische(-|_| )?Labor$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?molekularbiologische(-|_| )?Labor$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68061"
  # ======================================================================= #
  # === rf "500146 Grundlagen der Biotechnologie"
  # ======================================================================= #
  when /^500146(-|_| )?Grundlagen(-|_| )?der(-|_| )?Biotechnologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Biotechnologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67460"
  # ======================================================================= #
  # === rf "500215 Bioanalyse in Cancer und Infection"
  # ======================================================================= #
  when /^500215(-|_| )?Bioanalyse(-|_| )?in(-|_| )?Cancer(-|_| )?und(-|_| )?Infection$/i,
       /^Bioanalyse(-|_| )?in(-|_| )?Cancer(-|_| )?und(-|_| )?Infection$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67672"
  # ======================================================================= #
  # === rf "500109 Molekularbiologische Übungen"
  # ======================================================================= #
  when /^500109(-|_| )?Molekularbiologische(-|_| )?Übungen$/i,
       /^Molekularbiologische(-|_| )?Übungen$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67535"
  # ======================================================================= #
  # === rf "500165 Grundlagen der industriellen Biotechnologie"
  # ======================================================================= #
  when /^500165(-|_| )?Grundlagen(-|_| )?der(-|_| )?industriellen(-|_| )?Biotechnologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?industriellen(-|_| )?Biotechnologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67961"
  # ======================================================================= #
  # === rf "500222 Funktionelle Genomik der Wirt Pathogen Interaktion"
  # ======================================================================= #
  when /^500222(-|_| )?Funktionelle(-|_| )?Genomik(-|_| )?der(-|_| )?Wirt(-|_| )?Pathogen(-|_| )?Interaktion$/i,
       /^Funktionelle(-|_| )?Genomik(-|_| )?der(-|_| )?Wirt(-|_| )?Pathogen(-|_| )?Interaktion$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67675"
  # ======================================================================= #
  # === rf "500202 Immunität und Entzündung"
  # ======================================================================= #
  when /^500202(-|_| )?Immunität(-|_| )?und(-|_| )?Entzündung$/i,
       /^Immunität(-|_| )?und(-|_| )?Entzündung$/i
    "https://online.vu-wien.ac.at/VUWonline/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/72632?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "500214 Praktische Bioinformatik (UE)"
  # ======================================================================= #
  when /^500214(-|_| )?Praktische(-|_| )?Bioinformatik(-|_| )?\(?UE\)?$/i,
       /^Praktische(-|_| )?Bioinformatik(-|_| )?\(?UE\)?$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64615"
  # ======================================================================= #
  # === rf "600003 Naturwissenschaftliche Grundlagen-Chemie"
  # ======================================================================= #
  when /^600003(-|_| )?Naturwissenschaftliche(-|_| )?Grundlagen(-|_)?Chemie$/i,
       /^Naturwissenschaftliche(-|_| )?Grundlagen(-|_)?Chemie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=65681"
  # ======================================================================= #
  # === rf "310502 General methods of life sciences including statistics"
  # ======================================================================= #
  when /^310502(-|_| )?General(-|_| )?methods(-|_| )?of(-|_| )?life(-|_| )?sciences(-|_| )?including(-|_| )?statistics$/i,
       /^General(-|_| )?methods(-|_| )?of(-|_| )?life(-|_| )?sciences(-|_| )?including(-|_| )?statistics$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68021"
  # ======================================================================= #
  # === rf "500229 Methoden und Trends in der Epigenetik"
  # ======================================================================= #
  when /^500229(-|_| )?Methoden(-|_| )?und(-|_| )?Trends(-|_| )?in(-|_| )?der(-|_| )?Epigenetik$/i,
       /^Methoden(-|_| )?und(-|_| )?Trends(-|_| )?in(-|_| )?der(-|_| )?Epigenetik$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64726"
  # ======================================================================= #
  # === rf "500029 Molekulare Genetik und Biomedizin I"
  # ======================================================================= #
  when /^500029(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?und(-|_| )?Biomedizin(-|_| )?I$/i,
       /^Molekulare(-|_| )?Genetik(-|_| )?und(-|_| )?Biomedizin(-|_| )?I$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64793"
  # ======================================================================= #
  # === rf "500213 Praktische Bioinformatik (KV)"
  # ======================================================================= #
  when /^500213(-|_| )?Praktische(-|_| )?Bioinformatik(-|_| )?\(?KV\)?$/i,
       /^Praktische(-|_| )?Bioinformatik(-|_| )?\(?KV\)?$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67674"
  # ======================================================================= #
  # === rf "658112014U Medizinische Biochemie"
  # ======================================================================= #
  when /^658112014U(-|_| )?Medizinische(-|_| )?Biochemie$/i,
       /^Medizinische(-|_| )?Biochemie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68346"
  # ======================================================================= #
  # === rf "600119 Einführung in die Krankheitslehre"
  # ======================================================================= #
  when /^600119(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Krankheitslehre$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Krankheitslehre$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68048"
  # ======================================================================= #
  # === rf "300001 Introduction to Cognitive Biology"
  # ======================================================================= #
  when /^300001(-|_| )?Introduction(-|_| )?to(-|_| )?Cognitive(-|_| )?Biology$/i,
       /^Introduction(-|_| )?to(-|_| )?Cognitive(-|_| )?Biology$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=63538"
  # ======================================================================= #
  # === rf "500118 Grundlagen der Programmierung"
  # ======================================================================= #
  when /^500118(-|_| )?Grundlagen(-|_| )?der(-|_| )?Programmierung$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Programmierung$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67910"
  # ======================================================================= #
  # === rf "500150 Gentherapie für Biomediziner"
  # ======================================================================= #
  when /^500150(-|_| )?Gentherapie(-|_| )?für(-|_| )?Biomediziner$/i,
       /^Gentherapie(-|_| )?für(-|_| )?Biomediziner$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64817"
  # ======================================================================= #
  # === rf "135805 Methoden der Immunologie"
  # ======================================================================= #
  when /^135805(-|_| )?Methoden(-|_| )?der(-|_| )?Immunologie$/i,
       /^Methoden(-|_| )?der(-|_| )?Immunologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68577"
  # ======================================================================= #
  # === rf "600018 Grundlagen der Parasitologie"
  # ======================================================================= #
  when /^600018(-|_| )?Grundlagen(-|_| )?der(-|_| )?Parasitologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Parasitologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=62704"
  # ======================================================================= #
  # === rf "500014 Biologie der Parasiten"
  # ======================================================================= #
  when /^500014(-|_| )?Biologie(-|_| )?der(-|_| )?Parasiten$/i,
       /^Biologie(-|_| )?der(-|_| )?Parasiten$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=65451"
  # ======================================================================= #
  # === rf "500157 Populationsgenetik"
  # ======================================================================= #
  when /^500157(-|_| )?Populationsgenetik$/i,
       /^Populationsgenetik$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68476"
  # ======================================================================= #
  # === rf "500044 Einführung in das Arbeiten im biomedizinischen Labor"
  # ======================================================================= #
  when /^500044(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Arbeiten(-|_| )?im(-|_| )?biomedizinischen(-|_| )?Labor$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?Arbeiten(-|_| )?im(-|_| )?biomedizinischen(-|_| )?Labor$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68243"
  # ======================================================================= #
  # === rf "500217 Funktionale Tumorgenomik (KV)"
  # ======================================================================= #
  when /^500217(-|_| )?Funktionale(-|_| )?Tumorgenomik(-|_| )?\(?KV\)?$/i,
       /^Funktionale(-|_| )?Tumorgenomik(-|_| )?\(?KV\)?$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=65055"
  # ======================================================================= #
  # === rf "500158 Grundlagen der Regulationssysteme und -mechanismen für Biomedizin"
  # ======================================================================= #
  when /^500158(-|_| )?Grundlagen(-|_| )?der(-|_| )?Regulationssysteme(-|_| )?und(-|_| )?(-|_)?mechanismen(-|_| )?für(-|_| )?Biomedizin$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Regulationssysteme(-|_| )?und(-|_| )?(-|_)?mechanismen(-|_| )?für(-|_| )?Biomedizin$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68480"
  # ======================================================================= #
  # === rf "500015 Pharmakologie und Toxikologie für Biomediziner"
  # ======================================================================= #
  when /^500015(-|_| )?Pharmakologie(-|_| )?und(-|_| )?Toxikologie(-|_| )?für(-|_| )?Biomediziner$/i,
       /^Pharmakologie(-|_| )?und(-|_| )?Toxikologie(-|_| )?für(-|_| )?Biomediziner$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=61169"
  # ======================================================================= #
  # === rf "600013 Grundlagen der Statistik und Biostatistik"
  # ======================================================================= #
  when /^600013(-|_| )?Grundlagen(-|_| )?der(-|_| )?Statistik(-|_| )?und(-|_| )?Biostatistik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Statistik(-|_| )?und(-|_| )?Biostatistik$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64933"
  # ======================================================================= #
  # === rf "500054 Allgemeine Pathologie für Biomediziner"
  # ======================================================================= #
  when /^500054(-|_| )?Allgemeine(-|_| )?Pathologie(-|_| )?für(-|_| )?Biomediziner$/i,
       /^Allgemeine(-|_| )?Pathologie(-|_| )?für(-|_| )?Biomediziner$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=65638"
  # ======================================================================= #
  # === rf "108601 Grundlagen der Lebensmittelhygiene"
  # ======================================================================= #
  when /^108601(-|_| )?Grundlagen(-|_| )?der(-|_| )?Lebensmittelhygiene$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Lebensmittelhygiene$/i
    "https://online.vu-wien.ac.at/VUWonline/wblv.wbShowLvDetail?pStpSpNr=50950"
  # ======================================================================= #
  # === rf "840.005 Bioinformatik"
  # ======================================================================= #
  when /^840\.?005(-|_| )?Bioinformatik$/i,
       /^Bioinformatik$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=328529"
  # ======================================================================= #
  # === rf "500012 Grundlagen der biomedizinischen Ökonomie"
  # ======================================================================= #
  when /^500012(-|_| )?Grundlagen(-|_| )?der(-|_| )?biomedizinischen(-|_| )?Ökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?biomedizinischen(-|_| )?Ökonomie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=65121"
  # ======================================================================= #
  # === rf "500001 Grundlagen der Genetik"
  # ======================================================================= #
  when /^500001(-|_| )?Grundlagen(-|_| )?der(-|_| )?Genetik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Genetik$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67452"
  # ======================================================================= #
  # === rf "500050 Biochemie"
  # ======================================================================= #
  when /^500050(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=67577"
  # ======================================================================= #
  # === rf "500163 Übungen aus Biochemie II"
  # ======================================================================= #
  when /^500163(-|_| )?Übungen(-|_| )?aus(-|_| )?Biochemie(-|_| )?II$/i,
       /^Übungen(-|_| )?aus(-|_| )?Biochemie(-|_| )?II$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68201"
  # ======================================================================= #
  # === rf "500125 Übungen zur Statistik"
  # ======================================================================= #
  when /^500125(-|_| )?Übungen(-|_| )?zur(-|_| )?Statistik$/i,
       /^Übungen(-|_| )?zur(-|_| )?Statistik$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=65267"
  # ======================================================================= #
  # === rf "500133 Virologie für Biomediziner"
  # ======================================================================= #
  when /^500133(-|_| )?Virologie(-|_| )?für(-|_| )?Biomediziner$/i,
       /^Virologie(-|_| )?für(-|_| )?Biomediziner$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68257"
  # ======================================================================= #
  # === rf "600008 Physiologie und Biochemie"
  # ======================================================================= #
  when /^600008(-|_| )?Physiologie(-|_| )?und(-|_| )?Biochemie$/i,
       /^Physiologie(-|_| )?und(-|_| )?Biochemie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64919"
  # ======================================================================= #
  # === rf "600010 Naturwissenschaftliche Grundlagen-Physik"
  # ======================================================================= #
  when /^600010(-|_| )?Naturwissenschaftliche(-|_| )?Grundlagen(-|_)?Physik$/i,
       /^Naturwissenschaftliche(-|_| )?Grundlagen(-|_)?Physik$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=61328"
  # ======================================================================= #
  # === rf "500073 Übungen aus Histologie und Embryologie"
  # ======================================================================= #
  when /^500073(-|_| )?Übungen(-|_| )?aus(-|_| )?Histologie(-|_| )?und(-|_| )?Embryologie$/i,
       /^Übungen(-|_| )?aus(-|_| )?Histologie(-|_| )?und(-|_| )?Embryologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=59910"
  # ======================================================================= #
  # === rf "5ESB02 Übungen aus Populationsgenetik"
  # ======================================================================= #
  when /^5ESB02(-|_| )?Übungen(-|_| )?aus(-|_| )?Populationsgenetik$/i,
       /^Übungen(-|_| )?aus(-|_| )?Populationsgenetik$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=60081"
  # ======================================================================= #
  # === rf "500017 Übungen aus Pharmakologie"
  # ======================================================================= #
  when /^500017(-|_| )?Übungen(-|_| )?aus(-|_| )?Pharmakologie$/i,
       /^Übungen(-|_| )?aus(-|_| )?Pharmakologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=61239"
  # ======================================================================= #
  # === rf "500132 Immunologie für Biomediziner"
  # ======================================================================= #
  when /^500132(-|_| )?Immunologie(-|_| )?für(-|_| )?Biomediziner$/i,
       /^Immunologie(-|_| )?für(-|_| )?Biomediziner$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=68544"
  # ======================================================================= #
  # === rf "MOL.108UB Allgemeine Chemie für Studierende der Biologie (Teil II)"
  # ======================================================================= #
  when /^MOL\.?108UB(-|_| )?Allgemeine(-|_| )?Chemie(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Biologie(-|_| )?\(?Teil(-|_| )?II\)?$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=579750"
  # ======================================================================= #
  # === rf "647.107 Allgemeine Chemie für Studierende der Biologie (Teil I)"
  # ======================================================================= #
  when /^647\.?107(-|_| )?Allgemeine(-|_| )?Chemie(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Biologie(-|_| )?\(?Teil(-|_| )?I\)?$/i,
       /^Allgemeine(-|_| )?Chemie(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Biologie(-|_| )?\(?Teil(-|_| )?I\)?$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/828933?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "653.133 Physikalische Grundlagen"
  # ======================================================================= #
  when /^653\.?133(-|_| )?Physikalische(-|_| )?Grundlagen$/i,
       /^Physikalische(-|_| )?Grundlagen$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/828361?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.103_1UF Erste Hilfe"
  # ======================================================================= #
  when /^MOL\.?103_1UF(-|_| )?Erste(-|_| )?Hilfe$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=406966"
  # ======================================================================= #
  # === rf "MOL.506UF Bioprozesstechnik"
  # ======================================================================= #
  when /^MOL\.?506UF(-|_| )?Bioprozesstechnik$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=339477"
  # ======================================================================= #
  # === rf "MOL.104UF EDV Basiswissen"
  # ======================================================================= #
  when /^MOL\.?104UF(-|_| )?EDV(-|_| )?Basiswissen$/i
    "https://online.tugraz.at/tug_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/405135?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.202UB EDV II - Informationssysteme"
  # ======================================================================= #
  when /^MOL\.?202UB(-|_| )?EDV(-|_| )?II(-|_| )?(-|_)?(-|_| )?Informationssysteme$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/830773?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.504_1UF Analyse von DNA- und Proteinsequenzen"
  # ======================================================================= #
  when /^MOL\.?504_1UF(-|_| )?Analyse(-|_| )?von(-|_| )?DNA(-|_)?(-|_| )?und(-|_| )?Proteinsequenzen$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=695668"
  # ======================================================================= #
  # === rf "MOL.403UB Antibiotika und deren Wirkungsmechanismen"
  # ======================================================================= #
  when /^MOL\.?403UB(-|_| )?Antibiotika(-|_| )?und(-|_| )?deren(-|_| )?Wirkungsmechanismen$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=737765"
  # ======================================================================= #
  # === rf "MOL.603UB Molekulare Virologie"
  # ======================================================================= #
  when /^MOL\.?603UB(-|_| )?Molekulare(-|_| )?Virologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=681465"
  # ======================================================================= #
  # === rf "MOL.508UB Zellkultur"
  # ======================================================================= #
  when /^MOL\.?508UB(-|_| )?Zellkultur$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=682303"
  # ======================================================================= #
  # === rf "MOL.407UF Immunologische Methoden"
  # ======================================================================= #
  when /^MOL\.?407UF(-|_| )?Immunologische(-|_| )?Methoden$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=256285"
  # ======================================================================= #
  # === rf "MOL.406UF Immunologische Methoden"
  # ======================================================================= #
  when /^MOL\.?406UF(-|_| )?Immunologische(-|_| )?Methoden$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=255271"
  # ======================================================================= #
  # === rf "MOL.501_1UF Molekularbiologische Übungen I"
  # ======================================================================= #
  when /^MOL\.?501_1UF(-|_| )?Molekularbiologische(-|_| )?Übungen(-|_| )?I$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=336192"
  # ======================================================================= #
  # === rf "MOL.401UB Einführung in Molekularbiologie"
  # ======================================================================= #
  when /^MOL\.?401UB(-|_| )?Einführung(-|_| )?in(-|_| )?Molekularbiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=681960"
  # ======================================================================= #
  # === rf "MOL.404UF Einführung in Biotechnologie"
  # ======================================================================= #
  when /^MOL\.?404UF(-|_| )?Einführung(-|_| )?in(-|_| )?Biotechnologie$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=256769"
  # ======================================================================= #
  # === rf "MOL.301_1UF Präsentationstechnik"
  # ======================================================================= #
  when /^MOL\.?301_1UF(-|_| )?Präsentationstechnik$/i
    "https://online.tugraz.at/tug_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/406967?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.601_1UF Molekularbiologische Übungen II"
  # ======================================================================= #
  when /^MOL\.?601_1UF(-|_| )?Molekularbiologische(-|_| )?Übungen(-|_| )?II$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=256286"
  # ======================================================================= #
  # === rf "MOL.102UB Einführung in die Laboratoriumspraxis"
  # ======================================================================= #
  when /^MOL\.?102UB(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Laboratoriumspraxis$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/825103?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.105UB Einführung in Physik"
  # ======================================================================= #
  when /^MOL\.?105UB(-|_| )?Einführung(-|_| )?in(-|_| )?Physik$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/827242?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.507UB Einführung in die Mykologie"
  # ======================================================================= #
  when /^MOL\.?507UB(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Mykologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=578329"
  # ======================================================================= #
  # === rf "MOL.107UB Allgemeine Chemie für Studierende der Biologie (Teil I)"
  # ======================================================================= #
  when /^MOL\.?107UB(-|_| )?Allgemeine(-|_| )?Chemie(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Biologie(-|_| )?\(?Teil(-|_| )?I\)?$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/826094?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.303_1UF Analytische Chemie für Studierende der Molekularbiologie"
  # ======================================================================= #
  when /^MOL\.?303_1UF(-|_| )?Analytische(-|_| )?Chemie(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLvDetail?pStpSpNr=222528"
  # ======================================================================= #
  # === rf "MOL.606_1UF Bachelorarbeit"
  # ======================================================================= #
  when /^MOL\.?606_1UF(-|_| )?Bachelorarbeit$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=225335"
  # ======================================================================= #
  # === rf "MOL.305_1UF Chemische Übungen für Studierende der Biologie"
  # ======================================================================= #
  when /^MOL\.?305_1UF(-|_| )?Chemische(-|_| )?Übungen(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Biologie$/i
    "https://online.tugraz.at/tug_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/407427?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.101UB Einführung in das Studium"
  # ======================================================================= #
  when /^MOL\.?101UB(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Studium$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/831162?$ctx=lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.302UB Analytische Chemie für Studierende der Molekularbiologie"
  # ======================================================================= #
  when /^MOL\.?302UB(-|_| )?Analytische(-|_| )?Chemie(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=582898"
  # ======================================================================= #
  # === rf "BUB.03108UB Anatomie und Physiologie der Tiere"
  # ======================================================================= #
  when /^BUB\.?03108UB(-|_| )?Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?der(-|_| )?Tiere$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=580666"
  # ======================================================================= #
  # === rf "BUB.01106UB Anatomie und Physiologie der Pflanzen"
  # ======================================================================= #
  when /^BUB\.?01106UB(-|_| )?Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?der(-|_| )?Pflanzen$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=580201"
  # ======================================================================= #
  # === rf "MOL.111UB Einführung in Zoologie"
  # ======================================================================= #
  when /^MOL\.?111UB(-|_| )?Einführung(-|_| )?in(-|_| )?Zoologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=580357"
  # ======================================================================= #
  # === rf "MOL.306UB Einführung in Biochemie"
  # ======================================================================= #
  when /^MOL\.?306UB(-|_| )?Einführung(-|_| )?in(-|_| )?Biochemie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=751779"
  # ======================================================================= #
  # === rf "MOL.605_2UB Diskurs Gentechnik und Bioethik"
  # ======================================================================= #
  when /^MOL\.?605_2UB(-|_| )?Diskurs(-|_| )?Gentechnik(-|_| )?und(-|_| )?Bioethik$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=582773"
  # ======================================================================= #
  # === rf "MOL.208UB Einführung in Genetik"
  # ======================================================================= #
  when /^MOL\.?208UB(-|_| )?Einführung(-|_| )?in(-|_| )?Genetik$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=681958"
  # ======================================================================= #
  # === rf "BUG.01405UB Grundlagen der Sinnes- und Verhaltensbiologie"
  # ======================================================================= #
  when /^BUG\.?01405UB(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sinnes(-|_)?(-|_| )?und(-|_| )?Verhaltensbiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=582422"
  # ======================================================================= #
  # === rf "649.006 Funktionelle Pflanzenanatomie"
  # ======================================================================= #
  when /^649\.?006(-|_| )?Funktionelle(-|_| )?Pflanzenanatomie$/i,
       /^Funktionelle(-|_| )?Pflanzenanatomie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=583211"
  # ======================================================================= #
  # === rf "MOL.207UB Einführung in Mikroskopietechniken"
  # ======================================================================= #
  when /^MOL\.?207UB(-|_| )?Einführung(-|_| )?in(-|_| )?Mikroskopietechniken$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLvDetail?pStpSpNr=582328"
  # ======================================================================= #
  # === rf "MOL.109UB Einführung in Molekular- und Mikrobiologie"
  # ======================================================================= #
  when /^MOL\.?109UB(-|_| )?Einführung(-|_| )?in(-|_| )?Molekular(-|_)?(-|_| )?und(-|_| )?Mikrobiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=579246"
  # ======================================================================= #
  # === rf "MOL.309UB Evolution"
  # ======================================================================= #
  when /^MOL\.?309UB(-|_| )?Evolution$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=582450"
  # ======================================================================= #
  # === rf "MOL.402UB Einführung in Strukturbiologie"
  # ======================================================================= #
  when /^MOL\.?402UB(-|_| )?Einführung(-|_| )?in(-|_| )?Strukturbiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLvDetail?pStpSpNr=582580"
  # ======================================================================= #
  # === rf "MOL.602UF Gentechnik"
  # ======================================================================= #
  when /^MOL\.?602UF(-|_| )?Gentechnik$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=224620"
  # ======================================================================= #
  # === rf "MOL.110UB Einführung in Botanik"
  # ======================================================================= #
  when /^MOL\.?110UB(-|_| )?Einführung(-|_| )?in(-|_| )?Botanik$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=578983"
  # ======================================================================= #
  # === rf "MOL.604UB Medizinische Mikrobiologie"
  # ======================================================================= #
  when /^MOL\.?604UB(-|_| )?Medizinische(-|_| )?Mikrobiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=580962"
  # ======================================================================= #
  # === rf "MOL.503UB Mikrobiologie II"
  # ======================================================================= #
  when /^MOL\.?503UB(-|_| )?Mikrobiologie(-|_| )?II$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/829306?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.201UB Mathematik für MolekularbiologInnen"
  # ======================================================================= #
  when /^MOL\.?201UB(-|_| )?Mathematik(-|_| )?für(-|_| )?MolekularbiologInnen$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/808311?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.209_1UF Mikrobiologische Übungen"
  # ======================================================================= #
  when /^MOL\.?209_1UF(-|_| )?Mikrobiologische(-|_| )?Übungen$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=583275"
  # ======================================================================= #
  # === rf "MOL.307UB Molekulare Ökologie der Mikroorganismen"
  # ======================================================================= #
  when /^MOL\.?307UB(-|_| )?Molekulare(-|_| )?Ökologie(-|_| )?der(-|_| )?Mikroorganismen$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=752246"
  # ======================================================================= #
  # === rf "MOL.106UB Naturwissenschaftliches Rechnen"
  # ======================================================================= #
  when /^MOL\.?106UB(-|_| )?Naturwissenschaftliches(-|_| )?Rechnen$/i
    "https://online.uni-graz.at/kfu_online/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/824953?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "MOL.203UB Organische Chemie für Studierende der Biologie (Teil I)"
  # ======================================================================= #
  when /^MOL\.?203UB(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Biologie(-|_| )?\(?Teil(-|_| )?I\)?$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLvDetail?pStpSpNr=583444"
  # ======================================================================= #
  # === rf "MOL.304UB Physikalische Chemie für Studierende der Molekularbiologie"
  # ======================================================================= #
  when /^MOL\.?304UB(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=580909"
  # ======================================================================= #
  # === rf "MOL.502UF Molekulare Analytik"
  # ======================================================================= #
  when /^MOL\.?502UF(-|_| )?Molekulare(-|_| )?Analytik$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=339364"
  # ======================================================================= #
  # === rf "MOL.405UB Biochemische Übungen"
  # ======================================================================= #
  when /^MOL\.?405UB(-|_| )?Biochemische(-|_| )?Übungen$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=753899"
  # ======================================================================= #
  # === rf "649.026 Verhalten, Neuro-, Sinnesphysiologie"
  # ======================================================================= #
  when /^649\.?026(-|_| )?Verhalten,?(-|_| )?Neuro(-|_)?,?(-|_| )?Sinnesphysiologie$/i,
       /^Verhalten,?(-|_| )?Neuro(-|_)?,?(-|_| )?Sinnesphysiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=580135"
  # ======================================================================= #
  # === rf "649.011 Zoologisches Proseminar"
  # ======================================================================= #
  when /^649\.?011(-|_| )?Zoologisches(-|_| )?Proseminar$/i,
       /^Zoologisches(-|_| )?Proseminar$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=578367"
  # ======================================================================= #
  # === rf "MOL.206UB Tierphysiologie"
  # ======================================================================= #
  when /^MOL\.?206UB(-|_| )?Tierphysiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLvDetail?pStpSpNr=578366"
  # ======================================================================= #
  # === rf "MOL.204UB Organische Chemie für Studierende der Biologie (Teil II)"
  # ======================================================================= #
  when /^MOL\.?204UB(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Studierende(-|_| )?der(-|_| )?Biologie(-|_| )?\(?Teil(-|_| )?II\)?$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=580422"
  # ======================================================================= #
  # === rf "MOL.601_2UB Molekularbiologische Übungen II"
  # ======================================================================= #
  when /^MOL\.?601_2UB(-|_| )?Molekularbiologische(-|_| )?Übungen(-|_| )?II$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=559496"
  # ======================================================================= #
  # === rf "MOL.505UB Molekulare Zellbiologie"
  # ======================================================================= #
  when /^MOL\.?505UB(-|_| )?Molekulare(-|_| )?Zellbiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=525931"
  # ======================================================================= #
  # === rf "901.605 Propedeutics: Ethics in Medicine and Good Scientific Practice - WS 2019/20"
  # ======================================================================= #
  when /^901\.?605(-|_| )?Propedeutics:(-|_| )?Ethics(-|_| )?in(-|_| )?Medicine(-|_| )?and(-|_| )?Good(-|_| )?Scientific(-|_| )?Practice(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2019\/?20$/i,
       /^Propedeutics:(-|_| )?Ethics(-|_| )?in(-|_| )?Medicine(-|_| )?and(-|_| )?Good(-|_| )?Scientific(-|_| )?Practice(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2019\/?20$/i
    "https://campus.meduniwien.ac.at/med.campus/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/355385?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "840.001 Aktuelle Themen der Medizinischen Informatik - Artificial Intelligence"
  # ======================================================================= #
  when /^840\.?001(-|_| )?Aktuelle(-|_| )?Themen(-|_| )?der(-|_| )?Medizinischen(-|_| )?Informatik(-|_| )?(-|_)?(-|_| )?Artificial(-|_| )?Intelligence$/i,
       /^Aktuelle(-|_| )?Themen(-|_| )?der(-|_| )?Medizinischen(-|_| )?Informatik(-|_| )?(-|_)?(-|_| )?Artificial(-|_| )?Intelligence$/i
    "https://campus.meduniwien.ac.at/med.campus/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/360894?$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "840.000 Einführung in die Molekulare Biologie (Teil 2)"
  # ======================================================================= #
  when /^840\.?000(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Molekulare(-|_| )?Biologie(-|_| )?\(?Teil(-|_| )?2\)?$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Molekulare(-|_| )?Biologie(-|_| )?\(?Teil(-|_| )?2\)?$/i
    "https://campus.meduniwien.ac.at/med.campus/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/366071?$ctx=lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "870.011 Medical Propedeutics - Linking Biology and Diseases - WS 2023/24"
  # ======================================================================= #
  when /^870\.?011(-|_| )?Medical(-|_| )?Propedeutics(-|_| )?(-|_)?(-|_| )?Linking(-|_| )?Biology(-|_| )?and(-|_| )?Diseases(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2023\/?24$/i,
       /^Medical(-|_| )?Propedeutics(-|_| )?(-|_)?(-|_| )?Linking(-|_| )?Biology(-|_| )?and(-|_| )?Diseases(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2023\/?24$/i
    "https://campus.meduniwien.ac.at/med.campus/wblv.wbShowLvDetail?pStpSpNr=293365"
  # ======================================================================= #
  # === rf "870.011 Medical Propedeutics – Linking Biology and Diseases - WS 2013/14"
  # ======================================================================= #
  when /^870\.?011(-|_| )?Medical(-|_| )?Propedeutics(-|_| )?–(-|_| )?Linking(-|_| )?Biology(-|_| )?and(-|_| )?Diseases(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2013\/?14$/i,
       /^Medical(-|_| )?Propedeutics(-|_| )?–(-|_| )?Linking(-|_| )?Biology(-|_| )?and(-|_| )?Diseases(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2013\/?14$/i
    "https://campus.meduniwien.ac.at/med.campus/wblv.wbShowLvDetail?pStpSpNr=293365"
  # ======================================================================= #
  # === rf "502.466 Propedeutics: Experimental Biomedical Studies in Animals - WS 2023/24"
  # ======================================================================= #
  when /^502\.?466(-|_| )?Propedeutics:(-|_| )?Experimental(-|_| )?Biomedical(-|_| )?Studies(-|_| )?in(-|_| )?Animals(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2023\/?24$/i,
       /^Propedeutics:(-|_| )?Experimental(-|_| )?Biomedical(-|_| )?Studies(-|_| )?in(-|_| )?Animals(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2023\/?24$/i
    "https://campus.meduniwien.ac.at/med.campus/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/363688?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "870.010 Propedeutics: Molecular and Cell Biology for Medics – WS 2023/24"
  # ======================================================================= #
  when /^870\.?010(-|_| )?Propedeutics:(-|_| )?Molecular(-|_| )?and(-|_| )?Cell(-|_| )?Biology(-|_| )?for(-|_| )?Medics(-|_| )?–(-|_| )?WS(-|_| )?2023\/?24$/i,
       /^Propedeutics:(-|_| )?Molecular(-|_| )?and(-|_| )?Cell(-|_| )?Biology(-|_| )?for(-|_| )?Medics(-|_| )?–(-|_| )?WS(-|_| )?2023\/?24$/i
    "https://campus.meduniwien.ac.at/med.campus/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/363507?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "870.010 Molecular and Cell Biology for Medics - WS 2013/14"
  # ======================================================================= #
  when /^870\.?010(-|_| )?Molecular(-|_| )?and(-|_| )?Cell(-|_| )?Biology(-|_| )?for(-|_| )?Medics(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2013\/?14$/i,
       /^Molecular(-|_| )?and(-|_| )?Cell(-|_| )?Biology(-|_| )?for(-|_| )?Medics(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2013\/?14$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=293364"
  # ======================================================================= #
  # === rf "562.432 Molekularbiologische Analyse der Genexpression"
  # ======================================================================= #
  when /^562\.?432(-|_| )?Molekularbiologische(-|_| )?Analyse(-|_| )?der(-|_| )?Genexpression$/i,
       /^Molekularbiologische(-|_| )?Analyse(-|_| )?der(-|_| )?Genexpression$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=363727"
  # ======================================================================= #
  # === rf "870.012 Medical Propedeutics I - Anatomy & Physiology - SS 2017"
  # ======================================================================= #
  when /^870\.?012(-|_| )?Medical(-|_| )?Propedeutics(-|_| )?I(-|_| )?(-|_)?(-|_| )?Anatomy(-|_| )?&(-|_| )?Physiology(-|_| )?(-|_)?(-|_| )?SS(-|_| )?2017$/i,
       /^Medical(-|_| )?Propedeutics(-|_| )?I(-|_| )?(-|_)?(-|_| )?Anatomy(-|_| )?&(-|_| )?Physiology(-|_| )?(-|_)?(-|_| )?SS(-|_| )?2017$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=321723"
  # ======================================================================= #
  # === rf "840.052 Medizinisches Propädeutikum Teil 1"
  # ======================================================================= #
  when /^840\.?052(-|_| )?Medizinisches(-|_| )?Propädeutikum(-|_| )?Teil(-|_| )?1$/i,
       /^Medizinisches(-|_| )?Propädeutikum(-|_| )?Teil(-|_| )?1$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=330488"
  # ======================================================================= #
  # === rf "902.257 Immunglobuline - Aufbau, Bildung und Wirkungsmechanismen, Aspekte der Immunglobulintherapie"
  # ======================================================================= #
  when /^902\.?257(-|_| )?Immunglobuline(-|_| )?(-|_)?(-|_| )?Aufbau,?(-|_| )?Bildung(-|_| )?und(-|_| )?Wirkungsmechanismen,?(-|_| )?Aspekte(-|_| )?der(-|_| )?Immunglobulintherapie$/i,
       /^Immunglobuline(-|_| )?(-|_)?(-|_| )?Aufbau,?(-|_| )?Bildung(-|_| )?und(-|_| )?Wirkungsmechanismen,?(-|_| )?Aspekte(-|_| )?der(-|_| )?Immunglobulintherapie$/i
    "https://campus.meduniwien.ac.at/med.campus/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/355950?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "860.978 BVO: zelluläre Signaltransduktion Krankheitsbilder- WS 2022"
  # ======================================================================= #
  when /^860\.?978(-|_| )?BVO:(-|_| )?zelluläre(-|_| )?Signaltransduktion(-|_| )?Krankheitsbilder(-|_)?(-|_| )?WS(-|_| )?2022$/i,
       /^BVO:(-|_| )?zelluläre(-|_| )?Signaltransduktion(-|_| )?Krankheitsbilder(-|_)?(-|_| )?WS(-|_| )?2022$/i
    "https://campus.meduniwien.ac.at/med.campus/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/358485?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "840.036 Methoden der Medizin"
  # ======================================================================= #
  when /^840\.?036(-|_| )?Methoden(-|_| )?der(-|_| )?Medizin$/i,
       /^Methoden(-|_| )?der(-|_| )?Medizin$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=345361"
  # ======================================================================= #
  # === rf "860.904 Practical Seminar: Flow Cytometry - Methods and Practical Excercises on different Flow Cytometers"
  # ======================================================================= #
  when /^860\.?904(-|_| )?Practical(-|_| )?Seminar:(-|_| )?Flow(-|_| )?Cytometry(-|_| )?(-|_)?(-|_| )?Methods(-|_| )?and(-|_| )?Practical(-|_| )?Excercises(-|_| )?on(-|_| )?different(-|_| )?Flow(-|_| )?Cytometers$/i,
       /^Practical(-|_| )?Seminar:(-|_| )?Flow(-|_| )?Cytometry(-|_| )?(-|_)?(-|_| )?Methods(-|_| )?and(-|_| )?Practical(-|_| )?Excercises(-|_| )?on(-|_| )?different(-|_| )?Flow(-|_| )?Cytometers$/i
    "https://campus.meduniwien.ac.at/med.campus/ee/ui/ca2/app/desktop/#/slc.tm.cp/student/courses/357975?$ctx=design=ca;lang=de&$scrollTo=toc_overview"
  # ======================================================================= #
  # === rf "793.047 Biobanking und Probenarchivierung - Einführung in die Präanalytik und Lagerlogistik unter Berücksichtigung ethischer und rechtlicher Aspekte"
  # ======================================================================= #
  when /^793\.?047(-|_| )?Biobanking(-|_| )?und(-|_| )?Probenarchivierung(-|_| )?(-|_)?(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Präanalytik(-|_| )?und(-|_| )?Lagerlogistik(-|_| )?unter(-|_| )?Berücksichtigung(-|_| )?ethischer(-|_| )?und(-|_| )?rechtlicher(-|_| )?Aspekte$/i,
       /^Biobanking(-|_| )?und(-|_| )?Probenarchivierung(-|_| )?(-|_)?(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Präanalytik(-|_| )?und(-|_| )?Lagerlogistik(-|_| )?unter(-|_| )?Berücksichtigung(-|_| )?ethischer(-|_| )?und(-|_| )?rechtlicher(-|_| )?Aspekte$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=354499"
  # ======================================================================= #
  # === rf "902.216 Propedeutics: Scientific Software and Databases - WS 2019/20"
  # ======================================================================= #
  when /^902\.?216(-|_| )?Propedeutics:(-|_| )?Scientific(-|_| )?Software(-|_| )?and(-|_| )?Databases(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2019\/?20$/i,
       /^Propedeutics:(-|_| )?Scientific(-|_| )?Software(-|_| )?and(-|_| )?Databases(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2019\/?20$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=336440"
  # ======================================================================= #
  # === rf "860.019 Practical Seminar: Flow Cytometry - Methods and Practical Excercises on different Flow Cytometers"
  # ======================================================================= #
  when /^860\.?019(-|_| )?Practical(-|_| )?Seminar:(-|_| )?Flow(-|_| )?Cytometry(-|_| )?(-|_)?(-|_| )?Methods(-|_| )?and(-|_| )?Practical(-|_| )?Excercises(-|_| )?on(-|_| )?different(-|_| )?Flow(-|_| )?Cytometers$/i,
       /^Practical(-|_| )?Seminar:(-|_| )?Flow(-|_| )?Cytometry(-|_| )?(-|_)?(-|_| )?Methods(-|_| )?and(-|_| )?Practical(-|_| )?Excercises(-|_| )?on(-|_| )?different(-|_| )?Flow(-|_| )?Cytometers$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=342826"
  # ======================================================================= #
  # === rf "860.220 Basisvorlesung Immunologie"
  # ======================================================================= #
  when /^860\.?220(-|_| )?Basisvorlesung(-|_| )?Immunologie$/i,
       /^Basisvorlesung(-|_| )?Immunologie$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=345232"
  # ======================================================================= #
  # === rf "653.216 Toxikologie für Mediziner und Naturwissenschaftler"
  # ======================================================================= #
  when /^653\.?216(-|_| )?Toxikologie(-|_| )?für(-|_| )?Mediziner(-|_| )?und(-|_| )?Naturwissenschaftler$/i,
       /^Toxikologie(-|_| )?für(-|_| )?Mediziner(-|_| )?und(-|_| )?Naturwissenschaftler$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=356864"
  # ======================================================================= #
  # === rf "653.263 Einführung in die Gentechnologie"
  # ======================================================================= #
  when /^653\.?263(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Gentechnologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Gentechnologie$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=335306"
  # ======================================================================= #
  # === rf "653.264 Gentechnik für Mediziner - Wahlfachausbildung §13"
  # ======================================================================= #
  when /^653\.?264(-|_| )?Gentechnik(-|_| )?für(-|_| )?Mediziner(-|_| )?(-|_)?(-|_| )?Wahlfachausbildung(-|_| )?§13$/i,
       /^Gentechnik(-|_| )?für(-|_| )?Mediziner(-|_| )?(-|_)?(-|_| )?Wahlfachausbildung(-|_| )?§13$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=337303"
  # ======================================================================= #
  # === rf "802.003 BL 5 - Genetik, molekulare und zelluläre Kommunikation"
  # ======================================================================= #
  when /^802\.?003(-|_| )?BL(-|_| )?5(-|_| )?(-|_)?(-|_| )?Genetik,?(-|_| )?molekulare(-|_| )?und(-|_| )?zelluläre(-|_| )?Kommunikation$/i,
       /^BL(-|_| )?5(-|_| )?(-|_)?(-|_| )?Genetik,?(-|_| )?molekulare(-|_| )?und(-|_| )?zelluläre(-|_| )?Kommunikation$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=345483"
  # ======================================================================= #
  # === rf "840.053 Medizinisches Propädeutikum Teil 2"
  # ======================================================================= #
  when /^840\.?053(-|_| )?Medizinisches(-|_| )?Propädeutikum(-|_| )?Teil(-|_| )?2$/i,
       /^Medizinisches(-|_| )?Propädeutikum(-|_| )?Teil(-|_| )?2$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=330570"
  # ======================================================================= #
  # === rf "502.402 Propedeutics: Methods in Molecular Biology and Biochemistry WS 2014"
  # ======================================================================= #
  when /^502\.?402(-|_| )?Propedeutics:(-|_| )?Methods(-|_| )?in(-|_| )?Molecular(-|_| )?Biology(-|_| )?and(-|_| )?Biochemistry(-|_| )?WS(-|_| )?2014$/i,
       /^Propedeutics:(-|_| )?Methods(-|_| )?in(-|_| )?Molecular(-|_| )?Biology(-|_| )?and(-|_| )?Biochemistry(-|_| )?WS(-|_| )?2014$/i
    "https://campus.meduniwien.ac.at/med.campus/wblv.wbShowLvDetail?pStpSpNr=306551"
  # ======================================================================= #
  # === rf "861.035 BVo: Molekulare Biologie der RNA"
  # ======================================================================= #
  when /^861\.?035(-|_| )?BVo:(-|_| )?Molekulare(-|_| )?Biologie(-|_| )?der(-|_| )?RNA$/i,
       /^BVo:(-|_| )?Molekulare(-|_| )?Biologie(-|_| )?der(-|_| )?RNA$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=336983"
  # ======================================================================= #
  # === rf "860.179 TS: Bioinformatics and Data Science - hands-on Q&A (BInDS-QnA) SS22"
  # ======================================================================= #
  when /^860\.?179(-|_| )?TS:(-|_| )?Bioinformatics(-|_| )?and(-|_| )?Data(-|_| )?Science(-|_| )?(-|_)?(-|_| )?hands(-|_)?on(-|_| )?Q&A(-|_| )?\(?BInDS(-|_)?QnA\)?(-|_| )?SS22$/i,
       /^TS:(-|_| )?Bioinformatics(-|_| )?and(-|_| )?Data(-|_| )?Science(-|_| )?(-|_)?(-|_| )?hands(-|_)?on(-|_| )?Q&A(-|_| )?\(?BInDS(-|_)?QnA\)?(-|_| )?SS22$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=345472"
  # ======================================================================= #
  # === rf "806.059 SSM 2 - Analyse genetischer Risikofaktoren für Brustkrebs"
  # ======================================================================= #
  when /^806\.?059(-|_| )?SSM(-|_| )?2(-|_| )?(-|_)?(-|_| )?Analyse(-|_| )?genetischer(-|_| )?Risikofaktoren(-|_| )?für(-|_| )?Brustkrebs$/i,
       /^SSM(-|_| )?2(-|_| )?(-|_)?(-|_| )?Analyse(-|_| )?genetischer(-|_| )?Risikofaktoren(-|_| )?für(-|_| )?Brustkrebs$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=345456"
  # ======================================================================= #
  # === rf "860.132 PS: Exosomes/Nano/Microvesicles - Wie kann man diese für Krebstherapien nutzen und anwenden? SS21"
  # ======================================================================= #
  when /^860\.?132(-|_| )?PS:(-|_| )?Exosomes\/?Nano\/?Microvesicles(-|_| )?(-|_)?(-|_| )?Wie(-|_| )?kann(-|_| )?man(-|_| )?diese(-|_| )?für(-|_| )?Krebstherapien(-|_| )?nutzen(-|_| )?und(-|_| )?anwenden?(-|_| )?SS21$/i,
       /^PS:(-|_| )?Exosomes\/?Nano\/?Microvesicles(-|_| )?(-|_)?(-|_| )?Wie(-|_| )?kann(-|_| )?man(-|_| )?diese(-|_| )?für(-|_| )?Krebstherapien(-|_| )?nutzen(-|_| )?und(-|_| )?anwenden?(-|_| )?SS21$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=345140"
  # ======================================================================= #
  # === rf "861.401 JC & Work in Progress on RNA Modifications II"
  # ======================================================================= #
  when /^861\.?401(-|_| )?JC(-|_| )?&(-|_| )?Work(-|_| )?in(-|_| )?Progress(-|_| )?on(-|_| )?RNA(-|_| )?Modifications(-|_| )?II$/i,
       /^JC(-|_| )?&(-|_| )?Work(-|_| )?in(-|_| )?Progress(-|_| )?on(-|_| )?RNA(-|_| )?Modifications(-|_| )?II$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=345109"
  # ======================================================================= #
  # === rf "860.023 TS Novel concepts of innate and adaptive immune defense in infections and beyond"
  # ======================================================================= #
  when /^860\.?023(-|_| )?TS(-|_| )?Novel(-|_| )?concepts(-|_| )?of(-|_| )?innate(-|_| )?and(-|_| )?adaptive(-|_| )?immune(-|_| )?defense(-|_| )?in(-|_| )?infections(-|_| )?and(-|_| )?beyond$/i,
       /^TS(-|_| )?Novel(-|_| )?concepts(-|_| )?of(-|_| )?innate(-|_| )?and(-|_| )?adaptive(-|_| )?immune(-|_| )?defense(-|_| )?in(-|_| )?infections(-|_| )?and(-|_| )?beyond$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=344779"
  # ======================================================================= #
  # === rf "561.355 Immunologie der Herz und Lungen Transplantation"
  # ======================================================================= #
  when /^561\.?355(-|_| )?Immunologie(-|_| )?der(-|_| )?Herz(-|_| )?und(-|_| )?Lungen(-|_| )?Transplantation$/i,
       /^Immunologie(-|_| )?der(-|_| )?Herz(-|_| )?und(-|_| )?Lungen(-|_| )?Transplantation$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=344802"
  # ======================================================================= #
  # === rf "881.004 Immuno- and Vascular Biology in Health and Disease"
  # ======================================================================= #
  when /^881\.?004(-|_| )?Immuno(-|_)?(-|_| )?and(-|_| )?Vascular(-|_| )?Biology(-|_| )?in(-|_| )?Health(-|_| )?and(-|_| )?Disease$/i,
       /^Immuno(-|_)?(-|_| )?and(-|_| )?Vascular(-|_| )?Biology(-|_| )?in(-|_| )?Health(-|_| )?and(-|_| )?Disease$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=344957"
  # ======================================================================= #
  # === rf "514.073 Anleitung zum wissenschaftlichen Arbeiten"
  # ======================================================================= #
  when /^514\.?073(-|_| )?Anleitung(-|_| )?zum(-|_| )?wissenschaftlichen(-|_| )?Arbeiten$/i,
       /^Anleitung(-|_| )?zum(-|_| )?wissenschaftlichen(-|_| )?Arbeiten$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=344769"
  # ======================================================================= #
  # === rf "901.603 Propedeutics: Methods in Cellular Biology - SS 2014"
  # ======================================================================= #
  when /^901\.?603(-|_| )?Propedeutics:(-|_| )?Methods(-|_| )?in(-|_| )?Cellular(-|_| )?Biology(-|_| )?(-|_)?(-|_| )?SS(-|_| )?2014$/i,
       /^Propedeutics:(-|_| )?Methods(-|_| )?in(-|_| )?Cellular(-|_| )?Biology(-|_| )?(-|_)?(-|_| )?SS(-|_| )?2014$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=292603"
  # ======================================================================= #
  # === rf "560.245 Antibiotika im klinischen Einsatz"
  # ======================================================================= #
  when /^560\.?245(-|_| )?Antibiotika(-|_| )?im(-|_| )?klinischen(-|_| )?Einsatz$/i,
       /^Antibiotika(-|_| )?im(-|_| )?klinischen(-|_| )?Einsatz$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=344759"
  # ======================================================================= #
  # === rf "901.603 Propedeutics: Methods of Life Sciences - SS 2020"
  # ======================================================================= #
  when /^901\.?603(-|_| )?Propedeutics:(-|_| )?Methods(-|_| )?of(-|_| )?Life(-|_| )?Sciences(-|_| )?(-|_)?(-|_| )?SS(-|_| )?2020$/i,
       /^Propedeutics:(-|_| )?Methods(-|_| )?of(-|_| )?Life(-|_| )?Sciences(-|_| )?(-|_)?(-|_| )?SS(-|_| )?2020$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=336550"
  # ======================================================================= #
  # === rf "840.081 Einführung in die Molekulare Biologie"
  # ======================================================================= #
  when /^840\.?081(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Molekulare(-|_| )?Biologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Molekulare(-|_| )?Biologie$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=355386"
  # ======================================================================= #
  # === rf "902.377 Genomische Medizin"
  # ======================================================================= #
  when /^902\.?377(-|_| )?Genomische(-|_| )?Medizin$/i,
       /^Genomische(-|_| )?Medizin$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=335345"
  # ======================================================================= #
  # === rf "840.011 Introduction to Neuroscience"
  # ======================================================================= #
  when /^840\.?011(-|_| )?Introduction(-|_| )?to(-|_| )?Neuroscience$/i,
       /^Introduction(-|_| )?to(-|_| )?Neuroscience$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=336528"
  # ======================================================================= #
  # === rf "840.085 Richtlinien und Anforderungen an medizinische Software"
  # ======================================================================= #
  when /^840\.?085(-|_| )?Richtlinien(-|_| )?und(-|_| )?Anforderungen(-|_| )?an(-|_| )?medizinische(-|_| )?Software$/i,
       /^Richtlinien(-|_| )?und(-|_| )?Anforderungen(-|_| )?an(-|_| )?medizinische(-|_| )?Software$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=328549"
  # ======================================================================= #
  # === rf "840.007 Einführung in die Biostatistik"
  # ======================================================================= #
  when /^840\.?007(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biostatistik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Biostatistik$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=321856"
  # ======================================================================= #
  # === rf "562.576 Immunmodulation durch Viren"
  # ======================================================================= #
  when /^562\.?576(-|_| )?Immunmodulation(-|_| )?durch(-|_| )?Viren$/i,
       /^Immunmodulation(-|_| )?durch(-|_| )?Viren$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=357947"
  # ======================================================================= #
  # === rf "840.042 Machine Learning in der Medizin"
  # ======================================================================= #
  when /^840\.?042(-|_| )?Machine(-|_| )?Learning(-|_| )?in(-|_| )?der(-|_| )?Medizin$/i,
       /^Machine(-|_| )?Learning(-|_| )?in(-|_| )?der(-|_| )?Medizin$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=357709"
  # ======================================================================= #
  # === rf "840.016 Epidemiologie"
  # ======================================================================= #
  when /^840\.?016(-|_| )?Epidemiologie$/i,
       /^Epidemiologie$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=336483"
  # ======================================================================= #
  # === rf "840.013 Medical Information Retrieval"
  # ======================================================================= #
  when /^840\.?013(-|_| )?Medical(-|_| )?Information(-|_| )?Retrieval$/i,
       /^Medical(-|_| )?Information(-|_| )?Retrieval$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=335541"
  # ======================================================================= #
  # === rf "860.040 Propedeutics: Introduction to Medical Imaging and Biomedical Engineering"
  # ======================================================================= #
  when /^860\.?040(-|_| )?Propedeutics:(-|_| )?Introduction(-|_| )?to(-|_| )?Medical(-|_| )?Imaging(-|_| )?and(-|_| )?Biomedical(-|_| )?Engineering$/i,
       /^Propedeutics:(-|_| )?Introduction(-|_| )?to(-|_| )?Medical(-|_| )?Imaging(-|_| )?and(-|_| )?Biomedical(-|_| )?Engineering$/i
    "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=338169"
  else
    i
  end
end
#

This method will take a given input, as String, and then return a corresponding remote URL. If the input is not registered then this method will return the original input String.

#


16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
# File 'lib/studium/toplevel_methods/return_remote_moodle_link_of_this_lecture.rb', line 16

def self.return_remote_moodle_link_of_this_lecture(i)
  case i # case tag
  # ======================================================================= #
  # === moodle "226.065 Bodenkunde"
  # ======================================================================= #
  when /^226\.?065(-|_| )?Bodenkunde$/i,
       /^Bodenkunde$/i
    "https://tuwel.tuwien.ac.at/enrol/index.php?id=56335"
  # ======================================================================= #
  # === moodle "163.189 Chemische Grundlagen für Umweltingenieurwesen"
  # ======================================================================= #
  when /^163\.?189(-|_| )?Chemische(-|_| )?Grundlagen(-|_| )?für(-|_| )?Umweltingenieurwesen$/i,
       /^Chemische(-|_| )?Grundlagen(-|_| )?für(-|_| )?Umweltingenieurwesen$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=51448"
  # ======================================================================= #
  # === moodle "034.013 Science-Technology-Society (STS)"
  # ======================================================================= #
  when /^034\.?013(-|_| )?Science(-|_)?Technology(-|_)?Society(-|_| )?\(?STS\)?$/i,
       /^Science(-|_)?Technology(-|_)?Society(-|_| )?\(?STS\)?$/i
    ""
  # ======================================================================= #
  # === moodle "308.119 Biomaterials"
  # ======================================================================= #
  when /^308\.?119(-|_| )?Biomaterials$/i,
       /^Biomaterials$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=47929"
  # ======================================================================= #
  # === moodle "188.391 Objektorientierte Modellierung"
  # ======================================================================= #
  when /^188\.?391(-|_| )?Objektorientierte(-|_| )?Modellierung$/i,
       /^Objektorientierte(-|_| )?Modellierung$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=18982"
  # ======================================================================= #
  # === moodle "184.686 Datenbanksysteme"
  # ======================================================================= #
  when /^184\.?686(-|_| )?Datenbanksysteme$/i,
       /^Datenbanksysteme$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=54379"
  # ======================================================================= #
  # === moodle "259.446 Science and the quest for knowledge"
  # ======================================================================= #
  when /^259\.?446(-|_| )?Science(-|_| )?and(-|_| )?the(-|_| )?quest(-|_| )?for(-|_| )?knowledge$/i,
       /^Science(-|_| )?and(-|_| )?the(-|_| )?quest(-|_| )?for(-|_| )?knowledge$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=49996"
  # ======================================================================= #
  # === moodle "186.822 Einführung in Visual Computing"
  # ======================================================================= #
  when /^186\.?822(-|_| )?Einführung(-|_| )?in(-|_| )?Visual(-|_| )?Computing$/i,
       /^Einführung(-|_| )?in(-|_| )?Visual(-|_| )?Computing$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=53467"
  # ======================================================================= #
  # === moodle "185.A92 Einführung in die Programmierung 2"
  # ======================================================================= #
  when /^185\.?A92(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?2$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?2$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=54358"
  # ======================================================================= #
  # === moodle "120.113 Python-Programmierung für Geowissenschaften"
  # ======================================================================= #
  when /^120\.?113(-|_| )?Python(-|_)?Programmierung(-|_| )?für(-|_| )?Geowissenschaften$/i,
       /^Python(-|_)?Programmierung(-|_| )?für(-|_| )?Geowissenschaften$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=54565"
  # ======================================================================= #
  # === moodle "185.A06 Formale Modellierung"
  # ======================================================================= #
  when /^185\.?A06(-|_| )?Formale(-|_| )?Modellierung$/i,
       /^Formale(-|_| )?Modellierung$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=18991"
  # ======================================================================= #
  # === moodle "186.866 Algorithmen und Datenstrukturen"
  # ======================================================================= #
  when /^186\.?866(-|_| )?Algorithmen(-|_| )?und(-|_| )?Datenstrukturen$/i,
       /^Algorithmen(-|_| )?und(-|_| )?Datenstrukturen$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=19156"
  # ======================================================================= #
  # === moodle "163.107 Anorganische Chemie für VT"
  # ======================================================================= #
  when /^163\.?107(-|_| )?Anorganische(-|_| )?Chemie(-|_| )?für(-|_| )?VT$/i,
       /^Anorganische(-|_| )?Chemie(-|_| )?für(-|_| )?VT$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=41193"
  # ======================================================================= #
  # === moodle "104.261 Analysis für Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^104\.?261(-|_| )?Analysis(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Analysis(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=49614"
  # ======================================================================= #
  # === moodle "104.265 Algebra und Diskrete Mathematik für Informatik und Wirtschaftsinformatik"
  # ======================================================================= #
  when /^104\.?265(-|_| )?Algebra(-|_| )?und(-|_| )?Diskrete(-|_| )?Mathematik(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i,
       /^Algebra(-|_| )?und(-|_| )?Diskrete(-|_| )?Mathematik(-|_| )?für(-|_| )?Informatik(-|_| )?und(-|_| )?Wirtschaftsinformatik$/i
    "https://www.dmg.tuwien.ac.at/gittenberger/adm.html"
  # ======================================================================= #
  # === moodle "185.A91 Einführung in die Programmierung 1"
  # ======================================================================= #
  when /^185\.?A91(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?1$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Programmierung(-|_| )?1$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=48994"
  # ======================================================================= #
  # === moodle "362.181 Wissenschaftliches Programmieren in Python"
  # ======================================================================= #
  when /^362\.?181(-|_| )?Wissenschaftliches(-|_| )?Programmieren(-|_| )?in(-|_| )?Python$/i,
       /^Wissenschaftliches(-|_| )?Programmieren(-|_| )?in(-|_| )?Python$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=51283"
  # ======================================================================= #
  # === moodle "384.061 Objektorientiertes Programmieren"
  # ======================================================================= #
  when /^384\.?061(-|_| )?Objektorientiertes(-|_| )?Programmieren$/i,
       /^Objektorientiertes(-|_| )?Programmieren$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=21121"
  # ======================================================================= #
  # === moodle "163.192 Protein engineering Lab"
  # ======================================================================= #
  when /^163\.?192(-|_| )?Protein(-|_| )?engineering(-|_| )?Lab$/i,
       /^Protein(-|_| )?engineering(-|_| )?Lab$/i
    "https://tuwel.tuwien.ac.at/course/view.php?idnumber=163192-2020S"
  # ======================================================================= #
  # === moodle "185.A07 Grundzüge der Informatik für Vermessung und Geoinformation"
  # ======================================================================= #
  when /^185\.?A07(-|_| )?Grundzüge(-|_| )?der(-|_| )?Informatik(-|_| )?für(-|_| )?Vermessung(-|_| )?und(-|_| )?Geoinformation$/i,
       /^Grundzüge(-|_| )?der(-|_| )?Informatik(-|_| )?für(-|_| )?Vermessung(-|_| )?und(-|_| )?Geoinformation$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=52066"
  # ======================================================================= #
  # === moodle "183.579 Technische Grundlagen der Informatik"
  # ======================================================================= #
  when /^183\.?579(-|_| )?Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i,
       /^Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=31522"
  # ======================================================================= #
  # === moodle "192.134 Grundzüge digitaler Systeme"
  # ======================================================================= #
  when /^192\.?134(-|_| )?Grundzüge(-|_| )?digitaler(-|_| )?Systeme$/i,
       /^Grundzüge(-|_| )?digitaler(-|_| )?Systeme$/i
    ""
  # ======================================================================= #
  # === moodle "253.118 Ringvorlesung Ökologie"
  # ======================================================================= #
  when /^253\.?118(-|_| )?Ringvorlesung(-|_| )?Ökologie$/i,
       /^Ringvorlesung(-|_| )?Ökologie$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=44398"
  # ======================================================================= #
  # === moodle "164.216 Technische Elektrochemie"
  # ======================================================================= #
  when /^164\.?216(-|_| )?Technische(-|_| )?Elektrochemie$/i,
       /^Technische(-|_| )?Elektrochemie$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=41973"
  # ======================================================================= #
  # === moodle "101.275 Einführung in das Programmieren für Technische Mathematik"
  # ======================================================================= #
  when /^101\.?275(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Programmieren(-|_| )?für(-|_| )?Technische(-|_| )?Mathematik$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?Programmieren(-|_| )?für(-|_| )?Technische(-|_| )?Mathematik$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=21247"
  # ======================================================================= #
  # === moodle "222.585 Umweltwissenschaft und Gesellschaft"
  # ======================================================================= #
  when /^222\.?585(-|_| )?Umweltwissenschaft(-|_| )?und(-|_| )?Gesellschaft$/i,
       /^Umweltwissenschaft(-|_| )?und(-|_| )?Gesellschaft$/i
    ""
  # ======================================================================= #
  # === moodle "187.B12 Denkweisen der Informatik"
  # ======================================================================= #
  when /^187\.?B12(-|_| )?Denkweisen(-|_| )?der(-|_| )?Informatik$/i,
       /^Denkweisen(-|_| )?der(-|_| )?Informatik$/i
    ""
  # ======================================================================= #
  # === moodle "164.023 Bioelektrochemie"
  # ======================================================================= #
  when /^164\.?023(-|_| )?Bioelektrochemie$/i,
       /^Bioelektrochemie$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=31708"
  # ======================================================================= #
  # === moodle "165.162 Physikalische Chemie für Umweltingenieurwesen"
  # ======================================================================= #
  when /^165\.?162(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?für(-|_| )?Umweltingenieurwesen$/i,
       /^Physikalische(-|_| )?Chemie(-|_| )?für(-|_| )?Umweltingenieurwesen$/i
    "https://tuwel.tuwien.ac.at/course/view.php?idnumber=163189-2021W"
  # ======================================================================= #
  # === moodle "163.133 Chemische Technologie organischer Stoffe für Verfahrenstechniker"
  # ======================================================================= #
  when /^163\.?133(-|_| )?Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe(-|_| )?für(-|_| )?Verfahrenstechniker$/i,
       /^Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe(-|_| )?für(-|_| )?Verfahrenstechniker$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=38576"
  # ======================================================================= #
  # === moodle "163.181 Labortechnik für VT"
  # ======================================================================= #
  when /^163\.?181(-|_| )?Labortechnik(-|_| )?für(-|_| )?VT$/i,
       /^Labortechnik(-|_| )?für(-|_| )?VT$/i
    ""
  # ======================================================================= #
  # === moodle "163.190 Chemie Rechenübungen"
  # ======================================================================= #
  when /^163\.?190(-|_| )?Chemie(-|_| )?Rechenübungen$/i,
       /^Chemie(-|_| )?Rechenübungen$/i
    "https://tuwel.tuwien.ac.at/course/view.php?idnumber=163190-2021W"
  # ======================================================================= #
  # === moodle "164.253 Analytische Chemie III"
  # ======================================================================= #
  when /^164\.?253(-|_| )?Analytische(-|_| )?Chemie(-|_| )?III$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?III$/i
    "https://tuwel.tuwien.ac.at/course/view.php?idnumber=164253-2020W"
  # ======================================================================= #
  # === moodle "280.774 Finanzwissenschaft und Infrastrukurökonomie"
  # ======================================================================= #
  when /^280\.?774(-|_| )?Finanzwissenschaft(-|_| )?und(-|_| )?Infrastrukurökonomie$/i,
       /^Finanzwissenschaft(-|_| )?und(-|_| )?Infrastrukurökonomie$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=35311"
  # ======================================================================= #
  # === moodle "311.123 Physik für MB"
  # ======================================================================= #
  when /^311\.?123(-|_| )?Physik(-|_| )?für(-|_| )?MB$/i,
       /^Physik(-|_| )?für(-|_| )?MB$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=28108"
  # ======================================================================= #
  # === moodle "163.112 Grundlagen der Chemie"
  # ======================================================================= #
  when /^163\.?112(-|_| )?Grundlagen(-|_| )?der(-|_| )?Chemie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Chemie$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=79"
  # ======================================================================= #
  # === moodle "163.138 Chemische Technologie organischer Stoffe"
  # ======================================================================= #
  when /^163\.?138(-|_| )?Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe$/i,
       /^Chemische(-|_| )?Technologie(-|_| )?organischer(-|_| )?Stoffe$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=43323"
  # ======================================================================= #
  # === moodle "166.703 Methoden der Molekularbiologie und Gentechnik"
  # ======================================================================= #
  when /^166\.?703(-|_| )?Methoden(-|_| )?der(-|_| )?Molekularbiologie(-|_| )?und(-|_| )?Gentechnik$/i,
       /^Methoden(-|_| )?der(-|_| )?Molekularbiologie(-|_| )?und(-|_| )?Gentechnik$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=33160"
  # ======================================================================= #
  # === moodle "330.159 Produktions- und Qualitätsmanagement 1"
  # ======================================================================= #
  when /^330\.?159(-|_| )?Produktions(-|_)?(-|_| )?und(-|_| )?Qualitätsmanagement(-|_| )?1$/i,
       /^Produktions(-|_)?(-|_| )?und(-|_| )?Qualitätsmanagement(-|_| )?1$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=42888"
  # ======================================================================= #
  # === moodle "130.005 Einführung in das Physikstudium"
  # ======================================================================= #
  when /^130\.?005(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Physikstudium$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?Physikstudium$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=37517"
  # ======================================================================= #
  # === moodle "187.250 Zwischen Karriere und Barriere"
  # ======================================================================= #
  when /^187\.?250(-|_| )?Zwischen(-|_| )?Karriere(-|_| )?und(-|_| )?Barriere$/i,
       /^Zwischen(-|_| )?Karriere(-|_| )?und(-|_| )?Barriere$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=33883"
  # ======================================================================= #
  # === moodle "202.647 Mathematical Systems Biology"
  # ======================================================================= #
  when /^202\.?647(-|_| )?Mathematical(-|_| )?Systems(-|_| )?Biology$/i,
       /^Mathematical(-|_| )?Systems(-|_| )?Biology$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=30367"
  # ======================================================================= #
  # === moodle "222.587 Statistik für Umweltingenieurwesen"
  # ======================================================================= #
  when /^222\.?587(-|_| )?Statistik(-|_| )?für(-|_| )?Umweltingenieurwesen$/i,
       /^Statistik(-|_| )?für(-|_| )?Umweltingenieurwesen$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=37625"
  # ======================================================================= #
  # === moodle "350.002 Orientierung ETIT"
  # ======================================================================= #
  when /^350\.?002(-|_| )?Orientierung(-|_| )?ETIT$/i,
       /^Orientierung(-|_| )?ETIT$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=35365"
  # ======================================================================= #
  # === moodle "163.123 Organische Chemie für Verfahrenstechniker"
  # ======================================================================= #
  when /^163\.?123(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Verfahrenstechniker$/i,
       /^Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Verfahrenstechniker$/i
    "https://tuwel.tuwien.ac.at/enrol/index.php?id=24439"
  # ======================================================================= #
  # === moodle "142.090 Statistik"
  # ======================================================================= #
  when /^142\.?090(-|_| )?Statistik$/i,
       /^Statistik$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=23485"
  # ======================================================================= #
  # === moodle "163.176 Strukturaufklärung"
  # ======================================================================= #
  when /^163\.?176(-|_| )?Strukturaufklärung$/i,
       /^Strukturaufklärung$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=34171"
  # ======================================================================= #
  # === moodle "164.178 Analytische Chemie II"
  # ======================================================================= #
  when /^164\.?178(-|_| )?Analytische(-|_| )?Chemie(-|_| )?II$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?II$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=21988"
  # ======================================================================= #
  # === moodle "164.185 Festkörperchemie"
  # ======================================================================= #
  when /^164\.?185(-|_| )?Festkörperchemie$/i,
       /^Festkörperchemie$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=24637"
  # ======================================================================= #
  # === moodle "134.996 Mikroskopie an Biomolekülen"
  # ======================================================================= #
  when /^134\.?996(-|_| )?Mikroskopie(-|_| )?an(-|_| )?Biomolekülen$/i,
       /^Mikroskopie(-|_| )?an(-|_| )?Biomolekülen$/i
    "https://tiss.tuwien.ac.at/education/course/documents.xhtml?dswid=6819&dsrid=533&courseNr=134996&semester=2019W"
  # ======================================================================= #
  # === moodle "153.063 Demonstrationen zu Chemie für TPH"
  # ======================================================================= #
  when /^153\.?063(-|_| )?Demonstrationen(-|_| )?zu(-|_| )?Chemie(-|_| )?für(-|_| )?TPH$/i,
       /^Demonstrationen(-|_| )?zu(-|_| )?Chemie(-|_| )?für(-|_| )?TPH$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=22327"
  # ======================================================================= #
  # === moodle "188.519 Programmierung von Geschäfts-Anwendungen mit Ruby on Rails"
  # ======================================================================= #
  when /^188\.?519(-|_| )?Programmierung(-|_| )?von(-|_| )?Geschäfts(-|_)?Anwendungen(-|_| )?mit(-|_| )?Ruby(-|_| )?on(-|_| )?Rails$/i,
       /^Programmierung(-|_| )?von(-|_| )?Geschäfts(-|_)?Anwendungen(-|_| )?mit(-|_| )?Ruby(-|_| )?on(-|_| )?Rails$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=13034"
  # ======================================================================= #
  # === moodle "138.053 Materialwissenschaften"
  # ======================================================================= #
  when /^138\.?053(-|_| )?Materialwissenschaften$/i,
       /^Materialwissenschaften$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=24052"
  # ======================================================================= #
  # === moodle "280.122 Finanzwissenschaft und Infrastrukurökonomie"
  # ======================================================================= #
  when /^280\.?122(-|_| )?Finanzwissenschaft(-|_| )?und(-|_| )?Infrastrukurökonomie$/i,
       /^Finanzwissenschaft(-|_| )?und(-|_| )?Infrastrukurökonomie$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=22114"
  # ======================================================================= #
  # === moodle "163.119 Organische Chemie I"
  # ======================================================================= #
  when /^163\.?119(-|_| )?Organische(-|_| )?Chemie(-|_| )?I$/i,
       /^Organische(-|_| )?Chemie(-|_| )?I$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=21982"
  # ======================================================================= #
  # === moodle "308.106 Biokompatible Werkstoffe"
  # ======================================================================= #
  when /^308\.?106(-|_| )?Biokompatible(-|_| )?Werkstoffe$/i,
       /^Biokompatible(-|_| )?Werkstoffe$/i
    "https://tuwel.tuwien.ac.at/enrol/index.php?id=20176"
  # ======================================================================= #
  # === moodle "872100 Geologie"
  # ======================================================================= #
  when /^872100(-|_| )?Geologie$/i,
       /^Geologie$/i
    "https://learn.boku.ac.at/enrol/index.php?id=49658"
  # ======================================================================= #
  # === moodle "814102 Meteorologie"
  # ======================================================================= #
  when /^814102(-|_| )?Meteorologie$/i,
       /^Meteorologie$/i
    "https://learn.boku.ac.at/enrol/index.php?id=47816"
  # ======================================================================= #
  # === moodle "731128 Grundlagen der Makroökonomie"
  # ======================================================================= #
  when /^731128(-|_| )?Grundlagen(-|_| )?der(-|_| )?Makroökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Makroökonomie$/i
    "https://learn.boku.ac.at/course/view.php?id=45482"
  # ======================================================================= #
  # === moodle "911102 Bodenkunde (AW)"
  # ======================================================================= #
  when /^911102(-|_| )?Bodenkunde(-|_| )?\(?AW\)?$/i,
       /^Bodenkunde(-|_| )?\(?AW\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=50435"
  # ======================================================================= #
  # === moodle "734100 Allgemeine Betriebswirtschaftslehre"
  # ======================================================================= #
  when /^734100(-|_| )?Allgemeine(-|_| )?Betriebswirtschaftslehre$/i,
       /^Allgemeine(-|_| )?Betriebswirtschaftslehre$/i
    "https://learn.boku.ac.at/course/view.php?id=37326"
  # ======================================================================= #
  # === moodle "958118 Obst- und Weinbau"
  # ======================================================================= #
  when /^958118(-|_| )?Obst(-|_)?(-|_| )?und(-|_| )?Weinbau$/i,
       /^Obst(-|_)?(-|_| )?und(-|_| )?Weinbau$/i
    "https://learn.boku.ac.at/course/view.php?id=51986"
  # ======================================================================= #
  # === moodle "853111 Natur- und Landschaftsschutz"
  # ======================================================================= #
  when /^853111(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i,
       /^Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i
    ""
  # ======================================================================= #
  # === moodle "790108 Bioethik"
  # ======================================================================= #
  when /^790108(-|_| )?Bioethik$/i,
       /^Bioethik$/i
    "https://learn.boku.ac.at/course/view.php?id=47039"
  # ======================================================================= #
  # === moodle "790116 Mikrobielle Physiologie"
  # ======================================================================= #
  when /^790116(-|_| )?Mikrobielle(-|_| )?Physiologie$/i,
       /^Mikrobielle(-|_| )?Physiologie$/i
    "https://learn.boku.ac.at/enrol/index.php?id=47063"
  # ======================================================================= #
  # === moodle "851109 Statistik (UBRM)"
  # ======================================================================= #
  when /^851109(-|_| )?Statistik(-|_| )?\(?UBRM\)?$/i,
       /^Statistik(-|_| )?\(?UBRM\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=35923"
  # ======================================================================= #
  # === moodle "790325 Flow cytometry and cell sorting in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790325(-|_| )?Flow(-|_| )?cytometry(-|_| )?and(-|_| )?cell(-|_| )?sorting(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Flow(-|_| )?cytometry(-|_| )?and(-|_| )?cell(-|_| )?sorting(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=21152"
  # ======================================================================= #
  # === moodle "790367 Stem cells and tissue engineering (in Eng.)"
  # ======================================================================= #
  when /^790367(-|_| )?Stem(-|_| )?cells(-|_| )?and(-|_| )?tissue(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Stem(-|_| )?cells(-|_| )?and(-|_| )?tissue(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=47174"
  # ======================================================================= #
  # === moodle "790397 Protein engineering (in Eng.)"
  # ======================================================================= #
  when /^790397(-|_| )?Protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=47264"
  # ======================================================================= #
  # === moodle "771100 Einführung in die Chemie"
  # ======================================================================= #
  when /^771100(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Chemie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Chemie$/i
    "https://learn.boku.ac.at/enrol/index.php?id=46727"
  # ======================================================================= #
  # === moodle "940301 Structure and analysis of genomes (in Eng.)"
  # ======================================================================= #
  when /^940301(-|_| )?Structure(-|_| )?and(-|_| )?analysis(-|_| )?of(-|_| )?genomes(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Structure(-|_| )?and(-|_| )?analysis(-|_| )?of(-|_| )?genomes(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=51500"
  # ======================================================================= #
  # === moodle "754104 Betriebswirtschaft und Betriebsorganisation"
  # ======================================================================= #
  when /^754104(-|_| )?Betriebswirtschaft(-|_| )?und(-|_| )?Betriebsorganisation$/i,
       /^Betriebswirtschaft(-|_| )?und(-|_| )?Betriebsorganisation$/i
    "https://learn.boku.ac.at/course/view.php?id=46529"
  # ======================================================================= #
  # === moodle "736102 Rechtsgrundlagen"
  # ======================================================================= #
  when /^736102(-|_| )?Rechtsgrundlagen$/i,
       /^Rechtsgrundlagen$/i
    "https://learn.boku.ac.at/enrol/index.php?id=46148"
  # ======================================================================= #
  # === moodle "754110 Qualitätsmanagement II"
  # ======================================================================= #
  when /^754110(-|_| )?Qualitätsmanagement(-|_| )?II$/i,
       /^Qualitätsmanagement(-|_| )?II$/i
    "https://learn.boku.ac.at/course/view.php?id=2222"
  # ======================================================================= #
  # === moodle "892102 Agrarphysik"
  # ======================================================================= #
  when /^892102(-|_| )?Agrarphysik$/i,
       /^Agrarphysik$/i
    "https://learn.boku.ac.at/course/view.php?id=32499"
  # ======================================================================= #
  # === moodle "851106 Statistik Übungen (LBT)"
  # ======================================================================= #
  when /^851106(-|_| )?Statistik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i,
       /^Statistik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=48758"
  # ======================================================================= #
  # === moodle "894308 Modelling and simulation of biomolecules (in Eng.)"
  # ======================================================================= #
  when /^894308(-|_| )?Modelling(-|_| )?and(-|_| )?simulation(-|_| )?of(-|_| )?biomolecules(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Modelling(-|_| )?and(-|_| )?simulation(-|_| )?of(-|_| )?biomolecules(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=50375"
  # ======================================================================= #
  # === moodle "735111 Marketing (AW)"
  # ======================================================================= #
  when /^735111(-|_| )?Marketing(-|_| )?\(?AW\)?$/i,
       /^Marketing(-|_| )?\(?AW\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=28455"
  # ======================================================================= #
  # === moodle "851112 Statistik (AW): Beispiele und Anwendungen"
  # ======================================================================= #
  when /^851112(-|_| )?Statistik(-|_| )?\(?AW\)?:(-|_| )?Beispiele(-|_| )?und(-|_| )?Anwendungen$/i,
       /^Statistik(-|_| )?\(?AW\)?:(-|_| )?Beispiele(-|_| )?und(-|_| )?Anwendungen$/i
    "https://learn.boku.ac.at/course/view.php?id=40155"
  # ======================================================================= #
  # === moodle "772306 Proteomics (in Eng.)"
  # ======================================================================= #
  when /^772306(-|_| )?Proteomics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Proteomics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=20909"
  # ======================================================================= #
  # === moodle "773311 Introduction into crystallography and NMR spectroscopy of proteins (in Eng.)"
  # ======================================================================= #
  when /^773311(-|_| )?Introduction(-|_| )?into(-|_| )?crystallography(-|_| )?and(-|_| )?NMR(-|_| )?spectroscopy(-|_| )?of(-|_| )?proteins(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Introduction(-|_| )?into(-|_| )?crystallography(-|_| )?and(-|_| )?NMR(-|_| )?spectroscopy(-|_| )?of(-|_| )?proteins(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=35654"
  # ======================================================================= #
  # === moodle "790129 Biotechnological products (in Eng.)"
  # ======================================================================= #
  when /^790129(-|_| )?Biotechnological(-|_| )?products(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biotechnological(-|_| )?products(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=21119"
  # ======================================================================= #
  # === moodle "893105 Mess- und Regeltechnik I"
  # ======================================================================= #
  when /^893105(-|_| )?Mess(-|_)?(-|_| )?und(-|_| )?Regeltechnik(-|_| )?I$/i,
       /^Mess(-|_)?(-|_| )?und(-|_| )?Regeltechnik(-|_| )?I$/i
    "https://learn.boku.ac.at/course/view.php?id=50270"
  # ======================================================================= #
  # === moodle "803110 Biointerfaces, biomaterials and biophysics in nanobiosciences (in Eng.)"
  # ======================================================================= #
  when /^803110(-|_| )?Biointerfaces,?(-|_| )?biomaterials(-|_| )?and(-|_| )?biophysics(-|_| )?in(-|_| )?nanobiosciences(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biointerfaces,?(-|_| )?biomaterials(-|_| )?and(-|_| )?biophysics(-|_| )?in(-|_| )?nanobiosciences(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=21398"
  # ======================================================================= #
  # === moodle "835100 Mathematik (LBT)"
  # ======================================================================= #
  when /^835100(-|_| )?Mathematik(-|_| )?\(?LBT\)?$/i,
       /^Mathematik(-|_| )?\(?LBT\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=48647"
  # ======================================================================= #
  # === moodle "940085 Molecular biology of fungi (in Eng.)"
  # ======================================================================= #
  when /^940085(-|_| )?Molecular(-|_| )?biology(-|_| )?of(-|_| )?fungi(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?biology(-|_| )?of(-|_| )?fungi(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=42753"
  # ======================================================================= #
  # === moodle "932112 Nutztierethologie"
  # ======================================================================= #
  when /^932112(-|_| )?Nutztierethologie$/i,
       /^Nutztierethologie$/i
    "https://learn.boku.ac.at/course/view.php?id=9661"
  # ======================================================================= #
  # === moodle "771108 Analytische Chemie"
  # ======================================================================= #
  when /^771108(-|_| )?Analytische(-|_| )?Chemie$/i,
       /^Analytische(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291814"
  # ======================================================================= #
  # === moodle "802300 Biological nanosciences and nanotechnology (in Eng.)"
  # ======================================================================= #
  when /^802300(-|_| )?Biological(-|_| )?nanosciences(-|_| )?and(-|_| )?nanotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biological(-|_| )?nanosciences(-|_| )?and(-|_| )?nanotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=29652"
  # ======================================================================= #
  # === moodle "773113 Organische Chemie für Lebensmittel- und Biotechnologen"
  # ======================================================================= #
  when /^773113(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Lebensmittel(-|_)?(-|_| )?und(-|_| )?Biotechnologen$/i,
       /^Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Lebensmittel(-|_)?(-|_| )?und(-|_| )?Biotechnologen$/i
    "https://learn.boku.ac.at/course/view.php?id=29202"
  # ======================================================================= #
  # === moodle "932113 Anatomie und Physiologie der Nutztiere"
  # ======================================================================= #
  when /^932113(-|_| )?Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?der(-|_| )?Nutztiere$/i,
       /^Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?der(-|_| )?Nutztiere$/i
    "https://learn.boku.ac.at/course/view.php?id=42480"
  # ======================================================================= #
  # === moodle "892105 Physik (UBRM)"
  # ======================================================================= #
  when /^892105(-|_| )?Physik(-|_| )?\(?UBRM\)?$/i,
       /^Physik(-|_| )?\(?UBRM\)?$/i
    "https://learn.boku.ac.at/enrol/index.php?id=32508"
  # ======================================================================= #
  # === moodle "940115 Laboratory course in molecular biology I (in Eng.)"
  # ======================================================================= #
  when /^940115(-|_| )?Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?I(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?I(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    ""
  # ======================================================================= #
  # === moodle "790370 Mechanisms of cell regulation in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790370(-|_| )?Mechanisms(-|_| )?of(-|_| )?cell(-|_| )?regulation(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Mechanisms(-|_| )?of(-|_| )?cell(-|_| )?regulation(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=21221"
  # ======================================================================= #
  # === moodle "752324 Food biotechnology (in Eng.)"
  # ======================================================================= #
  when /^752324(-|_| )?Food(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Food(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=17162"
  # ======================================================================= #
  # === moodle "915180 Projektmanagement"
  # ======================================================================= #
  when /^915180(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://learn.boku.ac.at/course/view.php?id=24647"
  # ======================================================================= #
  # === moodle "773310 Bioorganic chemistry (in Eng.)"
  # ======================================================================= #
  when /^773310(-|_| )?Bioorganic(-|_| )?chemistry(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Bioorganic(-|_| )?chemistry(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    ""
  # ======================================================================= #
  # === moodle "731111 Grundlagen der Volkswirtschaftslehre"
  # ======================================================================= #
  when /^731111(-|_| )?Grundlagen(-|_| )?der(-|_| )?Volkswirtschaftslehre$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Volkswirtschaftslehre$/i
    "https://learn.boku.ac.at/course/view.php?id=45455"
  # ======================================================================= #
  # === moodle "731115 Grundlagen der Ökonomie"
  # ======================================================================= #
  when /^731115(-|_| )?Grundlagen(-|_| )?der(-|_| )?Ökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Ökonomie$/i
    "https://learn.boku.ac.at/course/view.php?id=45455"
  # ======================================================================= #
  # === moodle "803302 Methods in ultrastructure research (in Eng.)"
  # ======================================================================= #
  when /^803302(-|_| )?Methods(-|_| )?in(-|_| )?ultrastructure(-|_| )?research(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Methods(-|_| )?in(-|_| )?ultrastructure(-|_| )?research(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=29697"
  # ======================================================================= #
  # === moodle "732102 Kommunikation und Öffentlichkeitsarbeit"
  # ======================================================================= #
  when /^732102(-|_| )?Kommunikation(-|_| )?und(-|_| )?Öffentlichkeitsarbeit$/i,
       /^Kommunikation(-|_| )?und(-|_| )?Öffentlichkeitsarbeit$/i
    "https://learn.boku.ac.at/enrol/index.php?id=51530"
  # ======================================================================= #
  # === moodle "940323 Laboratory course in molecular biology II (in Eng.)"
  # ======================================================================= #
  when /^940323(-|_| )?Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Laboratory(-|_| )?course(-|_| )?in(-|_| )?molecular(-|_| )?biology(-|_| )?II(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/enrol/index.php?id=51530"
  # ======================================================================= #
  # === moodle "892104 Physik (LBT)"
  # ======================================================================= #
  when /^892104(-|_| )?Physik(-|_| )?\(?LBT\)?$/i,
       /^Physik(-|_| )?\(?LBT\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=32502"
  # ======================================================================= #
  # === moodle "752339 Enzyme engineering (in Eng.)"
  # ======================================================================= #
  when /^752339(-|_| )?Enzyme(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Enzyme(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=28866"
  # ======================================================================= #
  # === moodle "752120 Lebensmitteltechnologische Grundverfahren"
  # ======================================================================= #
  when /^752120(-|_| )?Lebensmitteltechnologische(-|_| )?Grundverfahren$/i,
       /^Lebensmitteltechnologische(-|_| )?Grundverfahren$/i
    "https://learn.boku.ac.at/course/view.php?id=46397"
  # ======================================================================= #
  # === moodle "790044 Sicherheit am Arbeitsplatz"
  # ======================================================================= #
  when /^790044(-|_| )?Sicherheit(-|_| )?am(-|_| )?Arbeitsplatz$/i,
       /^Sicherheit(-|_| )?am(-|_| )?Arbeitsplatz$/i
    "https://learn.boku.ac.at/course/view.php?id=29298"
  # ======================================================================= #
  # === moodle "831135 Allgemeine Botanik"
  # ======================================================================= #
  when /^831135(-|_| )?Allgemeine(-|_| )?Botanik$/i,
       /^Allgemeine(-|_| )?Botanik$/i
    "https://learn.boku.ac.at/course/view.php?id=30618"
  # ======================================================================= #
  # === moodle "970305 Biotechnology for sustainable processes and environmental protection (in Eng.)"
  # ======================================================================= #
  when /^970305(-|_| )?Biotechnology(-|_| )?for(-|_| )?sustainable(-|_| )?processes(-|_| )?and(-|_| )?environmental(-|_| )?protection(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biotechnology(-|_| )?for(-|_| )?sustainable(-|_| )?processes(-|_| )?and(-|_| )?environmental(-|_| )?protection(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=43401"
  # ======================================================================= #
  # === moodle "772114 Biochemie des Stoffwechsels"
  # ======================================================================= #
  when /^772114(-|_| )?Biochemie(-|_| )?des(-|_| )?Stoffwechsels$/i,
       /^Biochemie(-|_| )?des(-|_| )?Stoffwechsels$/i
    "https://learn.boku.ac.at/course/view.php?id=38211"
  # ======================================================================= #
  # === moodle "772007 The molecular mechanisms of cancer immunotherapies (in Eng.)"
  # ======================================================================= #
  when /^772007(-|_| )?The(-|_| )?molecular(-|_| )?mechanisms(-|_| )?of(-|_| )?cancer(-|_| )?immunotherapies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^The(-|_| )?molecular(-|_| )?mechanisms(-|_| )?of(-|_| )?cancer(-|_| )?immunotherapies(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/enrol/index.php?id=46772"
  # ======================================================================= #
  # === moodle "771109 Allgemeine und Physikalische Chemie"
  # ======================================================================= #
  when /^771109(-|_| )?Allgemeine(-|_| )?und(-|_| )?Physikalische(-|_| )?Chemie$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Physikalische(-|_| )?Chemie$/i
    "https://learn.boku.ac.at/course/view.php?id=20849"
  # ======================================================================= #
  # === moodle "752344 Structure and function of proteins (in Eng.)"
  # ======================================================================= #
  when /^752344(-|_| )?Structure(-|_| )?and(-|_| )?function(-|_| )?of(-|_| )?proteins(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Structure(-|_| )?and(-|_| )?function(-|_| )?of(-|_| )?proteins(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=20630"
  # ======================================================================= #
  # === moodle "790392 Microbial ecology (in Eng.)"
  # ======================================================================= #
  when /^790392(-|_| )?Microbial(-|_| )?ecology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Microbial(-|_| )?ecology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    ""
  # ======================================================================= #
  # === moodle "814014 Wissenschaftliche Arbeiten schreiben mit LaTeX"
  # ======================================================================= #
  when /^814014(-|_| )?Wissenschaftliche(-|_| )?Arbeiten(-|_| )?schreiben(-|_| )?mit(-|_| )?LaTeX$/i,
       /^Wissenschaftliche(-|_| )?Arbeiten(-|_| )?schreiben(-|_| )?mit(-|_| )?LaTeX$/i
    "https://learn.boku.ac.at/course/view.php?id=30147"
  # ======================================================================= #
  # === moodle "790115 Einführung in das wissenschaftliche Arbeiten für NaturwissenschafterInnen"
  # ======================================================================= #
  when /^790115(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?wissenschaftliche(-|_| )?Arbeiten(-|_| )?für(-|_| )?NaturwissenschafterInnen$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?wissenschaftliche(-|_| )?Arbeiten(-|_| )?für(-|_| )?NaturwissenschafterInnen$/i
    "https://learn.boku.ac.at/course/view.php?id=21089"
  # ======================================================================= #
  # === moodle "790377 Seminar in biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790377(-|_| )?Seminar(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Seminar(-|_| )?in(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=26384"
  # ======================================================================= #
  # === moodle "912116 Waldökologie"
  # ======================================================================= #
  when /^912116(-|_| )?Waldökologie$/i,
       /^Waldökologie$/i
    ""
  # ======================================================================= #
  # === moodle "772108 Grundlagen der Biochemie"
  # ======================================================================= #
  when /^772108(-|_| )?Grundlagen(-|_| )?der(-|_| )?Biochemie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Biochemie$/i
    "https://learn.boku.ac.at/course/view.php?id=20885"
  # ======================================================================= #
  # === moodle "771118 Chemisches Rechnen I"
  # ======================================================================= #
  when /^771118(-|_| )?Chemisches(-|_| )?Rechnen(-|_| )?I$/i,
       /^Chemisches(-|_| )?Rechnen(-|_| )?I$/i
    "https://learn.boku.ac.at/course/view.php?id=20852"
  # ======================================================================= #
  # === moodle "940001 Understand the wonder of science behind vaccines (in Eng.)"
  # ======================================================================= #
  when /^940001(-|_| )?Understand(-|_| )?the(-|_| )?wonder(-|_| )?of(-|_| )?science(-|_| )?behind(-|_| )?vaccines(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Understand(-|_| )?the(-|_| )?wonder(-|_| )?of(-|_| )?science(-|_| )?behind(-|_| )?vaccines(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=44705"
  # ======================================================================= #
  # === moodle "790311 Immunology (in Eng.)"
  # ======================================================================= #
  when /^790311(-|_| )?Immunology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Immunology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=21140"
  # ======================================================================= #
  # === moodle "772112 Biochemische Übungen I"
  # ======================================================================= #
  when /^772112(-|_| )?Biochemische(-|_| )?Übungen(-|_| )?I$/i,
       /^Biochemische(-|_| )?Übungen(-|_| )?I$/i
    "https://learn.boku.ac.at/course/view.php?id=46790"
  # ======================================================================= #
  # === moodle "773010 Advances in protein crystallography (in Eng.)"
  # ======================================================================= #
  when /^773010(-|_| )?Advances(-|_| )?in(-|_| )?protein(-|_| )?crystallography(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Advances(-|_| )?in(-|_| )?protein(-|_| )?crystallography(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=35043"
  # ======================================================================= #
  # === moodle "802301 Biomaterial interfaces and interactions (in Eng.)"
  # ======================================================================= #
  when /^802301(-|_| )?Biomaterial(-|_| )?interfaces(-|_| )?and(-|_| )?interactions(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biomaterial(-|_| )?interfaces(-|_| )?and(-|_| )?interactions(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=29655"
  # ======================================================================= #
  # === moodle "957325 Molecular plant breeding (in Eng.)"
  # ======================================================================= #
  when /^957325(-|_| )?Molecular(-|_| )?plant(-|_| )?breeding(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?plant(-|_| )?breeding(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=43251"
  # ======================================================================= #
  # === moodle "790111 Plant biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790111(-|_| )?Plant(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Plant(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=9179"
  # ======================================================================= #
  # === moodle "894003 Programming with Python (basic) (in Eng.)"
  # ======================================================================= #
  when /^894003(-|_| )?Programming(-|_| )?with(-|_| )?Python(-|_| )?\(?basic\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Programming(-|_| )?with(-|_| )?Python(-|_| )?\(?basic\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=26900"
  # ======================================================================= #
  # === moodle "851111 Statistik (AW)"
  # ======================================================================= #
  when /^851111(-|_| )?Statistik(-|_| )?\(?AW\)?$/i,
       /^Statistik(-|_| )?\(?AW\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=40152"
  # ======================================================================= #
  # === moodle "893122 Mechanische und thermische Verfahrenstechnik"
  # ======================================================================= #
  when /^893122(-|_| )?Mechanische(-|_| )?und(-|_| )?thermische(-|_| )?Verfahrenstechnik$/i,
       /^Mechanische(-|_| )?und(-|_| )?thermische(-|_| )?Verfahrenstechnik$/i
    "https://learn.boku.ac.at/course/view.php?id=32598"
  # ======================================================================= #
  # === moodle "752340 Biochemical technology (in Eng.)"
  # ======================================================================= #
  when /^752340(-|_| )?Biochemical(-|_| )?technology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biochemical(-|_| )?technology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=28869"
  # ======================================================================= #
  # === moodle "772304 Protein chemistry and protein engineering (in Eng.)"
  # ======================================================================= #
  when /^772304(-|_| )?Protein(-|_| )?chemistry(-|_| )?and(-|_| )?protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Protein(-|_| )?chemistry(-|_| )?and(-|_| )?protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=46802"
  # ======================================================================= #
  # === moodle "940322 Plant biochemistry and cell biology (in Eng.)"
  # ======================================================================= #
  when /^940322(-|_| )?Plant(-|_| )?biochemistry(-|_| )?and(-|_| )?cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Plant(-|_| )?biochemistry(-|_| )?and(-|_| )?cell(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=33822"
  # ======================================================================= #
  # === moodle "790131 Einführung in die Lebensmitteltechnologie, Biotechnologie und Prozesstechnik"
  # ======================================================================= #
  when /^790131(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Lebensmitteltechnologie,?(-|_| )?Biotechnologie(-|_| )?und(-|_| )?Prozesstechnik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Lebensmitteltechnologie,?(-|_| )?Biotechnologie(-|_| )?und(-|_| )?Prozesstechnik$/i
    "https://learn.boku.ac.at/course/view.php?id=17364"
  # ======================================================================= #
  # === moodle "790120 Grundlagen der Bioprozesstechnik"
  # ======================================================================= #
  when /^790120(-|_| )?Grundlagen(-|_| )?der(-|_| )?Bioprozesstechnik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Bioprozesstechnik$/i
    "https://learn.boku.ac.at/course/view.php?id=29361"
  # ======================================================================= #
  # === moodle "851110 Statistik (UBRM)"
  # ======================================================================= #
  when /^851110(-|_| )?Statistik(-|_| )?\(?UBRM\)?$/i,
       /^Statistik(-|_| )?\(?UBRM\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=35923"
  # ======================================================================= #
  # === moodle "790398 Antibody engineering (in Eng.)"
  # ======================================================================= #
  when /^790398(-|_| )?Antibody(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Antibody(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=21302"
  # ======================================================================= #
  # === moodle "731101 Projektmanagement"
  # ======================================================================= #
  when /^731101(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://learn.boku.ac.at/course/view.php?id=36876"
  # ======================================================================= #
  # === moodle "851114 Statistik für KTWW - Übungen"
  # ======================================================================= #
  when /^851114(-|_| )?Statistik(-|_| )?für(-|_| )?KTWW(-|_| )?(-|_)?(-|_| )?Übungen$/i,
       /^Statistik(-|_| )?für(-|_| )?KTWW(-|_| )?(-|_)?(-|_| )?Übungen$/i
    "https://learn.boku.ac.at/course/view.php?id=35923"
  # ======================================================================= #
  # === moodle "957121 Kulturpflanzen und genetische Ressourcen"
  # ======================================================================= #
  when /^957121(-|_| )?Kulturpflanzen(-|_| )?und(-|_| )?genetische(-|_| )?Ressourcen$/i,
       /^Kulturpflanzen(-|_| )?und(-|_| )?genetische(-|_| )?Ressourcen$/i
    "https://learn.boku.ac.at/course/view.php?id=34233"
  # ======================================================================= #
  # === moodle "851113 Statistik für KTWW"
  # ======================================================================= #
  when /^851113(-|_| )?Statistik(-|_| )?für(-|_| )?KTWW$/i,
       /^Statistik(-|_| )?für(-|_| )?KTWW$/i
    "https://learn.boku.ac.at/course/view.php?id=24173"
  # ======================================================================= #
  # === moodle "790037 Characterisation of blood stem cells as starting cells for biotechnology (in Eng.)"
  # ======================================================================= #
  when /^790037(-|_| )?Characterisation(-|_| )?of(-|_| )?blood(-|_| )?stem(-|_| )?cells(-|_| )?as(-|_| )?starting(-|_| )?cells(-|_| )?for(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Characterisation(-|_| )?of(-|_| )?blood(-|_| )?stem(-|_| )?cells(-|_| )?as(-|_| )?starting(-|_| )?cells(-|_| )?for(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=29289"
  # ======================================================================= #
  # === moodle "790045 Interactions of the (innate) immune system and viruses (in Eng.)"
  # ======================================================================= #
  when /^790045(-|_| )?Interactions(-|_| )?of(-|_| )?the(-|_| )?\(?innate\)?(-|_| )?immune(-|_| )?system(-|_| )?and(-|_| )?viruses(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Interactions(-|_| )?of(-|_| )?the(-|_| )?\(?innate\)?(-|_| )?immune(-|_| )?system(-|_| )?and(-|_| )?viruses(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=29301"
  # ======================================================================= #
  # === moodle "790390 Molecular evolution and phylogenetics (in Eng.)"
  # ======================================================================= #
  when /^790390(-|_| )?Molecular(-|_| )?evolution(-|_| )?and(-|_| )?phylogenetics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Molecular(-|_| )?evolution(-|_| )?and(-|_| )?phylogenetics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=21281"
  # ======================================================================= #
  # === moodle "892100 Physik (KTWW+HNT)"
  # ======================================================================= #
  when /^892100(-|_| )?Physik(-|_| )?\(?KTWW+HNT\)?$/i,
       /^Physik(-|_| )?\(?KTWW+HNT\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=24044"
  # ======================================================================= #
  # === moodle "831110 Botanik (AW)"
  # ======================================================================= #
  when /^831110(-|_| )?Botanik(-|_| )?\(?AW\)?$/i,
       /^Botanik(-|_| )?\(?AW\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=48215"
  # ======================================================================= #
  # === moodle "790368 Biological therapeutics (in Eng.)"
  # ======================================================================= #
  when /^790368(-|_| )?Biological(-|_| )?therapeutics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biological(-|_| )?therapeutics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=21212"
  # ======================================================================= #
  # === moodle "731127 Grundlagen der Mikroökonomie"
  # ======================================================================= #
  when /^731127(-|_| )?Grundlagen(-|_| )?der(-|_| )?Mikroökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Mikroökonomie$/i
    "https://learn.boku.ac.at/course/view.php?id=16895"
  # ======================================================================= #
  # === moodle "771303 Environmental and biotechnological analysis (in Eng.)"
  # ======================================================================= #
  when /^771303(-|_| )?Environmental(-|_| )?and(-|_| )?biotechnological(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Environmental(-|_| )?and(-|_| )?biotechnological(-|_| )?analysis(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=20855"
  # ======================================================================= #
  # === moodle "736302 Patent law and strategic patent management (in Eng.)"
  # ======================================================================= #
  when /^736302(-|_| )?Patent(-|_| )?law(-|_| )?and(-|_| )?strategic(-|_| )?patent(-|_| )?management(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Patent(-|_| )?law(-|_| )?and(-|_| )?strategic(-|_| )?patent(-|_| )?management(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=20378"
  # ======================================================================= #
  # === moodle "831123 Botany (UBRM) (in Eng.)"
  # ======================================================================= #
  when /^831123(-|_| )?Botany(-|_| )?\(?UBRM\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Botany(-|_| )?\(?UBRM\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=22310"
  # ======================================================================= #
  # === moodle "818100 Umweltethik (UBRM)"
  # ======================================================================= #
  when /^818100(-|_| )?Umweltethik(-|_| )?\(?UBRM\)?$/i,
       /^Umweltethik(-|_| )?\(?UBRM\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=22139"
  # ======================================================================= #
  # === moodle "894101 Introduction to Bioinformatics (in Eng.)"
  # ======================================================================= #
  when /^894101(-|_| )?Introduction(-|_| )?to(-|_| )?Bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Introduction(-|_| )?to(-|_| )?Bioinformatics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=24167"
  # ======================================================================= #
  # === moodle "321015 Pathophysiologie - B8"
  # ======================================================================= #
  when /^321015(-|_| )?Pathophysiologie(-|_| )?(-|_)?(-|_| )?B8$/i,
       /^Pathophysiologie(-|_| )?(-|_)?(-|_| )?B8$/i
    "https://moodle.univie.ac.at/course/view.php?id=379406"
  # ======================================================================= #
  # === moodle "300128 Developmental Biology and Reproduction of plants"
  # ======================================================================= #
  when /^300128(-|_| )?Developmental(-|_| )?Biology(-|_| )?and(-|_| )?Reproduction(-|_| )?of(-|_| )?plants$/i,
       /^Developmental(-|_| )?Biology(-|_| )?and(-|_| )?Reproduction(-|_| )?of(-|_| )?plants$/i
    "https://moodle.univie.ac.at/course/view.php?id=351309"
  # ======================================================================= #
  # === moodle "300027 Grundlagen der Limnologie"
  # ======================================================================= #
  when /^300027(-|_| )?Grundlagen(-|_| )?der(-|_| )?Limnologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Limnologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=402263"
  # ======================================================================= #
  # === moodle "300609 Biodiversität und molekulare Ökologie der Mikroorganismen Teil 2"
  # ======================================================================= #
  when /^300609(-|_| )?Biodiversität(-|_| )?und(-|_| )?molekulare(-|_| )?Ökologie(-|_| )?der(-|_| )?Mikroorganismen(-|_| )?Teil(-|_| )?2$/i,
       /^Biodiversität(-|_| )?und(-|_| )?molekulare(-|_| )?Ökologie(-|_| )?der(-|_| )?Mikroorganismen(-|_| )?Teil(-|_| )?2$/i
    "https://moodle.univie.ac.at/course/view.php?id=388166"
  # ======================================================================= #
  # === moodle "300495 Ökophysiologie"
  # ======================================================================= #
  when /^300495(-|_| )?Ökophysiologie$/i,
       /^Ökophysiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=384839"
  # ======================================================================= #
  # === moodle "300388 Struktur, Funktion und Evolution der Tiere"
  # ======================================================================= #
  when /^300388(-|_| )?Struktur,?(-|_| )?Funktion(-|_| )?und(-|_| )?Evolution(-|_| )?der(-|_| )?Tiere$/i,
       /^Struktur,?(-|_| )?Funktion(-|_| )?und(-|_| )?Evolution(-|_| )?der(-|_| )?Tiere$/i
    "https://moodle.univie.ac.at/course/view.php?id=394140"
  # ======================================================================= #
  # === moodle "300102 Verhaltensbiologie des Menschen"
  # ======================================================================= #
  when /^300102(-|_| )?Verhaltensbiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Verhaltensbiologie(-|_| )?des(-|_| )?Menschen$/i
    ""
  # ======================================================================= #
  # === moodle "300379 Natur in unserer Hand"
  # ======================================================================= #
  when /^300379(-|_| )?Natur(-|_| )?in(-|_| )?unserer(-|_| )?Hand$/i,
       /^Natur(-|_| )?in(-|_| )?unserer(-|_| )?Hand$/i
    "https://moodle.univie.ac.at/course/view.php?id=347748"
  # ======================================================================= #
  # === moodle "300327 Einführung in die Humanethologie"
  # ======================================================================= #
  when /^300327(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Humanethologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Humanethologie$/i
    "http://evolution.anthro.univie.ac.at/institutes/urbanethology/resources/lectures/?fbclid=IwAR2BRfWaUOSkC54RCkAGAykR79Bt-OO6dQ_mBVWUAUu04bi1d-QYnXv6F8g"
  # ======================================================================= #
  # === moodle "262005 Introduction to Computational Biology and Drug Discovery"
  # ======================================================================= #
  when /^262005(-|_| )?Introduction(-|_| )?to(-|_| )?Computational(-|_| )?Biology(-|_| )?and(-|_| )?Drug(-|_| )?Discovery$/i,
       /^Introduction(-|_| )?to(-|_| )?Computational(-|_| )?Biology(-|_| )?and(-|_| )?Drug(-|_| )?Discovery$/i
    "https://moodle.univie.ac.at/course/view.php?id=359708"
  # ======================================================================= #
  # === moodle "300043 Introduction to Cognitive Biology"
  # ======================================================================= #
  when /^300043(-|_| )?Introduction(-|_| )?to(-|_| )?Cognitive(-|_| )?Biology$/i,
       /^Introduction(-|_| )?to(-|_| )?Cognitive(-|_| )?Biology$/i
    "https://moodle.univie.ac.at/course/view.php?id=360328"
  # ======================================================================= #
  # === moodle "270196 Elektrophoretische und Chromatographische Trennmethoden"
  # ======================================================================= #
  when /^270196(-|_| )?Elektrophoretische(-|_| )?und(-|_| )?Chromatographische(-|_| )?Trennmethoden$/i,
       /^Elektrophoretische(-|_| )?und(-|_| )?Chromatographische(-|_| )?Trennmethoden$/i
    "https://moodle.univie.ac.at/course/view.php?id=403337"
  # ======================================================================= #
  # === moodle "051130 Einführende Statistik"
  # ======================================================================= #
  when /^051130(-|_| )?Einführende(-|_| )?Statistik$/i,
       /^Einführende(-|_| )?Statistik$/i
    "https://moodle.univie.ac.at/course/view.php?id=344703"
  # ======================================================================= #
  # === moodle "300014 Introduction to animal development"
  # ======================================================================= #
  when /^300014(-|_| )?Introduction(-|_| )?to(-|_| )?animal(-|_| )?development$/i,
       /^Introduction(-|_| )?to(-|_| )?animal(-|_| )?development$/i
    "https://moodle.univie.ac.at/course/view.php?id=365231"
  # ======================================================================= #
  # === moodle "300161 Evolution im Mikrokosmos"
  # ======================================================================= #
  when /^300161(-|_| )?Evolution(-|_| )?im(-|_| )?Mikrokosmos$/i,
       /^Evolution(-|_| )?im(-|_| )?Mikrokosmos$/i
    "https://moodle.univie.ac.at/course/view.php?id=350525"
  # ======================================================================= #
  # === moodle "300496 Meereskunde"
  # ======================================================================= #
  when /^300496(-|_| )?Meereskunde$/i,
       /^Meereskunde$/i
    "https://moodle.univie.ac.at/course/view.php?id=360480"
  # ======================================================================= #
  # === moodle "300296 Ausgewählte Kapitel der Säugetier-Evolution"
  # ======================================================================= #
  when /^300296(-|_| )?Ausgewählte(-|_| )?Kapitel(-|_| )?der(-|_| )?Säugetier(-|_)?Evolution$/i,
       /^Ausgewählte(-|_| )?Kapitel(-|_| )?der(-|_| )?Säugetier(-|_)?Evolution$/i
    ""
  # ======================================================================= #
  # === moodle "301578 Spezielle Themen der Bioinformatik"
  # ======================================================================= #
  when /^301578(-|_| )?Spezielle(-|_| )?Themen(-|_| )?der(-|_| )?Bioinformatik$/i,
       /^Spezielle(-|_| )?Themen(-|_| )?der(-|_| )?Bioinformatik$/i
    "https://moodle.univie.ac.at/course/view.php?id=397756"
  # ======================================================================= #
  # === moodle "301902 Modellsysteme und Konzepte in Stammzellbiologie und Regeneration"
  # ======================================================================= #
  when /^301902(-|_| )?Modellsysteme(-|_| )?und(-|_| )?Konzepte(-|_| )?in(-|_| )?Stammzellbiologie(-|_| )?und(-|_| )?Regeneration$/i,
       /^Modellsysteme(-|_| )?und(-|_| )?Konzepte(-|_| )?in(-|_| )?Stammzellbiologie(-|_| )?und(-|_| )?Regeneration$/i
    "https://moodle.univie.ac.at/course/view.php?id=405861"
  # ======================================================================= #
  # === moodle "321022 Diätetik - B11"
  # ======================================================================= #
  when /^321022(-|_| )?Diätetik(-|_| )?(-|_)?(-|_| )?B11$/i,
       /^Diätetik(-|_| )?(-|_)?(-|_| )?B11$/i
    "https://moodle.univie.ac.at/enrol/index.php?id=130122"
  # ======================================================================= #
  # === moodle "321002 Steop Biologie für PharmazeutInnen - B2"
  # ======================================================================= #
  when /^321002(-|_| )?Steop(-|_| )?Biologie(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?B2$/i,
       /^Steop(-|_| )?Biologie(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?B2$/i
    "https://moodle.univie.ac.at/course/view.php?id=91100"
  # ======================================================================= #
  # === moodle "301908 Immune Resistance Mechanisms to current Cancer Therapies"
  # ======================================================================= #
  when /^301908(-|_| )?Immune(-|_| )?Resistance(-|_| )?Mechanisms(-|_| )?to(-|_| )?current(-|_| )?Cancer(-|_| )?Therapies$/i,
       /^Immune(-|_| )?Resistance(-|_| )?Mechanisms(-|_| )?to(-|_| )?current(-|_| )?Cancer(-|_| )?Therapies$/i
    "https://moodle.univie.ac.at/course/view.php?id=320556"
  # ======================================================================= #
  # === moodle "350091 BB3II - Blut, Immunsystem und Sport (Immunologie und Sport)"
  # ======================================================================= #
  when /^350091(-|_| )?BB3II(-|_| )?(-|_)?(-|_| )?Blut,?(-|_| )?Immunsystem(-|_| )?und(-|_| )?Sport(-|_| )?\(?Immunologie(-|_| )?und(-|_| )?Sport\)?$/i,
       /^BB3II(-|_| )?(-|_)?(-|_| )?Blut,?(-|_| )?Immunsystem(-|_| )?und(-|_| )?Sport(-|_| )?\(?Immunologie(-|_| )?und(-|_| )?Sport\)?$/i
    "https://moodle.univie.ac.at/course/view.php?id=396713"
  # ======================================================================= #
  # === moodle "270198 Bioinformatik I"
  # ======================================================================= #
  when /^270198(-|_| )?Bioinformatik(-|_| )?I$/i,
       /^Bioinformatik(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=403322"
  # ======================================================================= #
  # === moodle "300024 Konzepte der Ökologie"
  # ======================================================================= #
  when /^300024(-|_| )?Konzepte(-|_| )?der(-|_| )?Ökologie$/i,
       /^Konzepte(-|_| )?der(-|_| )?Ökologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=338442"
  # ======================================================================= #
  # === moodle "300131 Ausgewählte Stoffwechselleistungen der Mikroorganismen"
  # ======================================================================= #
  when /^300131(-|_| )?Ausgewählte(-|_| )?Stoffwechselleistungen(-|_| )?der(-|_| )?Mikroorganismen$/i,
       /^Ausgewählte(-|_| )?Stoffwechselleistungen(-|_| )?der(-|_| )?Mikroorganismen$/i
    "https://moodle.univie.ac.at/course/view.php?id=324808"
  # ======================================================================= #
  # === moodle "270008 Biochemie der Ernährung"
  # ======================================================================= #
  when /^270008(-|_| )?Biochemie(-|_| )?der(-|_| )?Ernährung$/i,
       /^Biochemie(-|_| )?der(-|_| )?Ernährung$/i
    "https://moodle.univie.ac.at/course/view.php?id=394011"
  # ======================================================================= #
  # === moodle "270275 Computersimulation von Biopolymeren"
  # ======================================================================= #
  when /^270275(-|_| )?Computersimulation(-|_| )?von(-|_| )?Biopolymeren$/i,
       /^Computersimulation(-|_| )?von(-|_| )?Biopolymeren$/i
    "https://moodle.univie.ac.at/course/view.php?id=394011"
  # ======================================================================= #
  # === moodle "300166 Entomologie"
  # ======================================================================= #
  when /^300166(-|_| )?Entomologie$/i,
       /^Entomologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=338044"
  # ======================================================================= #
  # === moodle "270056 Algorithmen und Programmentwicklung für die Biologische Chemie"
  # ======================================================================= #
  when /^270056(-|_| )?Algorithmen(-|_| )?und(-|_| )?Programmentwicklung(-|_| )?für(-|_| )?die(-|_| )?Biologische(-|_| )?Chemie$/i,
       /^Algorithmen(-|_| )?und(-|_| )?Programmentwicklung(-|_| )?für(-|_| )?die(-|_| )?Biologische(-|_| )?Chemie$/i
    "https://moodle.univie.ac.at/course/view.php?id=396791"
  # ======================================================================= #
  # === moodle "051011 Technische Grundlagen der Informatik"
  # ======================================================================= #
  when /^051011(-|_| )?Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i,
       /^Technische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik$/i
    "https://moodle.univie.ac.at/course/view.php?id=382077"
  # ======================================================================= #
  # === moodle "300718 Statistik in der Biologie"
  # ======================================================================= #
  when /^300718(-|_| )?Statistik(-|_| )?in(-|_| )?der(-|_| )?Biologie$/i,
       /^Statistik(-|_| )?in(-|_| )?der(-|_| )?Biologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=346089"
  # ======================================================================= #
  # === moodle "300195 Allgemeine und Organische Chemie für BiologInnen"
  # ======================================================================= #
  when /^300195(-|_| )?Allgemeine(-|_| )?und(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?BiologInnen$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?BiologInnen$/i
    "https://moodle.univie.ac.at/course/view.php?id=339305"
  # ======================================================================= #
  # === moodle "Basiswissen Informatik für die Bioinformatik"
  # ======================================================================= #
  when /^Basiswissen(-|_| )?Informatik(-|_| )?für(-|_| )?die(-|_| )?Bioinformatik$/i,
       /^Informatik(-|_| )?für(-|_| )?die(-|_| )?Bioinformatik$/i
    "https://moodle.univie.ac.at/course/view.php?id=381668"
  # ======================================================================= #
  # === moodle "051210 Grundlagen der Wirtschaftsinformatik"
  # ======================================================================= #
  when /^051210(-|_| )?Grundlagen(-|_| )?der(-|_| )?Wirtschaftsinformatik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Wirtschaftsinformatik$/i
    "https://moodle.univie.ac.at/course/view.php?id=398704"
  # ======================================================================= #
  # === moodle "250050 Diskrete Mathematik und Theoretische Informatik"
  # ======================================================================= #
  when /^250050(-|_| )?Diskrete(-|_| )?Mathematik(-|_| )?und(-|_| )?Theoretische(-|_| )?Informatik$/i,
       /^Diskrete(-|_| )?Mathematik(-|_| )?und(-|_| )?Theoretische(-|_| )?Informatik$/i
    "https://moodle.univie.ac.at/course/view.php?id=378836"
  # ======================================================================= #
  # === moodle "301150 Chromosomenbiologie und Cytogenetik"
  # ======================================================================= #
  when /^301150(-|_| )?Chromosomenbiologie(-|_| )?und(-|_| )?Cytogenetik$/i,
       /^Chromosomenbiologie(-|_| )?und(-|_| )?Cytogenetik$/i
    "https://moodle.univie.ac.at/course/view.php?id=398604"
  # ======================================================================= #
  # === moodle "301417 Methods in Molecular Biology"
  # ======================================================================= #
  when /^301417(-|_| )?Methods(-|_| )?in(-|_| )?Molecular(-|_| )?Biology$/i,
       /^Methods(-|_| )?in(-|_| )?Molecular(-|_| )?Biology$/i
    "https://moodle.univie.ac.at/course/view.php?id=328483"
  # ======================================================================= #
  # === moodle "300178 Mikrob. Lebensgemeinschaften"
  # ======================================================================= #
  when /^300178(-|_| )?Mikrob\.?(-|_| )?Lebensgemeinschaften$/i,
       /^Mikrob\.?(-|_| )?Lebensgemeinschaften$/i
    "https://moodle.univie.ac.at/course/view.php?id=392998"
  # ======================================================================= #
  # === moodle "300175 Microbial Oceanography"
  # ======================================================================= #
  when /^300175(-|_| )?Microbial(-|_| )?Oceanography$/i,
       /^Microbial(-|_| )?Oceanography$/i
    "https://moodle.univie.ac.at/course/view.php?id=389506"
  # ======================================================================= #
  # === moodle "300080 Symbiosis concepts and model systems (Part 2)"
  # ======================================================================= #
  when /^300080(-|_| )?Symbiosis(-|_| )?concepts(-|_| )?and(-|_| )?model(-|_| )?systems(-|_| )?\(?Part(-|_| )?2\)?$/i,
       /^Symbiosis(-|_| )?concepts(-|_| )?and(-|_| )?model(-|_| )?systems(-|_| )?\(?Part(-|_| )?2\)?$/i
    "https://moodle.univie.ac.at/course/view.php?id=395531"
  # ======================================================================= #
  # === moodle "300685 EvoDevo: Evolution of developmental processes"
  # ======================================================================= #
  when /^300685(-|_| )?EvoDevo:(-|_| )?Evolution(-|_| )?of(-|_| )?developmental(-|_| )?processes$/i,
       /^EvoDevo:(-|_| )?Evolution(-|_| )?of(-|_| )?developmental(-|_| )?processes$/i
    "https://moodle.univie.ac.at/course/view.php?id=358029"
  # ======================================================================= #
  # === moodle "301907 Die Entwicklung von neuen Tumor Immunotherapien"
  # ======================================================================= #
  when /^301907(-|_| )?Die(-|_| )?Entwicklung(-|_| )?von(-|_| )?neuen(-|_| )?Tumor(-|_| )?Immunotherapien$/i,
       /^Die(-|_| )?Entwicklung(-|_| )?von(-|_| )?neuen(-|_| )?Tumor(-|_| )?Immunotherapien$/i
    "https://moodle.univie.ac.at/course/view.php?id=348270"
  # ======================================================================= #
  # === moodle "350222 STEOP Modul 2 - Erste Hilfe und Hygiene"
  # ======================================================================= #
  when /^350222(-|_| )?STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Hygiene$/i,
       /^STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Hygiene$/i
    "https://moodle.univie.ac.at/course/view.php?id=398587"
  # ======================================================================= #
  # === moodle "301260 Immunologie u. zelluläre Mikrobiologie, Teil A"
  # ======================================================================= #
  when /^301260(-|_| )?Immunologie(-|_| )?u\.?(-|_| )?zelluläre(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?A$/i,
       /^Immunologie(-|_| )?u\.?(-|_| )?zelluläre(-|_| )?Mikrobiologie,?(-|_| )?Teil(-|_| )?A$/i
    "https://moodle.univie.ac.at/course/view.php?id=348042"
  # ======================================================================= #
  # === moodle "270152 Mathematik Grundlagen"
  # ======================================================================= #
  when /^270152(-|_| )?Mathematik(-|_| )?Grundlagen$/i,
       /^Mathematik(-|_| )?Grundlagen$/i
    "https://moodle.univie.ac.at/course/view.php?id=305471"
  # ======================================================================= #
  # === moodle "301350 Quantitative Methoden in der Molekularbiologie"
  # ======================================================================= #
  when /^301350(-|_| )?Quantitative(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Quantitative(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=348070"
  # ======================================================================= #
  # === moodle "300344 Introduction to Quantitative Biology and Systems Biology"
  # ======================================================================= #
  when /^300344(-|_| )?Introduction(-|_| )?to(-|_| )?Quantitative(-|_| )?Biology(-|_| )?and(-|_| )?Systems(-|_| )?Biology$/i,
       /^Introduction(-|_| )?to(-|_| )?Quantitative(-|_| )?Biology(-|_| )?and(-|_| )?Systems(-|_| )?Biology$/i
    "https://moodle.univie.ac.at/course/view.php?id=392068"
  # ======================================================================= #
  # === moodle "350296 Erste Hilfe und Akutversorgung von Sportverletzungen"
  # ======================================================================= #
  when /^350296(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Akutversorgung(-|_| )?von(-|_| )?Sportverletzungen$/i,
       /^Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Akutversorgung(-|_| )?von(-|_| )?Sportverletzungen$/i
    "https://moodle.univie.ac.at/course/view.php?id=360499"
  # ======================================================================= #
  # === moodle "250007 Grundlagen der EDV"
  # ======================================================================= #
  when /^250007(-|_| )?Grundlagen(-|_| )?der(-|_| )?EDV$/i,
       /^Grundlagen(-|_| )?der(-|_| )?EDV$/i
    "https://moodle.univie.ac.at/course/view.php?id=372799"
  # ======================================================================= #
  # === moodle "270127 The Chemistry of Microbial Interactions"
  # ======================================================================= #
  when /^270127(-|_| )?The(-|_| )?Chemistry(-|_| )?of(-|_| )?Microbial(-|_| )?Interactions$/i,
       /^The(-|_| )?Chemistry(-|_| )?of(-|_| )?Microbial(-|_| )?Interactions$/i
    "https://moodle.univie.ac.at/course/view.php?id=399505"
  # ======================================================================= #
  # === moodle "301364 Research topics in Molecular Microbiology, Microbial Ecology and Immunobiology"
  # ======================================================================= #
  when /^301364(-|_| )?Research(-|_| )?topics(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology$/i,
       /^Research(-|_| )?topics(-|_| )?in(-|_| )?Molecular(-|_| )?Microbiology,?(-|_| )?Microbial(-|_| )?Ecology(-|_| )?and(-|_| )?Immunobiology$/i
    "https://moodle.univie.ac.at/course/view.php?id=345243"
  # ======================================================================= #
  # === moodle "321023 Trenn- und Analysemethoden org. Arzneistoffe inkl. bioanalyt. Methoden - B12"
  # ======================================================================= #
  when /^321023(-|_| )?Trenn(-|_)?(-|_| )?und(-|_| )?Analysemethoden(-|_| )?org\.?(-|_| )?Arzneistoffe(-|_| )?inkl\.?(-|_| )?bioanalyt\.?(-|_| )?Methoden(-|_| )?(-|_)?(-|_| )?B12$/i,
       /^Trenn(-|_)?(-|_| )?und(-|_| )?Analysemethoden(-|_| )?org\.?(-|_| )?Arzneistoffe(-|_| )?inkl\.?(-|_| )?bioanalyt\.?(-|_| )?Methoden(-|_| )?(-|_)?(-|_| )?B12$/i
    "https://moodle.univie.ac.at/course/view.php?id=389675"
  # ======================================================================= #
  # === moodle "321029 Pharmazeutische Chemie 2 - B15"
  # ======================================================================= #
  when /^321029(-|_| )?Pharmazeutische(-|_| )?Chemie(-|_| )?2(-|_| )?(-|_)?(-|_| )?B15$/i,
       /^Pharmazeutische(-|_| )?Chemie(-|_| )?2(-|_| )?(-|_)?(-|_| )?B15$/i
    "https://moodle.univie.ac.at/course/view.php?id=369833"
  # ======================================================================= #
  # === moodle "301234 Advanced Biochemical and Biophysical Methods"
  # ======================================================================= #
  when /^301234(-|_| )?Advanced(-|_| )?Biochemical(-|_| )?and(-|_| )?Biophysical(-|_| )?Methods$/i,
       /^Advanced(-|_| )?Biochemical(-|_| )?and(-|_| )?Biophysical(-|_| )?Methods$/i
    "https://moodle.univie.ac.at/course/view.php?id=291032"
  # ======================================================================= #
  # === moodle "301401 Concepts in Molecular Biology"
  # ======================================================================= #
  when /^301401(-|_| )?Concepts(-|_| )?in(-|_| )?Molecular(-|_| )?Biology$/i,
       /^Concepts(-|_| )?in(-|_| )?Molecular(-|_| )?Biology$/i
    "https://moodle.univie.ac.at/course/view.php?id=345673"
  # ======================================================================= #
  # === moodle "321025 Einführung in pharmazeutisches Imaging - B13"
  # ======================================================================= #
  when /^321025(-|_| )?Einführung(-|_| )?in(-|_| )?pharmazeutisches(-|_| )?Imaging(-|_| )?(-|_)?(-|_| )?B13$/i,
       /^Einführung(-|_| )?in(-|_| )?pharmazeutisches(-|_| )?Imaging(-|_| )?(-|_)?(-|_| )?B13$/i
    "https://moodle.univie.ac.at/course/view.php?id=366488"
  # ======================================================================= #
  # === moodle "300220 Paläoökologie"
  # ======================================================================= #
  when /^300220(-|_| )?Paläoökologie$/i,
       /^Paläoökologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=307533"
  # ======================================================================= #
  # === moodle "300269 Paläobiogeographie"
  # ======================================================================= #
  when /^300269(-|_| )?Paläobiogeographie$/i,
       /^Paläobiogeographie$/i
    "https://moodle.univie.ac.at/course/view.php?id=295629"
  # ======================================================================= #
  # === moodle "300006 Primatologie"
  # ======================================================================= #
  when /^300006(-|_| )?Primatologie$/i,
       /^Primatologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=363268"
  # ======================================================================= #
  # === moodle "301873 Exercises in Advanced Cell Biology"
  # ======================================================================= #
  when /^301873(-|_| )?Exercises(-|_| )?in(-|_| )?Advanced(-|_| )?Cell(-|_| )?Biology$/i,
       /^Exercises(-|_| )?in(-|_| )?Advanced(-|_| )?Cell(-|_| )?Biology$/i
    ""
  # ======================================================================= #
  # === moodle "270054 Allgemeine Chemie A"
  # ======================================================================= #
  when /^270054(-|_| )?Allgemeine(-|_| )?Chemie(-|_| )?A$/i,
       /^Allgemeine(-|_| )?Chemie(-|_| )?A$/i
    "https://moodle.univie.ac.at/course/view.php?id=344008"
  # ======================================================================= #
  # === moodle "300236 Prokaryotic evolution and diversity"
  # ======================================================================= #
  when /^300236(-|_| )?Prokaryotic(-|_| )?evolution(-|_| )?and(-|_| )?diversity$/i,
       /^Prokaryotic(-|_| )?evolution(-|_| )?and(-|_| )?diversity$/i
    "https://moodle.univie.ac.at/course/view.php?id=365000"
  # ======================================================================= #
  # === moodle "051110 Mathematische Grundlagen der Informatik 1"
  # ======================================================================= #
  when /^051110(-|_| )?Mathematische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik(-|_| )?1$/i,
       /^Mathematische(-|_| )?Grundlagen(-|_| )?der(-|_| )?Informatik(-|_| )?1$/i
    "https://moodle.univie.ac.at/course/view.php?id=346181"
  # ======================================================================= #
  # === moodle "301037 Cell Biology I"
  # ======================================================================= #
  when /^301037(-|_| )?Cell(-|_| )?Biology(-|_| )?I$/i,
       /^Cell(-|_| )?Biology(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=389626"
  # ======================================================================= #
  # === moodle "300354 Mann und Frau aus Sicht der Evolution"
  # ======================================================================= #
  when /^300354(-|_| )?Mann(-|_| )?und(-|_| )?Frau(-|_| )?aus(-|_| )?Sicht(-|_| )?der(-|_| )?Evolution$/i,
       /^Mann(-|_| )?und(-|_| )?Frau(-|_| )?aus(-|_| )?Sicht(-|_| )?der(-|_| )?Evolution$/i
    "https://moodle.univie.ac.at/course/view.php?id=112985"
  # ======================================================================= #
  # === moodle "270193 Probenvorbereitungstechnik"
  # ======================================================================= #
  when /^270193(-|_| )?Probenvorbereitungstechnik$/i,
       /^Probenvorbereitungstechnik$/i
    "https://moodle.univie.ac.at/course/view.php?id=353541"
  # ======================================================================= #
  # === moodle "301272 Live imaging course"
  # ======================================================================= #
  when /^301272(-|_| )?Live(-|_| )?imaging(-|_| )?course$/i,
       /^Live(-|_| )?imaging(-|_| )?course$/i
    "https://moodle.univie.ac.at/course/view.php?id=59316"
  # ======================================================================= #
  # === moodle "301288 Molekulare Biophysik"
  # ======================================================================= #
  when /^301288(-|_| )?Molekulare(-|_| )?Biophysik$/i,
       /^Molekulare(-|_| )?Biophysik$/i
    "https://moodle.univie.ac.at/course/view.php?id=116787"
  # ======================================================================= #
  # === moodle "300189 Verhaltensgenetik"
  # ======================================================================= #
  when /^300189(-|_| )?Verhaltensgenetik$/i,
       /^Verhaltensgenetik$/i
    "https://moodle.univie.ac.at/course/view.php?id=112066"
  # ======================================================================= #
  # === moodle "301617 Strukturbiologie I"
  # ======================================================================= #
  when /^301617(-|_| )?Strukturbiologie(-|_| )?I$/i,
       /^Strukturbiologie(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=116701"
  # ======================================================================= #
  # === moodle "300151 Einführung in die Evolutionsbiologie des Menschen"
  # ======================================================================= #
  when /^300151(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Evolutionsbiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Evolutionsbiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://moodle.univie.ac.at/enrol/index.php?id=111437"
  # ======================================================================= #
  # === moodle "350112 STEOP Modul 2 - Naturwissenschaftliche Grundlagen der Sportwissenschaft"
  # ======================================================================= #
  when /^350112(-|_| )?STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Naturwissenschaftliche(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportwissenschaft$/i,
       /^STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Naturwissenschaftliche(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportwissenschaft$/i
    "https://moodle.univie.ac.at/course/view.php?id=294243"
  # ======================================================================= #
  # === moodle "350297 STEOP Modul 2 - Erste Hilfe und Hygiene"
  # ======================================================================= #
  when /^350297(-|_| )?STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Hygiene$/i,
       /^STEOP(-|_| )?Modul(-|_| )?2(-|_| )?(-|_)?(-|_| )?Erste(-|_| )?Hilfe(-|_| )?und(-|_| )?Hygiene$/i
    "https://moodle.univie.ac.at/course/view.php?id=360444"
  # ======================================================================= #
  # === moodle "350238 BD1II - Grundlagen der Sportinformatik - Teil 1"
  # ======================================================================= #
  when /^350238(-|_| )?BD1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportinformatik(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?1$/i,
       /^BD1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportinformatik(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?1$/i
    "https://moodle.univie.ac.at/course/view.php?id=312558"
  # ======================================================================= #
  # === moodle "040060 Informationstechnologie"
  # ======================================================================= #
  when /^040060(-|_| )?Informationstechnologie$/i,
       /^Informationstechnologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=341861"
  # ======================================================================= #
  # === moodle "300106 Physiologie des Menschen"
  # ======================================================================= #
  when /^300106(-|_| )?Physiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Physiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://moodle.univie.ac.at/course/view.php?id=291242"
  # ======================================================================= #
  # === moodle "250066 Programmierpraktikum"
  # ======================================================================= #
  when /^250066(-|_| )?Programmierpraktikum$/i,
       /^Programmierpraktikum$/i
    "https://moodle.univie.ac.at/course/view.php?id=77906"
  # ======================================================================= #
  # === moodle "301619 Analytische Chemie 1 für Biologen"
  # ======================================================================= #
  when /^301619(-|_| )?Analytische(-|_| )?Chemie(-|_| )?1(-|_| )?für(-|_| )?Biologen$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?1(-|_| )?für(-|_| )?Biologen$/i
    "https://moodle.univie.ac.at/course/view.php?id=321420"
  # ======================================================================= #
  # === moodle "301324 Organische Chemie für Molekulare Biologen"
  # ======================================================================= #
  when /^301324(-|_| )?Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i,
       /^Organische(-|_| )?Chemie(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i
    "https://moodle.univie.ac.at/course/view.php?id=339306"
  # ======================================================================= #
  # === moodle "300321 Human Life History"
  # ======================================================================= #
  when /^300321(-|_| )?Human(-|_| )?Life(-|_| )?History$/i,
       /^Human(-|_| )?Life(-|_| )?History$/i
    "https://moodle.univie.ac.at/course/view.php?id=346251"
  # ======================================================================= #
  # === moodle "269020 Computational Concepts in Biology II"
  # ======================================================================= #
  when /^269020(-|_| )?Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Biology(-|_| )?II$/i,
       /^Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Biology(-|_| )?II$/i
    "https://moodle.univie.ac.at/course/view.php?id=103345"
  # ======================================================================= #
  # === moodle "301628 Mathematik für Molekulare Biologen"
  # ======================================================================= #
  when /^301628(-|_| )?Mathematik(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i,
       /^Mathematik(-|_| )?für(-|_| )?Molekulare(-|_| )?Biologen$/i
    "https://moodle.univie.ac.at/course/view.php?id=340140"
  # ======================================================================= #
  # === moodle "300122 Biology and Evolution of Archaea"
  # ======================================================================= #
  when /^300122(-|_| )?Biology(-|_| )?and(-|_| )?Evolution(-|_| )?of(-|_| )?Archaea$/i,
       /^Biology(-|_| )?and(-|_| )?Evolution(-|_| )?of(-|_| )?Archaea$/i
    "https://moodle.univie.ac.at/course/view.php?id=341887"
  # ======================================================================= #
  # === moodle "301652 Molekularbiologie der RNA"
  # ======================================================================= #
  when /^301652(-|_| )?Molekularbiologie(-|_| )?der(-|_| )?RNA$/i,
       /^Molekularbiologie(-|_| )?der(-|_| )?RNA$/i
    "https://moodle.univie.ac.at/course/view.php?id=102104"
  # ======================================================================= #
  # === moodle "040576 StEOP: Grundzüge der Statistik"
  # ======================================================================= #
  when /^040576(-|_| )?StEOP:(-|_| )?Grundzüge(-|_| )?der(-|_| )?Statistik$/i,
       /^StEOP:(-|_| )?Grundzüge(-|_| )?der(-|_| )?Statistik$/i
    "https://moodle.univie.ac.at/course/view.php?id=338463"
  # ======================================================================= #
  # === moodle "301696 Grundlagen der Systembiologie"
  # ======================================================================= #
  when /^301696(-|_| )?Grundlagen(-|_| )?der(-|_| )?Systembiologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Systembiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=345180"
  # ======================================================================= #
  # === moodle "322576 Therapeutische Nukleinsäuren und Genome-Editing: Konzepte und Entwicklungen - M7/M14"
  # ======================================================================= #
  when /^322576(-|_| )?Therapeutische(-|_| )?Nukleinsäuren(-|_| )?und(-|_| )?Genome(-|_)?Editing:(-|_| )?Konzepte(-|_| )?und(-|_| )?Entwicklungen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Therapeutische(-|_| )?Nukleinsäuren(-|_| )?und(-|_| )?Genome(-|_)?Editing:(-|_| )?Konzepte(-|_| )?und(-|_| )?Entwicklungen(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://moodle.univie.ac.at/course/view.php?id=369354"
  # ======================================================================= #
  # === moodle "300648 Animal Physiology I: Energy, Respiration, Homeostasis"
  # ======================================================================= #
  when /^300648(-|_| )?Animal(-|_| )?Physiology(-|_| )?I:(-|_| )?Energy,?(-|_| )?Respiration,?(-|_| )?Homeostasis$/i,
       /^Animal(-|_| )?Physiology(-|_| )?I:(-|_| )?Energy,?(-|_| )?Respiration,?(-|_| )?Homeostasis$/i
    "https://moodle.univie.ac.at/course/view.php?id=361353"
  # ======================================================================= #
  # === moodle "300420 Populationsanthropologie und Demographie"
  # ======================================================================= #
  when /^300420(-|_| )?Populationsanthropologie(-|_| )?und(-|_| )?Demographie$/i,
       /^Populationsanthropologie(-|_| )?und(-|_| )?Demographie$/i
    "https://moodle.univie.ac.at/course/view.php?id=316980"
  # ======================================================================= #
  # === moodle "300394 Introduction to molecular techniques"
  # ======================================================================= #
  when /^300394(-|_| )?Introduction(-|_| )?to(-|_| )?molecular(-|_| )?techniques$/i,
       /^Introduction(-|_| )?to(-|_| )?molecular(-|_| )?techniques$/i
    "https://moodle.univie.ac.at/course/view.php?id=352629"
  # ======================================================================= #
  # === moodle "300210 Evolution und Entwicklung"
  # ======================================================================= #
  when /^300210(-|_| )?Evolution(-|_| )?und(-|_| )?Entwicklung$/i,
       /^Evolution(-|_| )?und(-|_| )?Entwicklung$/i
    "https://moodle.univie.ac.at/course/view.php?id=315695"
  # ======================================================================= #
  # === moodle "301463 Biophysikalische Chemie der Makromoleküle"
  # ======================================================================= #
  when /^301463(-|_| )?Biophysikalische(-|_| )?Chemie(-|_| )?der(-|_| )?Makromoleküle$/i,
       /^Biophysikalische(-|_| )?Chemie(-|_| )?der(-|_| )?Makromoleküle$/i
    "https://moodle.univie.ac.at/course/view.php?id=318687"
  # ======================================================================= #
  # === moodle "301186 Structural Bioinformatics II"
  # ======================================================================= #
  when /^301186(-|_| )?Structural(-|_| )?Bioinformatics(-|_| )?II$/i,
       /^Structural(-|_| )?Bioinformatics(-|_| )?II$/i
    "https://moodle.univie.ac.at/course/view.php?id=329196"
  # ======================================================================= #
  # === moodle "301407 Molekulare Pathologie"
  # ======================================================================= #
  when /^301407(-|_| )?Molekulare(-|_| )?Pathologie$/i,
       /^Molekulare(-|_| )?Pathologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=326765"
  # ======================================================================= #
  # === moodle "301461 Biomolekulare NMR-Spektroskopie"
  # ======================================================================= #
  when /^301461(-|_| )?Biomolekulare(-|_| )?NMR(-|_)?Spektroskopie$/i,
       /^Biomolekulare(-|_| )?NMR(-|_)?Spektroskopie$/i
    "https://moodle.univie.ac.at/course/view.php?id=306930"
  # ======================================================================= #
  # === moodle "321014 Anatomie und Physiologie - B8"
  # ======================================================================= #
  when /^321014(-|_| )?Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?(-|_)?(-|_| )?B8$/i,
       /^Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?(-|_)?(-|_| )?B8$/i
    "https://moodle.univie.ac.at/course/view.php?id=296247"
  # ======================================================================= #
  # === moodle "260122 Nanotechnologie: Konzepte, Methoden, Materialien"
  # ======================================================================= #
  when /^260122(-|_| )?Nanotechnologie:(-|_| )?Konzepte,?(-|_| )?Methoden,?(-|_| )?Materialien$/i,
       /^Nanotechnologie:(-|_| )?Konzepte,?(-|_| )?Methoden,?(-|_| )?Materialien$/i
    "https://moodle.univie.ac.at/course/view.php?id=343948"
  # ======================================================================= #
  # === moodle "300016 Einführung in die Mykologie"
  # ======================================================================= #
  when /^300016(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Mykologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Mykologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=349258"
  # ======================================================================= #
  # === moodle "301558 Developmental and Stem Cell Biology"
  # ======================================================================= #
  when /^301558(-|_| )?Developmental(-|_| )?and(-|_| )?Stem(-|_| )?Cell(-|_| )?Biology$/i,
       /^Developmental(-|_| )?and(-|_| )?Stem(-|_| )?Cell(-|_| )?Biology$/i
    "https://moodle.univie.ac.at/course/view.php?id=348123"
  # ======================================================================= #
  # === moodle "270194 Immunanalytische Methoden"
  # ======================================================================= #
  when /^270194(-|_| )?Immunanalytische(-|_| )?Methoden$/i,
       /^Immunanalytische(-|_| )?Methoden$/i
    "https://moodle.univie.ac.at/course/view.php?id=353830"
  # ======================================================================= #
  # === moodle "270281 Immunanalytische Methoden"
  # ======================================================================= #
  when /^270281(-|_| )?Immunanalytische(-|_| )?Methoden$/i,
       /^Immunanalytische(-|_| )?Methoden$/i
    "https://moodle.univie.ac.at/course/view.php?id=89905"
  # ======================================================================= #
  # === moodle "300317 Biodiversität und molekulare Ökologie der Mikroorganismen 1"
  # ======================================================================= #
  when /^300317(-|_| )?Biodiversität(-|_| )?und(-|_| )?molekulare(-|_| )?Ökologie(-|_| )?der(-|_| )?Mikroorganismen(-|_| )?1$/i,
       /^Biodiversität(-|_| )?und(-|_| )?molekulare(-|_| )?Ökologie(-|_| )?der(-|_| )?Mikroorganismen(-|_| )?1$/i
    "https://moodle.univie.ac.at/course/view.php?id=350050"
  # ======================================================================= #
  # === moodle "301407 DNA-Tumorviren, vom Krebsauslöser zum Therapeutikum"
  # ======================================================================= #
  when /^301407(-|_| )?DNA(-|_)?Tumorviren,?(-|_| )?vom(-|_| )?Krebsauslöser(-|_| )?zum(-|_| )?Therapeutikum$/i,
       /^DNA(-|_)?Tumorviren,?(-|_| )?vom(-|_| )?Krebsauslöser(-|_| )?zum(-|_| )?Therapeutikum$/i
    "https://moodle.univie.ac.at/course/view.php?id=340734"
  # ======================================================================= #
  # === moodle "321007 Statistik für PharmazeutInnen - BA7 - B3"
  # ======================================================================= #
  when /^321007(-|_| )?Statistik(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?BA7(-|_| )?(-|_)?(-|_| )?B3$/i,
       /^Statistik(-|_| )?für(-|_| )?PharmazeutInnen(-|_| )?(-|_)?(-|_| )?BA7(-|_| )?(-|_)?(-|_| )?B3$/i
    "https://moodle.univie.ac.at/course/view.php?id=367579"
  # ======================================================================= #
  # === moodle "270312 Toxikologie"
  # ======================================================================= #
  when /^270312(-|_| )?Toxikologie$/i,
       /^Toxikologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=374972"
  # ======================================================================= #
  # === moodle "270212 Biomolekulare Nanotechnologie"
  # ======================================================================= #
  when /^270212(-|_| )?Biomolekulare(-|_| )?Nanotechnologie$/i,
       /^Biomolekulare(-|_| )?Nanotechnologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=345185"
  # ======================================================================= #
  # === moodle "301586 Molekulare Medizin 2"
  # ======================================================================= #
  when /^301586(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?2$/i,
       /^Molekulare(-|_| )?Medizin(-|_| )?2$/i
    "https://moodle.univie.ac.at/course/view.php?id=334314"
  # ======================================================================= #
  # === moodle "270036 Physik für ChemikerInnen"
  # ======================================================================= #
  when /^270036(-|_| )?Physik(-|_| )?für(-|_| )?ChemikerInnen$/i,
       /^Physik(-|_| )?für(-|_| )?ChemikerInnen$/i
    "https://moodle.univie.ac.at/course/view.php?id=347663"
  # ======================================================================= #
  # === moodle "270221 Lebensmittelmikrobiologie und Hygiene"
  # ======================================================================= #
  when /^270221(-|_| )?Lebensmittelmikrobiologie(-|_| )?und(-|_| )?Hygiene$/i,
       /^Lebensmittelmikrobiologie(-|_| )?und(-|_| )?Hygiene$/i
    "https://moodle.univie.ac.at/course/view.php?id=337438"
  # ======================================================================= #
  # === moodle "300048 Ökologie der Großlebensräume der Erde"
  # ======================================================================= #
  when /^300048(-|_| )?Ökologie(-|_| )?der(-|_| )?Großlebensräume(-|_| )?der(-|_| )?Erde$/i,
       /^Ökologie(-|_| )?der(-|_| )?Großlebensräume(-|_| )?der(-|_| )?Erde$/i
    "https://moodle.univie.ac.at/course/view.php?id=361658"
  # ======================================================================= #
  # === moodle "300289 Einführung in die forensische Anthropologie"
  # ======================================================================= #
  when /^300289(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?forensische(-|_| )?Anthropologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?forensische(-|_| )?Anthropologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=357365"
  # ======================================================================= #
  # === moodle "300151 Grundlagen der Theoretischen Biologie und Evolutionstheorie"
  # ======================================================================= #
  when /^300151(-|_| )?Grundlagen(-|_| )?der(-|_| )?Theoretischen(-|_| )?Biologie(-|_| )?und(-|_| )?Evolutionstheorie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Theoretischen(-|_| )?Biologie(-|_| )?und(-|_| )?Evolutionstheorie$/i
    "https://moodle.univie.ac.at/course/view.php?id=347245"
  # ======================================================================= #
  # === moodle "269004 Computational Concepts in Biology I"
  # ======================================================================= #
  when /^269004(-|_| )?Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Biology(-|_| )?I$/i,
       /^Computational(-|_| )?Concepts(-|_| )?in(-|_| )?Biology(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=90484"
  # ======================================================================= #
  # === moodle "270305 Nucleoside and Nucleic Acid Chemistry"
  # ======================================================================= #
  when /^270305(-|_| )?Nucleoside(-|_| )?and(-|_| )?Nucleic(-|_| )?Acid(-|_| )?Chemistry$/i,
       /^Nucleoside(-|_| )?and(-|_| )?Nucleic(-|_| )?Acid(-|_| )?Chemistry$/i
    "https://moodle.univie.ac.at/course/view.php?id=342121"
  # ======================================================================= #
  # === moodle "300472 Reproductive biology"
  # ======================================================================= #
  when /^300472(-|_| )?Reproductive(-|_| )?biology$/i,
       /^Reproductive(-|_| )?biology$/i
    "https://moodle.univie.ac.at/course/view.php?id=346121"
  # ======================================================================= #
  # === moodle "270238 Biomarker"
  # ======================================================================= #
  when /^270238(-|_| )?Biomarker$/i,
       /^Biomarker$/i
    "https://moodle.univie.ac.at/course/view.php?id=338022"
  # ======================================================================= #
  # === moodle "040106 Entscheidungs- und Spieltheorie (BA)"
  # ======================================================================= #
  when /^040106(-|_| )?Entscheidungs(-|_)?(-|_| )?und(-|_| )?Spieltheorie(-|_| )?\(?BA\)?$/i,
       /^Entscheidungs(-|_)?(-|_| )?und(-|_| )?Spieltheorie(-|_| )?\(?BA\)?$/i
    "https://moodle.univie.ac.at/course/view.php?id=307802"
  # ======================================================================= #
  # === moodle "270032 Lebensmitteltechnologische Grundverfahren"
  # ======================================================================= #
  when /^270032(-|_| )?Lebensmitteltechnologische(-|_| )?Grundverfahren$/i,
       /^Lebensmitteltechnologische(-|_| )?Grundverfahren$/i
    "https://moodle.univie.ac.at/course/view.php?id=337397"
  # ======================================================================= #
  # === moodle "300121 Einführung in die Epigenetik"
  # ======================================================================= #
  when /^300121(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Epigenetik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Epigenetik$/i
    "https://moodle.univie.ac.at/course/view.php?id=312693"
  # ======================================================================= #
  # === moodle "300133 Evolution"
  # ======================================================================= #
  when /^300133(-|_| )?Evolution$/i,
       /^Evolution$/i
    "https://moodle.univie.ac.at/course/view.php?id=295622"
  # ======================================================================= #
  # === moodle "300019 Die Zelle im Elektronenmikroskop"
  # ======================================================================= #
  when /^300019(-|_| )?Die(-|_| )?Zelle(-|_| )?im(-|_| )?Elektronenmikroskop$/i,
       /^Die(-|_| )?Zelle(-|_| )?im(-|_| )?Elektronenmikroskop$/i
    "https://moodle.univie.ac.at/enrol/index.php?id=106630"
  # ======================================================================= #
  # === moodle "052312 Computational Optimisation"
  # ======================================================================= #
  when /^052312(-|_| )?Computational(-|_| )?Optimisation$/i,
       /^Computational(-|_| )?Optimisation$/i
    "https://moodle.univie.ac.at/course/view.php?id=354290"
  # ======================================================================= #
  # === moodle "321020 Einführung in die allgemeine Pharmakologie und Pharmakokinetik - B11"
  # ======================================================================= #
  when /^321020(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?allgemeine(-|_| )?Pharmakologie(-|_| )?und(-|_| )?Pharmakokinetik(-|_| )?(-|_)?(-|_| )?B11$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?allgemeine(-|_| )?Pharmakologie(-|_| )?und(-|_| )?Pharmakokinetik(-|_| )?(-|_)?(-|_| )?B11$/i
    "https://moodle.univie.ac.at/course/view.php?id=296259"
  # ======================================================================= #
  # === moodle "301347 Principles of Molecular Virology"
  # ======================================================================= #
  when /^301347(-|_| )?Principles(-|_| )?of(-|_| )?Molecular(-|_| )?Virology$/i,
       /^Principles(-|_| )?of(-|_| )?Molecular(-|_| )?Virology$/i
    "https://moodle.univie.ac.at/course/view.php?id=116728"
  # ======================================================================= #
  # === moodle "300326 Aquatic Viral Ecology"
  # ======================================================================= #
  when /^300326(-|_| )?Aquatic(-|_| )?Viral(-|_| )?Ecology$/i,
       /^Aquatic(-|_| )?Viral(-|_| )?Ecology$/i
    "https://moodle.univie.ac.at/course/view.php?id=92776"
  # ======================================================================= #
  # === moodle "330046 Genetik und Molekularbiologie"
  # ======================================================================= #
  when /^330046(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i,
       /^Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=130068"
  # ======================================================================= #
  # === moodle "330019 Grundlagen der Humanphysiologie"
  # ======================================================================= #
  when /^330019(-|_| )?Grundlagen(-|_| )?der(-|_| )?Humanphysiologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Humanphysiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=289786"
  # ======================================================================= #
  # === moodle "330012 Immunologische und genetische Aspekte der Ernährungsprävention und -therapie"
  # ======================================================================= #
  when /^330012(-|_| )?Immunologische(-|_| )?und(-|_| )?genetische(-|_| )?Aspekte(-|_| )?der(-|_| )?Ernährungsprävention(-|_| )?und(-|_| )?(-|_)?therapie$/i,
       /^Immunologische(-|_| )?und(-|_| )?genetische(-|_| )?Aspekte(-|_| )?der(-|_| )?Ernährungsprävention(-|_| )?und(-|_| )?(-|_)?therapie$/i
    "https://moodle.univie.ac.at/course/view.php?id=339671"
  # ======================================================================= #
  # === moodle "270194 Molekulare Zellbiologie"
  # ======================================================================= #
  when /^270194(-|_| )?Molekulare(-|_| )?Zellbiologie$/i,
       /^Molekulare(-|_| )?Zellbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=116889"
  # ======================================================================= #
  # === moodle "301210 Allgemeine und Molekulare Mikrobiologie I"
  # ======================================================================= #
  when /^301210(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie(-|_| )?I$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Mikrobiologie(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=347993"
  # ======================================================================= #
  # === moodle "301324 Peroxisomes in Health and Disease"
  # ======================================================================= #
  when /^301324(-|_| )?Peroxisomes(-|_| )?in(-|_| )?Health(-|_| )?and(-|_| )?Disease$/i,
       /^Peroxisomes(-|_| )?in(-|_| )?Health(-|_| )?and(-|_| )?Disease$/i
    "https://moodle.univie.ac.at/course/view.php?id=327720"
  # ======================================================================= #
  # === moodle "330088 Physiologie des Menschen"
  # ======================================================================= #
  when /^330088(-|_| )?Physiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Physiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://moodle.univie.ac.at/course/view.php?id=289789"
  # ======================================================================= #
  # === moodle "300013 Einführung in die Verhaltensbiologie"
  # ======================================================================= #
  when /^300013(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Verhaltensbiologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Verhaltensbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=343248"
  # ======================================================================= #
  # === moodle "301047 Prozesse und Methoden in der Life Science Industrie"
  # ======================================================================= #
  when /^301047(-|_| )?Prozesse(-|_| )?und(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Life(-|_| )?Science(-|_| )?Industrie$/i,
       /^Prozesse(-|_| )?und(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Life(-|_| )?Science(-|_| )?Industrie$/i
    "https://moodle.univie.ac.at/course/view.php?id=102099"
  # ======================================================================= #
  # === moodle "300719 Geschlecht in den Naturwissenschaften"
  # ======================================================================= #
  when /^300719(-|_| )?Geschlecht(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i,
       /^Geschlecht(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i
    "https://moodle.univie.ac.at/course/view.php?id=346248"
  # ======================================================================= #
  # === moodle "260102 Programmieren für PhysikerInnen"
  # ======================================================================= #
  when /^260102(-|_| )?Programmieren(-|_| )?für(-|_| )?PhysikerInnen$/i,
       /^Programmieren(-|_| )?für(-|_| )?PhysikerInnen$/i
    "https://moodle.univie.ac.at/course/view.php?id=362114"
  # ======================================================================= #
  # === moodle "270035 Massenspektrometrie"
  # ======================================================================= #
  when /^270035(-|_| )?Massenspektrometrie$/i,
       /^Massenspektrometrie$/i
    "https://moodle.univie.ac.at/course/view.php?id=353534"
  # ======================================================================= #
  # === moodle "330022 Kulturgeschichte der Ernährung"
  # ======================================================================= #
  when /^330022(-|_| )?Kulturgeschichte(-|_| )?der(-|_| )?Ernährung$/i,
       /^Kulturgeschichte(-|_| )?der(-|_| )?Ernährung$/i
    "https://moodle.univie.ac.at/course/view.php?id=335721"
  # ======================================================================= #
  # === moodle "330064 Mikrobiologie und Hygiene"
  # ======================================================================= #
  when /^330064(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Hygiene$/i,
       /^Mikrobiologie(-|_| )?und(-|_| )?Hygiene$/i
    "https://moodle.univie.ac.at/course/view.php?id=357758"
  # ======================================================================= #
  # === moodle "300037 Physik für Biologinnen und Biologen und LA-BU"
  # ======================================================================= #
  when /^300037(-|_| )?Physik(-|_| )?für(-|_| )?Biologinnen(-|_| )?und(-|_| )?Biologen(-|_| )?und(-|_| )?LA(-|_)?BU$/i,
       /^Physik(-|_| )?für(-|_| )?Biologinnen(-|_| )?und(-|_| )?Biologen(-|_| )?und(-|_| )?LA(-|_)?BU$/i
    "https://moodle.univie.ac.at/course/view.php?id=347678"
  # ======================================================================= #
  # === moodle "300002 STEOP: Einführung in die Biologie II"
  # ======================================================================= #
  when /^300002(-|_| )?STEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie(-|_| )?II$/i,
       /^STEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie(-|_| )?II$/i
    "https://moodle.univie.ac.at/course/view.php?id=345237"
  # ======================================================================= #
  # === moodle "301123 Genexpression"
  # ======================================================================= #
  when /^301123(-|_| )?Genexpression$/i,
       /^Genexpression$/i
    "https://moodle.univie.ac.at/course/view.php?id=301368"
  # ======================================================================= #
  # === moodle "300231 Einführung in die Sozialbiologie des Menschen"
  # ======================================================================= #
  when /^300231(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Sozialbiologie(-|_| )?des(-|_| )?Menschen$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Sozialbiologie(-|_| )?des(-|_| )?Menschen$/i
    "https://moodle.univie.ac.at/course/view.php?id=346265"
  # ======================================================================= #
  # === moodle "300025 Sexualbiologie"
  # ======================================================================= #
  when /^300025(-|_| )?Sexualbiologie$/i,
       /^Sexualbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=293458"
  # ======================================================================= #
  # === moodle "270159 The Chemistry of Microbial Interactions"
  # ======================================================================= #
  when /^270159(-|_| )?The(-|_| )?Chemistry(-|_| )?of(-|_| )?Microbial(-|_| )?Interactions$/i,
       /^The(-|_| )?Chemistry(-|_| )?of(-|_| )?Microbial(-|_| )?Interactions$/i
    "https://moodle.univie.ac.at/course/view.php?id=318299"
  # ======================================================================= #
  # === moodle "301038 Cell Biology II"
  # ======================================================================= #
  when /^301038(-|_| )?Cell(-|_| )?Biology(-|_| )?II$/i,
       /^Cell(-|_| )?Biology(-|_| )?II$/i
    "https://moodle.univie.ac.at/course/view.php?id=301306"
  # ======================================================================= #
  # === moodle "300314 Erneuerbare Energien"
  # ======================================================================= #
  when /^300314(-|_| )?Erneuerbare(-|_| )?Energien$/i,
       /^Erneuerbare(-|_| )?Energien$/i
    "https://moodle.univie.ac.at/course/view.php?id=357900"
  # ======================================================================= #
  # === moodle "300038 The Human Microbiome"
  # ======================================================================= #
  when /^300038(-|_| )?The(-|_| )?Human(-|_| )?Microbiome$/i,
       /^The(-|_| )?Human(-|_| )?Microbiome$/i
    "https://moodle.univie.ac.at/course/view.php?id=389734"
  # ======================================================================= #
  # === moodle "301417 Methoden in der Zellbiologie"
  # ======================================================================= #
  when /^301417(-|_| )?Methoden(-|_| )?in(-|_| )?der(-|_| )?Zellbiologie$/i,
       /^Methoden(-|_| )?in(-|_| )?der(-|_| )?Zellbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=285386"
  # ======================================================================= #
  # === moodle "330048 Organische Chemie"
  # ======================================================================= #
  when /^330048(-|_| )?Organische(-|_| )?Chemie$/i,
       /^Organische(-|_| )?Chemie$/i
    "https://moodle.univie.ac.at/course/view.php?id=289788"
  # ======================================================================= #
  # === moodle "321027 Hygiene, Mikrobiologie und Infektiologie - B14"
  # ======================================================================= #
  when /^321027(-|_| )?Hygiene,?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Infektiologie(-|_| )?(-|_)?(-|_| )?B14$/i,
       /^Hygiene,?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Infektiologie(-|_| )?(-|_)?(-|_| )?B14$/i
    "https://moodle.univie.ac.at/course/view.php?id=379466"
  # ======================================================================= #
  # === moodle "322054 Human Gene Therapy: From basics to clinical applications - M14"
  # ======================================================================= #
  when /^322054(-|_| )?Human(-|_| )?Gene(-|_| )?Therapy:(-|_| )?From(-|_| )?basics(-|_| )?to(-|_| )?clinical(-|_| )?applications(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Human(-|_| )?Gene(-|_| )?Therapy:(-|_| )?From(-|_| )?basics(-|_| )?to(-|_| )?clinical(-|_| )?applications(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://moodle.univie.ac.at/course/view.php?id=300392"
  # ======================================================================= #
  # === moodle "300385 Die Frau in den Naturwissenschaften"
  # ======================================================================= #
  when /^300385(-|_| )?Die(-|_| )?Frau(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i,
       /^Die(-|_| )?Frau(-|_| )?in(-|_| )?den(-|_| )?Naturwissenschaften$/i
    "https://moodle.univie.ac.at/course/view.php?id=293471"
  # ======================================================================= #
  # === moodle "301060 Praktische Übungen zur Bioinformatik mikrobieller Genome und Metagenome"
  # ======================================================================= #
  when /^301060(-|_| )?Praktische(-|_| )?Übungen(-|_| )?zur(-|_| )?Bioinformatik(-|_| )?mikrobieller(-|_| )?Genome(-|_| )?und(-|_| )?Metagenome$/i,
       /^Praktische(-|_| )?Übungen(-|_| )?zur(-|_| )?Bioinformatik(-|_| )?mikrobieller(-|_| )?Genome(-|_| )?und(-|_| )?Metagenome$/i
    "https://moodle.univie.ac.at/course/view.php?id=347382"
  # ======================================================================= #
  # === moodle "300222 Scientific methods and applications in human evolution"
  # ======================================================================= #
  when /^300222(-|_| )?Scientific(-|_| )?methods(-|_| )?and(-|_| )?applications(-|_| )?in(-|_| )?human(-|_| )?evolution$/i,
       /^Scientific(-|_| )?methods(-|_| )?and(-|_| )?applications(-|_| )?in(-|_| )?human(-|_| )?evolution$/i
    "https://moodle.univie.ac.at/course/view.php?id=302871"
  # ======================================================================= #
  # === moodle "300001 StEOP: Einführung in die Biologie I"
  # ======================================================================= #
  when /^300001(-|_| )?StEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie(-|_| )?I$/i,
       /^StEOP:(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Biologie(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=338037"
  # ======================================================================= #
  # === moodle "301626 Übungen I A - Mikrobiologie und Genetik"
  # ======================================================================= #
  when /^301626(-|_| )?Übungen(-|_| )?I(-|_| )?A(-|_| )?(-|_)?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik$/i,
       /^Übungen(-|_| )?I(-|_| )?A(-|_| )?(-|_)?(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Genetik$/i
    "https://moodle.univie.ac.at/course/view.php?id=55771"
  # ======================================================================= #
  # === moodle "330024 Struktur und Funktion des Immunsystems"
  # ======================================================================= #
  when /^330024(-|_| )?Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?des(-|_| )?Immunsystems$/i,
       /^Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?des(-|_| )?Immunsystems$/i
    "https://moodle.univie.ac.at/course/view.php?id=339676"
  # ======================================================================= #
  # === moodle "330030 Angewandte Genetik und Molekularbiologie"
  # ======================================================================= #
  when /^330030(-|_| )?Angewandte(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i,
       /^Angewandte(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=339678"
  # ======================================================================= #
  # === moodle "300309 Mikrobielle Genomplastizität"
  # ======================================================================= #
  when /^300309(-|_| )?Mikrobielle(-|_| )?Genomplastizität$/i,
       /^Mikrobielle(-|_| )?Genomplastizität$/i
    "https://moodle.univie.ac.at/course/view.php?id=341881"
  # ======================================================================= #
  # === moodle "301460 Grenzen der Virologie"
  # ======================================================================= #
  when /^301460(-|_| )?Grenzen(-|_| )?der(-|_| )?Virologie$/i,
       /^Grenzen(-|_| )?der(-|_| )?Virologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=102154"
  # ======================================================================= #
  # === moodle "301284 Biochemie"
  # ======================================================================= #
  when /^301284(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://moodle.univie.ac.at/course/view.php?id=348048"
  # ======================================================================= #
  # === moodle "301212 Molekularbiologie der Pflanzen I"
  # ======================================================================= #
  when /^301212(-|_| )?Molekularbiologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?I$/i,
       /^Molekularbiologie(-|_| )?der(-|_| )?Pflanzen(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=348002"
  # ======================================================================= #
  # === moodle "530006 Bioanalytische Methoden zur Identifikation und Evaluierung von Biomarkern"
  # ======================================================================= #
  when /^530006(-|_| )?Bioanalytische(-|_| )?Methoden(-|_| )?zur(-|_| )?Identifikation(-|_| )?und(-|_| )?Evaluierung(-|_| )?von(-|_| )?Biomarkern$/i,
       /^Bioanalytische(-|_| )?Methoden(-|_| )?zur(-|_| )?Identifikation(-|_| )?und(-|_| )?Evaluierung(-|_| )?von(-|_| )?Biomarkern$/i
    "https://moodle.univie.ac.at/course/view.php?id=108520"
  # ======================================================================= #
  # === moodle "301735 Modellsysteme in der Molekularbiologie"
  # ======================================================================= #
  when /^301735(-|_| )?Modellsysteme(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Modellsysteme(-|_| )?in(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=102141"
  # ======================================================================= #
  # === moodle "301213 Allgemeine und Molekulare Genetik Teil II"
  # ======================================================================= #
  when /^301213(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?Teil(-|_| )?II$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?Teil(-|_| )?II$/i
    "https://moodle.univie.ac.at/course/view.php?id=102180"
  # ======================================================================= #
  # === moodle "301322 Neurobiologie"
  # ======================================================================= #
  when /^301322(-|_| )?Neurobiologie$/i,
       /^Neurobiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=102086"
  # ======================================================================= #
  # === moodle "301707 Molekulare Infektionsbiologie"
  # ======================================================================= #
  when /^301707(-|_| )?Molekulare(-|_| )?Infektionsbiologie$/i,
       /^Molekulare(-|_| )?Infektionsbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=102131"
  # ======================================================================= #
  # === moodle "300426 Einführung in die Humanökologie"
  # ======================================================================= #
  when /^300426(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Humanökologie$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Humanökologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=361638"
  # ======================================================================= #
  # === moodle "301212 Allgemeine und Molekulare Genetik I"
  # ======================================================================= #
  when /^301212(-|_| )?Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?I$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Molekulare(-|_| )?Genetik(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=102212"
  # ======================================================================= #
  # === moodle "321018 Pharmazeutische Biotechnologie - B10"
  # ======================================================================= #
  when /^321018(-|_| )?Pharmazeutische(-|_| )?Biotechnologie(-|_| )?(-|_)?(-|_| )?B10$/i,
       /^Pharmazeutische(-|_| )?Biotechnologie(-|_| )?(-|_)?(-|_| )?B10$/i
    "https://moodle.univie.ac.at/course/view.php?id=336135"
  # ======================================================================= #
  # === moodle "270065 Praktikum zu Bioinformatischen Problemen aus Chemie und Biologie"
  # ======================================================================= #
  when /^270065(-|_| )?Praktikum(-|_| )?zu(-|_| )?Bioinformatischen(-|_| )?Problemen(-|_| )?aus(-|_| )?Chemie(-|_| )?und(-|_| )?Biologie$/i,
       /^Praktikum(-|_| )?zu(-|_| )?Bioinformatischen(-|_| )?Problemen(-|_| )?aus(-|_| )?Chemie(-|_| )?und(-|_| )?Biologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=98607"
  # ======================================================================= #
  # === moodle "270211 Enzyme - Mechanismen und Anwendungen"
  # ======================================================================= #
  when /^270211(-|_| )?Enzyme(-|_| )?(-|_)?(-|_| )?Mechanismen(-|_| )?und(-|_| )?Anwendungen$/i,
       /^Enzyme(-|_| )?(-|_)?(-|_| )?Mechanismen(-|_| )?und(-|_| )?Anwendungen$/i
    "https://moodle.univie.ac.at/course/view.php?id=367547"
  # ======================================================================= #
  # === moodle "300669 Management gefährdeter Tierarten"
  # ======================================================================= #
  when /^300669(-|_| )?Management(-|_| )?gefährdeter(-|_| )?Tierarten$/i,
       /^Management(-|_| )?gefährdeter(-|_| )?Tierarten$/i
    "https://moodle.univie.ac.at/course/view.php?id=362926"
  # ======================================================================= #
  # === moodle "270045 Wahlfachpraktikum: Nukleinsäureanalytik"
  # ======================================================================= #
  when /^270045(-|_| )?Wahlfachpraktikum:(-|_| )?Nukleinsäureanalytik$/i,
       /^Wahlfachpraktikum:(-|_| )?Nukleinsäureanalytik$/i
    "https://moodle.univie.ac.at/course/view.php?id=108486"
  # ======================================================================= #
  # === moodle "301585 Molekulare Medizin 1"
  # ======================================================================= #
  when /^301585(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?1$/i,
       /^Molekulare(-|_| )?Medizin(-|_| )?1$/i
    "https://moodle.univie.ac.at/course/view.php?id=306253"
  # ======================================================================= #
  # === moodle "270302 Biologie für Chemiker"
  # ======================================================================= #
  when /^270302(-|_| )?Biologie(-|_| )?für(-|_| )?Chemiker$/i,
       /^Biologie(-|_| )?für(-|_| )?Chemiker$/i
    "https://moodle.univie.ac.at/course/view.php?id=301218"
  # ======================================================================= #
  # === moodle "300311 Bioinformatik für die Analyse mikrobieller Genome, Metagenome und Metatranskriptome"
  # ======================================================================= #
  when /^300311(-|_| )?Bioinformatik(-|_| )?für(-|_| )?die(-|_| )?Analyse(-|_| )?mikrobieller(-|_| )?Genome,?(-|_| )?Metagenome(-|_| )?und(-|_| )?Metatranskriptome$/i,
       /^Bioinformatik(-|_| )?für(-|_| )?die(-|_| )?Analyse(-|_| )?mikrobieller(-|_| )?Genome,?(-|_| )?Metagenome(-|_| )?und(-|_| )?Metatranskriptome$/i
    "https://moodle.univie.ac.at/course/view.php?id=351610"
  # ======================================================================= #
  # === moodle "300036 Molecular Evolution"
  # ======================================================================= #
  when /^300036(-|_| )?Molecular(-|_| )?Evolution$/i,
       /^Molecular(-|_| )?Evolution$/i
    "https://moodle.univie.ac.at/course/view.php?id=395014"
  # ======================================================================= #
  # === moodle "330016 Ernährungsökologie"
  # ======================================================================= #
  when /^330016(-|_| )?Ernährungsökologie$/i,
       /^Ernährungsökologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=114164"
  # ======================================================================= #
  # === moodle "323103 Data science approaches for advancing drug discovery - MPS5"
  # ======================================================================= #
  when /^323103(-|_| )?Data(-|_| )?science(-|_| )?approaches(-|_| )?for(-|_| )?advancing(-|_| )?drug(-|_| )?discovery(-|_| )?(-|_)?(-|_| )?MPS5$/i,
       /^Data(-|_| )?science(-|_| )?approaches(-|_| )?for(-|_| )?advancing(-|_| )?drug(-|_| )?discovery(-|_| )?(-|_)?(-|_| )?MPS5$/i
    "https://moodle.univie.ac.at/course/view.php?id=130303"
  # ======================================================================= #
  # === moodle "330019 Biochemie"
  # ======================================================================= #
  when /^330019(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://moodle.univie.ac.at/course/view.php?id=96841"
  # ======================================================================= #
  # === moodle "301080 Bioinformatik für Biologen"
  # ======================================================================= #
  when /^301080(-|_| )?Bioinformatik(-|_| )?für(-|_| )?Biologen$/i,
       /^Bioinformatik(-|_| )?für(-|_| )?Biologen$/i
    "https://moodle.univie.ac.at/enrol/index.php?id=102223"
  # ======================================================================= #
  # === moodle "322065 Applied Bacterial Genetics - M14"
  # ======================================================================= #
  when /^322065(-|_| )?Applied(-|_| )?Bacterial(-|_| )?Genetics(-|_| )?(-|_)?(-|_| )?M14$/i,
       /^Applied(-|_| )?Bacterial(-|_| )?Genetics(-|_| )?(-|_)?(-|_| )?M14$/i
    "https://moodle.univie.ac.at/enrol/index.php?id=62878"
  # ======================================================================= #
  # === moodle "301618 Strukturbiologie II"
  # ======================================================================= #
  when /^301618(-|_| )?Strukturbiologie(-|_| )?II$/i,
       /^Strukturbiologie(-|_| )?II$/i
    "https://moodle.univie.ac.at/course/view.php?id=132012"
  # ======================================================================= #
  # === moodle "270108 Analytische Chemie II"
  # ======================================================================= #
  when /^270108(-|_| )?Analytische(-|_| )?Chemie(-|_| )?II$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?II$/i
    "https://moodle.univie.ac.at/course/view.php?id=118163"
  # ======================================================================= #
  # === moodle "301609 Molekulare Entwicklungsbiologie"
  # ======================================================================= #
  when /^301609(-|_| )?Molekulare(-|_| )?Entwicklungsbiologie$/i,
       /^Molekulare(-|_| )?Entwicklungsbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=116754"
  # ======================================================================= #
  # === moodle "301540 Grundlagen wissenschaftlichen Arbeitens, Bioethik und Medizinethik"
  # ======================================================================= #
  when /^301540(-|_| )?Grundlagen(-|_| )?wissenschaftlichen(-|_| )?Arbeitens,?(-|_| )?Bioethik(-|_| )?und(-|_| )?Medizinethik$/i,
       /^Grundlagen(-|_| )?wissenschaftlichen(-|_| )?Arbeitens,?(-|_| )?Bioethik(-|_| )?und(-|_| )?Medizinethik$/i
    "https://moodle.univie.ac.at/course/view.php?id=102201"
  # ======================================================================= #
  # === moodle "301905 Information-processing in neuronal networks"
  # ======================================================================= #
  when /^301905(-|_| )?Information(-|_)?processing(-|_| )?in(-|_| )?neuronal(-|_| )?networks$/i,
       /^Information(-|_)?processing(-|_| )?in(-|_| )?neuronal(-|_| )?networks$/i
    "https://moodle.univie.ac.at/course/view.php?id=102165"
  # ======================================================================= #
  # === moodle "301172 Seminar zu Übung III A"
  # ======================================================================= #
  when /^301172(-|_| )?Seminar(-|_| )?zu(-|_| )?Übung(-|_| )?III(-|_| )?A$/i,
       /^Seminar(-|_| )?zu(-|_| )?Übung(-|_| )?III(-|_| )?A$/i
    "https://moodle.univie.ac.at/course/view.php?id=32523"
  # ======================================================================= #
  # === moodle "301171 Übung III A - Molekularbiologische Laborarbeiten"
  # ======================================================================= #
  when /^301171(-|_| )?Übung(-|_| )?III(-|_| )?A(-|_| )?(-|_)?(-|_| )?Molekularbiologische(-|_| )?Laborarbeiten$/i,
       /^Übung(-|_| )?III(-|_| )?A(-|_| )?(-|_)?(-|_| )?Molekularbiologische(-|_| )?Laborarbeiten$/i
    "https://moodle.univie.ac.at/course/view.php?id=60110"
  # ======================================================================= #
  # === moodle "301665 Protein Transport u. Sortierung in Säugetierzellen"
  # ======================================================================= #
  when /^301665(-|_| )?Protein(-|_| )?Transport(-|_| )?u\.?(-|_| )?Sortierung(-|_| )?in(-|_| )?Säugetierzellen$/i,
       /^Protein(-|_| )?Transport(-|_| )?u\.?(-|_| )?Sortierung(-|_| )?in(-|_| )?Säugetierzellen$/i
    "https://moodle.univie.ac.at/course/view.php?id=59026"
  # ======================================================================= #
  # === moodle "301507 Struktur und Funktion der Proteine"
  # ======================================================================= #
  when /^301507(-|_| )?Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?der(-|_| )?Proteine$/i,
       /^Struktur(-|_| )?und(-|_| )?Funktion(-|_| )?der(-|_| )?Proteine$/i
    "https://moodle.univie.ac.at/course/view.php?id=75450"
  # ======================================================================= #
  # === moodle "300168 Einführung in die Bionik"
  # ======================================================================= #
  when /^300168(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Bionik$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Bionik$/i
    "https://moodle.univie.ac.at/course/view.php?id=127208"
  # ======================================================================= #
  # === moodle "301101 Epigenetics- From basic mechanisms to medical applications"
  # ======================================================================= #
  when /^301101(-|_| )?Epigenetics(-|_)?(-|_| )?From(-|_| )?basic(-|_| )?mechanisms(-|_| )?to(-|_| )?medical(-|_| )?applications$/i,
       /^Epigenetics(-|_)?(-|_| )?From(-|_| )?basic(-|_| )?mechanisms(-|_| )?to(-|_| )?medical(-|_| )?applications$/i
    "https://moodle.univie.ac.at/course/view.php?id=116800"
  # ======================================================================= #
  # === moodle "300548 Sozialbiologische Aspekte der Tier-Mensch Interaktion"
  # ======================================================================= #
  when /^300548(-|_| )?Sozialbiologische(-|_| )?Aspekte(-|_| )?der(-|_| )?Tier(-|_)?Mensch(-|_| )?Interaktion$/i,
       /^Sozialbiologische(-|_| )?Aspekte(-|_| )?der(-|_| )?Tier(-|_)?Mensch(-|_| )?Interaktion$/i
    "https://moodle.univie.ac.at/course/view.php?id=102543"
  # ======================================================================= #
  # === moodle "301588 Signalling in the Immune System"
  # ======================================================================= #
  when /^301588(-|_| )?Signalling(-|_| )?in(-|_| )?the(-|_| )?Immune(-|_| )?System$/i,
       /^Signalling(-|_| )?in(-|_| )?the(-|_| )?Immune(-|_| )?System$/i
    "https://moodle.univie.ac.at/course/view.php?id=116712"
  # ======================================================================= #
  # === moodle "300090 Heimische Fauna und ihre Lebensräume"
  # ======================================================================= #
  when /^300090(-|_| )?Heimische(-|_| )?Fauna(-|_| )?und(-|_| )?ihre(-|_| )?Lebensräume$/i,
       /^Heimische(-|_| )?Fauna(-|_| )?und(-|_| )?ihre(-|_| )?Lebensräume$/i
    "https://moodle.univie.ac.at/course/view.php?id=89816"
  # ======================================================================= #
  # === moodle "301211 Allgemeine und molekulare Mikrobiologie II"
  # ======================================================================= #
  when /^301211(-|_| )?Allgemeine(-|_| )?und(-|_| )?molekulare(-|_| )?Mikrobiologie(-|_| )?II$/i,
       /^Allgemeine(-|_| )?und(-|_| )?molekulare(-|_| )?Mikrobiologie(-|_| )?II$/i
    "https://moodle.univie.ac.at/course/view.php?id=347997"
  # ======================================================================= #
  # === moodle "350022 BD1II - Grundlagen der Sportinformatik - Teil 2"
  # ======================================================================= #
  when /^350022(-|_| )?BD1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportinformatik(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?2$/i,
       /^BD1II(-|_| )?(-|_)?(-|_| )?Grundlagen(-|_| )?der(-|_| )?Sportinformatik(-|_| )?(-|_)?(-|_| )?Teil(-|_| )?2$/i
    "https://moodle.univie.ac.at/course/view.php?id=110041"
  # ======================================================================= #
  # === moodle "300239 Grundlagen der Ökologie"
  # ======================================================================= #
  when /^300239(-|_| )?Grundlagen(-|_| )?der(-|_| )?Ökologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Ökologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=109906"
  # ======================================================================= #
  # === moodle "300341 Natur- und Landschaftsschutz"
  # ======================================================================= #
  when /^300341(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i,
       /^Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i
    "https://moodle.univie.ac.at/course/view.php?id=92484"
  # ======================================================================= #
  # === moodle "330081 Einfluss von Bewegung und Sport auf die Gesundheit"
  # ======================================================================= #
  when /^330081(-|_| )?Einfluss(-|_| )?von(-|_| )?Bewegung(-|_| )?und(-|_| )?Sport(-|_| )?auf(-|_| )?die(-|_| )?Gesundheit$/i,
       /^Einfluss(-|_| )?von(-|_| )?Bewegung(-|_| )?und(-|_| )?Sport(-|_| )?auf(-|_| )?die(-|_| )?Gesundheit$/i
    "https://moodle.univie.ac.at/course/view.php?id=122868"
  # ======================================================================= #
  # === moodle "330062 Methoden der experimentellen Ernährungsforschung"
  # ======================================================================= #
  when /^330062(-|_| )?Methoden(-|_| )?der(-|_| )?experimentellen(-|_| )?Ernährungsforschung$/i,
       /^Methoden(-|_| )?der(-|_| )?experimentellen(-|_| )?Ernährungsforschung$/i
    "https://moodle.univie.ac.at/course/view.php?id=122011"
  # ======================================================================= #
  # === moodle "322002 Antiinfektiva, Antineoplastika und (Bio)pharmazeutika mit Wirkung auf das Immunsystem - M2"
  # ======================================================================= #
  when /^322002(-|_| )?Antiinfektiva,?(-|_| )?Antineoplastika(-|_| )?und(-|_| )?\(?Bio\)?pharmazeutika(-|_| )?mit(-|_| )?Wirkung(-|_| )?auf(-|_| )?das(-|_| )?Immunsystem(-|_| )?(-|_)?(-|_| )?M2$/i,
       /^Antiinfektiva,?(-|_| )?Antineoplastika(-|_| )?und(-|_| )?\(?Bio\)?pharmazeutika(-|_| )?mit(-|_| )?Wirkung(-|_| )?auf(-|_| )?das(-|_| )?Immunsystem(-|_| )?(-|_)?(-|_| )?M2$/i
    "https://moodle.univie.ac.at/course/view.php?id=336192"
  # ======================================================================= #
  # === moodle "051019 Informatik und Recht"
  # ======================================================================= #
  when /^051019(-|_| )?Informatik(-|_| )?und(-|_| )?Recht$/i,
       /^Informatik(-|_| )?und(-|_| )?Recht$/i
    "https://moodle.univie.ac.at/course/view.php?id=102263"
  # ======================================================================= #
  # === moodle "270119 Freie Radikale und Antioxidantien - Relevanz, Reaktionen und Analytik"
  # ======================================================================= #
  when /^270119(-|_| )?Freie(-|_| )?Radikale(-|_| )?und(-|_| )?Antioxidantien(-|_| )?(-|_)?(-|_| )?Relevanz,?(-|_| )?Reaktionen(-|_| )?und(-|_| )?Analytik$/i,
       /^Freie(-|_| )?Radikale(-|_| )?und(-|_| )?Antioxidantien(-|_| )?(-|_)?(-|_| )?Relevanz,?(-|_| )?Reaktionen(-|_| )?und(-|_| )?Analytik$/i
    "https://moodle.univie.ac.at/course/view.php?id=105470"
  # ======================================================================= #
  # === moodle "321005 Grundlagen der physikalischen Chemie - B3"
  # ======================================================================= #
  when /^321005(-|_| )?Grundlagen(-|_| )?der(-|_| )?physikalischen(-|_| )?Chemie(-|_| )?(-|_)?(-|_| )?B3$/i,
       /^Grundlagen(-|_| )?der(-|_| )?physikalischen(-|_| )?Chemie(-|_| )?(-|_)?(-|_| )?B3$/i
    "https://moodle.univie.ac.at/course/view.php?id=100399"
  # ======================================================================= #
  # === moodle "330003 Qualitätsmanagement im Betrieb"
  # ======================================================================= #
  when /^330003(-|_| )?Qualitätsmanagement(-|_| )?im(-|_| )?Betrieb$/i,
       /^Qualitätsmanagement(-|_| )?im(-|_| )?Betrieb$/i
    "https://moodle.univie.ac.at/course/view.php?id=107624"
  # ======================================================================= #
  # === moodle "300517 Theorie und Anwendung des Konfokal-Mikroskops"
  # ======================================================================= #
  when /^300517(-|_| )?Theorie(-|_| )?und(-|_| )?Anwendung(-|_| )?des(-|_| )?Konfokal(-|_)?Mikroskops$/i,
       /^Theorie(-|_| )?und(-|_| )?Anwendung(-|_| )?des(-|_| )?Konfokal(-|_)?Mikroskops$/i
    "https://moodle.univie.ac.at/course/view.php?id=125332"
  # ======================================================================= #
  # === moodle "322014 Einführung in die evidenzbasierte Pharmazie - M10"
  # ======================================================================= #
  when /^322014(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?evidenzbasierte(-|_| )?Pharmazie(-|_| )?(-|_)?(-|_| )?M10$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?evidenzbasierte(-|_| )?Pharmazie(-|_| )?(-|_)?(-|_| )?M10$/i
    "https://moodle.univie.ac.at/course/view.php?id=115891"
  # ======================================================================= #
  # === moodle "300129 Bio- und Chemodiversität von Nutzpflanzen"
  # ======================================================================= #
  when /^300129(-|_| )?Bio(-|_)?(-|_| )?und(-|_| )?Chemodiversität(-|_| )?von(-|_| )?Nutzpflanzen$/i,
       /^Bio(-|_)?(-|_| )?und(-|_| )?Chemodiversität(-|_| )?von(-|_| )?Nutzpflanzen$/i
    "https://moodle.univie.ac.at/course/view.php?id=107805"
  # ======================================================================= #
  # === moodle "301120 Übung in Molekularer Genetik u. Pathologie (Zellbiologie)"
  # ======================================================================= #
  when /^301120(-|_| )?Übung(-|_| )?in(-|_| )?Molekularer(-|_| )?Genetik(-|_| )?u\.?(-|_| )?Pathologie(-|_| )?\(?Zellbiologie\)?$/i,
       /^Übung(-|_| )?in(-|_| )?Molekularer(-|_| )?Genetik(-|_| )?u\.?(-|_| )?Pathologie(-|_| )?\(?Zellbiologie\)?$/i
    "https://moodle.univie.ac.at/course/view.php?id=88882"
  # ======================================================================= #
  # === moodle "300011 Wissenschaftliche Methoden der Verhaltensbiologie"
  # ======================================================================= #
  when /^300011(-|_| )?Wissenschaftliche(-|_| )?Methoden(-|_| )?der(-|_| )?Verhaltensbiologie$/i,
       /^Wissenschaftliche(-|_| )?Methoden(-|_| )?der(-|_| )?Verhaltensbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=118947"
  # ======================================================================= #
  # === moodle "301370 Physikalische Chemie"
  # ======================================================================= #
  when /^301370(-|_| )?Physikalische(-|_| )?Chemie$/i,
       /^Physikalische(-|_| )?Chemie$/i
    "https://moodle.univie.ac.at/course/view.php?id=116786"
  # ======================================================================= #
  # === moodle "051021 Betriebssysteme"
  # ======================================================================= #
  when /^051021(-|_| )?Betriebssysteme$/i,
       /^Betriebssysteme$/i
    "https://moodle.univie.ac.at/course/view.php?id=103592"
  # ======================================================================= #
  # === moodle "300558 Kommunikation im Tierreich"
  # ======================================================================= #
  when /^300558(-|_| )?Kommunikation(-|_| )?im(-|_| )?Tierreich$/i,
       /^Kommunikation(-|_| )?im(-|_| )?Tierreich$/i
    "https://moodle.univie.ac.at/course/view.php?id=92462"
  # ======================================================================= #
  # === moodle "052101 Numerical Algorithms"
  # ======================================================================= #
  when /^052101(-|_| )?Numerical(-|_| )?Algorithms$/i,
       /^Numerical(-|_| )?Algorithms$/i
    "https://moodle.univie.ac.at/enrol/index.php?id=108773"
  # ======================================================================= #
  # === moodle "270164 Bioinformatische Auswertungsstrategien"
  # ======================================================================= #
  when /^270164(-|_| )?Bioinformatische(-|_| )?Auswertungsstrategien$/i,
       /^Bioinformatische(-|_| )?Auswertungsstrategien$/i
    "https://moodle.univie.ac.at/course/view.php?id=108514"
  # ======================================================================= #
  # === moodle "330049 Lebensmitteltechnologie"
  # ======================================================================= #
  when /^330049(-|_| )?Lebensmitteltechnologie$/i,
       /^Lebensmitteltechnologie$/i
    "https://moodle.univie.ac.at/enrol/index.php?id=92018"
  # ======================================================================= #
  # === moodle "500113 Übungen aus Biochemie I"
  # ======================================================================= #
  when /^500113(-|_| )?Übungen(-|_| )?aus(-|_| )?Biochemie(-|_| )?I$/i,
       /^Übungen(-|_| )?aus(-|_| )?Biochemie(-|_| )?I$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_4934_1&handle=announcements_entry&mode=view"
  # ======================================================================= #
  # === moodle "500122 Einführung in das molekulargenetische Labor"
  # ======================================================================= #
  when /^500122(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?molekulargenetische(-|_| )?Labor$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?molekulargenetische(-|_| )?Labor$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_5295_1"
  # ======================================================================= #
  # === moodle "094025 Molecular Targets and Intervention Strategies in Cancer and Immunity"
  # ======================================================================= #
  when /^094025(-|_| )?Molecular(-|_| )?Targets(-|_| )?and(-|_| )?Intervention(-|_| )?Strategies(-|_| )?in(-|_| )?Cancer(-|_| )?and(-|_| )?Immunity$/i,
       /^Molecular(-|_| )?Targets(-|_| )?and(-|_| )?Intervention(-|_| )?Strategies(-|_| )?in(-|_| )?Cancer(-|_| )?and(-|_| )?Immunity$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_4398_1&handle=announcements_entry&mode=view"
  # ======================================================================= #
  # === moodle "500128 Bioanalytische Übungen"
  # ======================================================================= #
  when /^500128(-|_| )?Bioanalytische(-|_| )?Übungen$/i,
       /^Bioanalytische(-|_| )?Übungen$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/content/listContent.jsp?course_id=_5298_1&content_id=_204979_1"
  # ======================================================================= #
  # === moodle "500161 Spezielle Aspekte der Genetik"
  # ======================================================================= #
  when /^500161(-|_| )?Spezielle(-|_| )?Aspekte(-|_| )?der(-|_| )?Genetik$/i,
       /^Spezielle(-|_| )?Aspekte(-|_| )?der(-|_| )?Genetik$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/content/listContent.jsp?course_id=_4945_1&content_id=_186573_1"
  # ======================================================================= #
  # === moodle "500212 Analyse von Hochdurchsatzdaten II"
  # ======================================================================= #
  when /^500212(-|_| )?Analyse(-|_| )?von(-|_| )?Hochdurchsatzdaten(-|_| )?II$/i,
       /^Analyse(-|_| )?von(-|_| )?Hochdurchsatzdaten(-|_| )?II$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_4398_1&handle=announcements_entry&mode=view"
  # ======================================================================= #
  # === moodle "310103 From infectious diseases to vaccines"
  # ======================================================================= #
  when /^310103(-|_| )?From(-|_| )?infectious(-|_| )?diseases(-|_| )?to(-|_| )?vaccines$/i,
       /^From(-|_| )?infectious(-|_| )?diseases(-|_| )?to(-|_| )?vaccines$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/content/listContent.jsp?course_id=_5530_1&content_id=_215598_1"
  # ======================================================================= #
  # === moodle "310102 Basic concepts of immune defense in health and disease"
  # ======================================================================= #
  when /^310102(-|_| )?Basic(-|_| )?concepts(-|_| )?of(-|_| )?immune(-|_| )?defense(-|_| )?in(-|_| )?health(-|_| )?and(-|_| )?disease$/i,
       /^Basic(-|_| )?concepts(-|_| )?of(-|_| )?immune(-|_| )?defense(-|_| )?in(-|_| )?health(-|_| )?and(-|_| )?disease$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_6056_1"
  # ======================================================================= #
  # === moodle "500123 Grundlagen der Molekularbiologie"
  # ======================================================================= #
  when /^500123(-|_| )?Grundlagen(-|_| )?der(-|_| )?Molekularbiologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Molekularbiologie$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_6108_1&handle=announcements_entry&mode=view"
  # ======================================================================= #
  # === moodle "600011 Grundlagen der Mikrobiologie"
  # ======================================================================= #
  when /^600011(-|_| )?Grundlagen(-|_| )?der(-|_| )?Mikrobiologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Mikrobiologie$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/content/listContent.jsp?course_id=_4165_1&content_id=_149494_1&mode=reset"
  # ======================================================================= #
  # === moodle "500129 Molekularbiologische Methoden"
  # ======================================================================= #
  when /^500129(-|_| )?Molekularbiologische(-|_| )?Methoden$/i,
       /^Molekularbiologische(-|_| )?Methoden$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_4939_1&handle=announcements_entry&mode=view"
  # ======================================================================= #
  # === moodle "500151 Einführung in das molekularbiologische Labor"
  # ======================================================================= #
  when /^500151(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?molekularbiologische(-|_| )?Labor$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?molekularbiologische(-|_| )?Labor$/i
    ""
  # ======================================================================= #
  # === moodle "500146 Grundlagen der Biotechnologie"
  # ======================================================================= #
  when /^500146(-|_| )?Grundlagen(-|_| )?der(-|_| )?Biotechnologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Biotechnologie$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/content/listContent.jsp?course_id=_5304_1&content_id=_205133_1"
  # ======================================================================= #
  # === moodle "500109 Molekularbiologische Übungen"
  # ======================================================================= #
  when /^500109(-|_| )?Molekularbiologische(-|_| )?Übungen$/i,
       /^Molekularbiologische(-|_| )?Übungen$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_4939_1"
  # ======================================================================= #
  # === moodle "500165 Grundlagen der industriellen Biotechnologie"
  # ======================================================================= #
  when /^500165(-|_| )?Grundlagen(-|_| )?der(-|_| )?industriellen(-|_| )?Biotechnologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?industriellen(-|_| )?Biotechnologie$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/content/listContent.jsp?course_id=_3951_1&content_id=_139198_1&mode=reset"
  # ======================================================================= #
  # === moodle "500202 Immunität und Entzündung"
  # ======================================================================= #
  when /^500202(-|_| )?Immunität(-|_| )?und(-|_| )?Entzündung$/i,
       /^Immunität(-|_| )?und(-|_| )?Entzündung$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/content/listContent.jsp?course_id=_5325_1&content_id=_205773_1"
  # ======================================================================= #
  # === moodle "500213 Praktische Bioinformatik (KV)"
  # ======================================================================= #
  when /^500213(-|_| )?Praktische(-|_| )?Bioinformatik(-|_| )?\(?KV\)?$/i,
       /^Praktische(-|_| )?Bioinformatik(-|_| )?\(?KV\)?$/i
    ""
  # ======================================================================= #
  # === moodle "500118 Grundlagen der Programmierung"
  # ======================================================================= #
  when /^500118(-|_| )?Grundlagen(-|_| )?der(-|_| )?Programmierung$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Programmierung$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/launcher?type=Course&id=_4357_1&url="
  # ======================================================================= #
  # === moodle "500014 Biologie der Parasiten"
  # ======================================================================= #
  when /^500014(-|_| )?Biologie(-|_| )?der(-|_| )?Parasiten$/i,
       /^Biologie(-|_| )?der(-|_| )?Parasiten$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/content/listContent.jsp?course_id=_4154_1&content_id=_149107_1"
  # ======================================================================= #
  # === moodle "500044 Einführung in das Arbeiten im biomedizinischen Labor"
  # ======================================================================= #
  when /^500044(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Arbeiten(-|_| )?im(-|_| )?biomedizinischen(-|_| )?Labor$/i,
       /^Einführung(-|_| )?in(-|_| )?das(-|_| )?Arbeiten(-|_| )?im(-|_| )?biomedizinischen(-|_| )?Labor$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_4526_1&handle=announcements_entry&mode=view"
  # ======================================================================= #
  # === moodle "500217 Funktionale Tumorgenomik (KV)"
  # ======================================================================= #
  when /^500217(-|_| )?Funktionale(-|_| )?Tumorgenomik(-|_| )?\(?KV\)?$/i,
       /^Funktionale(-|_| )?Tumorgenomik(-|_| )?\(?KV\)?$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_4384_1&handle=announcements_entry&mode=view"
  # ======================================================================= #
  # === moodle "500163 Übungen aus Biochemie II"
  # ======================================================================= #
  when /^500163(-|_| )?Übungen(-|_| )?aus(-|_| )?Biochemie(-|_| )?II$/i,
       /^Übungen(-|_| )?aus(-|_| )?Biochemie(-|_| )?II$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_3950_1&handle=announcements_entry&mode=view"
  # ======================================================================= #
  # === moodle "902.216 Propedeutics: Scientific Software and Databases - WS 2019/20"
  # ======================================================================= #
  when /^902\.?216(-|_| )?Propedeutics:(-|_| )?Scientific(-|_| )?Software(-|_| )?and(-|_| )?Databases(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2019\/?20$/i,
       /^Propedeutics:(-|_| )?Scientific(-|_| )?Software(-|_| )?and(-|_| )?Databases(-|_| )?(-|_)?(-|_| )?WS(-|_| )?2019\/?20$/i
    "https://moodle.meduniwien.ac.at/course/view.php?id=1012"
  # ======================================================================= #
  # === moodle "861.035 BVo: Molekulare Biologie der RNA"
  # ======================================================================= #
  when /^861\.?035(-|_| )?BVo:(-|_| )?Molekulare(-|_| )?Biologie(-|_| )?der(-|_| )?RNA$/i,
       /^BVo:(-|_| )?Molekulare(-|_| )?Biologie(-|_| )?der(-|_| )?RNA$/i
    "https://moodle.meduniwien.ac.at/course/view.php?id=1240"
  else
    i
  end
end

.return_sanitized_dataset_from_the_file_lecture_informationObject

#

Studium.return_sanitized_dataset_from_the_file_lecture_information

This method will return the dataset from the file ‘lecture_information.yml’.

Usage examples:

Studium.return_sanitized_dataset_from_the_file_lecture_information
dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
#


3868
3869
3870
3871
3872
3873
3874
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3868

def self.return_sanitized_dataset_from_the_file_lecture_information
  _ = ::Studium.file_lecture_information?
  if File.exist? _
    return YAML.load_file(_)
  end
  nil # Else we will return nil.
end

.return_sanitized_dataset_from_the_file_lecture_information_including_aliasesObject

#

Studium.return_sanitized_dataset_from_the_file_lecture_information_including_aliases

This method is like the other method defined in this file, but it also includes the aliases within the dataset itself.

Note that this will radically modify the original dataset, which may not always be wanted.

#


3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3781

def self.return_sanitized_dataset_from_the_file_lecture_information_including_aliases
  main_dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
  available_keys = main_dataset.keys
  dataset_from_lecture_aliases = YAML.load_file(Studium.file_lecture_aliases)
  dataset_from_lecture_aliases.each_pair {|key_name_of_the_lecture, value_hash|
    old_lva_id = value_hash[:old_lva_id].to_s
    if available_keys.any? {|inner_entry| # ← "840.007 Einführung in die Biostatistik"
        inner_entry.include?(key_name_of_the_lecture) and inner_entry.include?(old_lva_id)
      }
      # =================================================================== #
      # Next determine what to do, which depends on the dataset.
      # =================================================================== #
      if value_hash.has_key? :new_name
        new_name = value_hash[:new_name]
        old_entry = old_lva_id+' '+key_name_of_the_lecture
        pointer = main_dataset[old_lva_id+' '+new_name]
        main_dataset[old_entry] = pointer
      end
    elsif value_hash.has_key? :new_name
      new_name = value_hash[:new_name]
      if available_keys.any? {|inner_entry| # ← "840.007 Einführung in die Biostatistik"
          inner_entry.include?(new_name) and inner_entry.include?(old_lva_id)
        }
        # In this case add it anyway, IF it is included.
        pointer = main_dataset[old_lva_id+' '+new_name]
        use_this_lva_id = old_lva_id
        if value_hash.has_key? :new_lva_id
          use_this_lva_id = value_hash[:new_lva_id]
        end
        main_dataset[use_this_lva_id+' '+key_name_of_the_lecture] = pointer
      end
    end
  }
  return main_dataset
end

.return_semester_for_this_moodle_entry(i) ⇒ Object

#

Studium.return_semester_for_this_moodle_entry

This will do a “grep” through “lecture_information.yml”.

#


2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2816

def self.return_semester_for_this_moodle_entry(i)
  target_file = Studium.file_lecture_information?
  if File.exist? target_file
    array = File.read(target_file, encoding: Studium.main_encoding?).split("\n").select {|entry|
      entry.include?(" - #{i}")
    }
    result = array.first
    if result.nil?
      e 'Nil entry for '+i.to_s+'.'
    end
    if result and result.include?('# ')
      result = result.split('# ').last.strip
    end
    return result
  else
    return nil
  end
end

.return_string_how_many_exam_questions_are_already_answeredObject

#

Studium.return_string_how_many_exam_questions_are_already_answered

#


6214
6215
6216
6217
6218
6219
6220
6221
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6214

def self.return_string_how_many_exam_questions_are_already_answered
  ::Studium.return_n_questions_were_answered.to_s+
  ' / '+
  ::Studium.return_n_questions_exist.to_s+
  ' exam-questions are already answered. ('+
  ::Studium.n_percent_of_the_exam_questions_are_answered_already?.to_s+
  '% solved)'
end

.return_theme_of_the_next_upcoming_examObject

#

Studium.return_theme_of_the_next_upcoming_exam

This method will simply return the theme of the next upcoming exam, such as ‘amg1’ or ‘mikrobielle_lebensgemeinschaften’.

This requires some guess-work. Also, we will only return one exam-theme, which is the most likely one to be had.

#


4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4161

def self.return_theme_of_the_next_upcoming_exam
  begin
    require 'studium/exams/show_upcoming_exams/show_upcoming_exams.rb' # <- This has Studium.next_exam?
  rescue LoadError; end
  _ = next_exam?.first.downcase
  # ======================================================================= #
  # Next remove all numbers.
  # ======================================================================= #
  _.gsub!(/\d/,'')
  _.strip!
  _.tr!(' ','_')
  _.delete!('.')
  _.delete!('(')
  _.delete!(')')
  return _
end

.return_this_curriculum_as_a_string(i) ⇒ Object

#

Studium.return_this_curriculum_as_a_string

#


4761
4762
4763
4764
4765
4766
4767
4768
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4761

def self.return_this_curriculum_as_a_string(i)
  require 'studium/utility_scripts/show_lectures_on_the_commandline/show_lectures_on_the_commandline.rb'
  i = i.join(' ').strip if i.is_a? Array
  i = i.to_s.downcase.tr(' ','_')
  _ = Studium::ShowLecturesOnTheCommandline.new(i) { :www }
  string = _.html_string?
  string
end

.return_this_line_has_n_characters_as_html_colour_tags(i, regex = REGEX_FOR_OPENING_AND_CLOSING_COLOUR_TAGS) ⇒ Object

#

Studium.return_this_line_has_n_characters_as_html_colour_tags

#


5930
5931
5932
5933
5934
5935
5936
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5930

def self.return_this_line_has_n_characters_as_html_colour_tags(
    i, regex = REGEX_FOR_OPENING_AND_CLOSING_COLOUR_TAGS
  )
  i.scan(regex).map {|entry|
    entry.size
  }.sum
end

.return_title_from_this_curriculum_file(i = :default_input_file, also_remove_the_bachelor_master_attribution_at_the_start = false) ⇒ Object

#

Studium.return_title_from_this_curriculum_file

Do note that for this method to work, the curriculum-file at hand has to exist locally.

The special entries called :indi1, :indi2, :indi3 and at the least also :indi4 should remain single, individual entries in the following case/when menu. The reason for this is so that we can always pinpoint to the individual curriculum number 1, number 2, number 3 and so forth.

Usage examples:

Studium.return_title_from_this_curriculum_file(:bachelor_vektor) # => "Bachelorcurriculum Vector-based strategies in Life Sciences, (Bio)Informatics, Molecular Medicine and Biotechnology"
Studium.return_title_from_this_curriculum_file(:indi2)           # => "Bachelorcurriculum Informatik und Biotechnologie unter Berücksichtigung immunanalytisch-molekularmedizinischer Aspekte"
#


5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5479

def self.return_title_from_this_curriculum_file(
    i                                                        = :default_input_file,
    also_remove_the_bachelor_master_attribution_at_the_start = false
  )
  if i.is_a? Array # Handle the situation when an Array is given here.
    # ===================================================================== #
    # Since as of December 2022 we will simply assume that the last
    # element is the most important entry. This assumption may change
    # at a later point in time, though.
    # ===================================================================== #
    i = i.last
  end
  case also_remove_the_bachelor_master_attribution_at_the_start
  # ======================================================================= #
  # === :shorter
  # ======================================================================= #
  when :shorter
    also_remove_the_bachelor_master_attribution_at_the_start = true
  end
  # ======================================================================= #
  # Handle nil-values given as input next.
  # ======================================================================= #
  i = :default_input_file if i.nil?
  unless i.is_a?(String) and File.exist?(i)
    i = ::Studium.return_file_for_this_curriculum(i.to_sym)
  end
  if i.is_a? Array
    i = i.last
  end
  if i.is_a?(String) and File.exist?(i)
    # ===================================================================== #
    # If the file exists, we can read it in.
    # ===================================================================== #
    dataset = readlines_with_the_default_encoding(i)
    if dataset[1].start_with? '# === '
      title = dataset[1].strip.delete('#=').strip
      if also_remove_the_bachelor_master_attribution_at_the_start
        title.sub!(/^Bachelorcurriculum/,'')
        title.sub!(/^Mastercurriculum/,'')
        title.strip!
      end
      return title # We assume this to be the title, and hence return it.
    end
  else
    # e "No file exists at `#{i}`. Thus, no title of "\
    #   "the curriculum can be determined."
  end
  nil # Default return-value.
end

.return_tu_vienna_logo_imageObject

#

Studium.return_tu_vienna_logo_image

#


1926
1927
1928
1929
1930
1931
# File 'lib/studium/constants/constants.rb', line 1926

def self.return_tu_vienna_logo_image
  img(
    path_to_the_tu_vienna_logo_image?,
    css_style: @use_this_css_style_for_the_logo_images
  )
end

.return_university_of_vienna_logo_imageObject

#

Studium.return_university_of_vienna_logo_image

#


1909
1910
1911
1912
1913
1914
# File 'lib/studium/constants/constants.rb', line 1909

def self.return_university_of_vienna_logo_image
  img(
    path_to_the_university_of_vienna_logo_image?,
    css_style: @use_this_css_style_for_the_logo_images
  )
end

.return_upcoming_exams_as_HTML(hash = {}) ⇒ Object

#

Studium.return_upcoming_exams_as_HTML

#


1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1433

def self.return_upcoming_exams_as_HTML(
    hash = {}
  )
  _ = '<div'.dup
  if hash and hash.is_a?(Hash)
    # ======================================================================= #
    # === :css_style
    # ======================================================================= #
    if hash.has_key? :css_style
      _ << ' style="'+
           hash.delete(:css_style).to_s+
           '"'
    end
  end
  _ << ">\n"
  Studium.enable_www_mode
  time_now = ::Time.now
  dataset = Studium.upcoming_exams? { :only_for_registered_exams }
  dataset.each {|a, inner_hash|
    homepage = inner_hash[:homepage]
    homepage = homepage.first if homepage.is_a? Array
    homepage = homepage.to_s
    n_ECTS   = inner_hash[:ects]
    registered_for_the_exam_on_this_day = inner_hash['registered']
    if registered_for_the_exam_on_this_day.is_a? Array
      registered_for_the_exam_on_this_day = registered_for_the_exam_on_this_day.first
    end
    only_the_exam_day = registered_for_the_exam_on_this_day.scan(
      /\d{2}\.\d{2}\.\d{4}/
    ).flatten.first
    future_time = ::Time.parse(only_the_exam_day)
    time_difference = future_time - time_now
    _ << '<p class="default">'+"\n"
    # ======================================================================= #
    # The header. Note that the CSS class specific_exam_date can be
    # used to style the specific exam date.
    # ======================================================================= #
    _ << Cyberweb.boldbr(
           HtmlTags.a(homepage, content: a)+
           ' <b class="indigo">['+n_ECTS.to_s+' ECTS]</b>'
         )+'<br>'+
         '<span class="marl1em">Exam on:</span> '+
         '<span class="BOLD specific_exam_date">'+
         registered_for_the_exam_on_this_day.to_s+
         '</span> '+ # This has the special CSS class.
         '(in <b class="darkgreen">'+(
           (time_difference / 60 / 60) / 24
         ).round(1).to_s+' days</b>)'
    _ << "</p>\n"
    _ << Cyberweb.fancy_spacer
  }
  _ << "</div>\n"
  return _
end

.return_version_and_last_updateObject

#

Studium.return_version_and_last_update

This method will return a longer String that includes the current version, and when the project was last updated. This can then, in turn, be used by other methods if you quickly wish to show both information, such as when issuing the command “studium –version?”.

#


36
37
38
# File 'lib/studium/version/version.rb', line 36

def self.return_version_and_last_update
  "#{VERSION} (Last update: #{LAST_UPDATE})"
end

.return_vetmed_logo_imageObject

#

Studium.return_vetmed_logo_image

#


1806
1807
1808
1809
1810
1811
# File 'lib/studium/constants/constants.rb', line 1806

def self.return_vetmed_logo_image
  img(
    path_to_the_vetmed_logo_image?,
    css_style: @use_this_css_style_for_the_logo_images
  )
end

.return_weekday_of_this_date(i = '01.01.2017', return_names_in_german = false) ⇒ Object

#

Studium.return_weekday_of_this_date

This method will return the weekday of the given input day.

So for example, it may return the String “Monday”.

Usage example:

day = Studium.return_weekday_of_this_date('01.01.2017')
#


3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3293

def self.return_weekday_of_this_date(
    i                      = '01.01.2017',
    return_names_in_german = false
  )
  case return_names_in_german
  # ======================================================================= #
  # === :german
  # ======================================================================= #
  when :german
    return_names_in_german = true
  end
  day_of_the_week_as_number = Time.parse(i).wday # This will be a number.
  long_name_of_the_day = DAY_NAMES[day_of_the_week_as_number] # This will be "Sun" rather than "Sunday".
  result = HASH_SHORT_TO_LONG_WEEKDAYS[long_name_of_the_day] # Now it will be correct.
  # ======================================================================= #
  # Check if we return the names in the german language or not.
  # ======================================================================= #
  if return_names_in_german
    result = ENGLISH_TO_GERMAN_WEEKDAYS[result]
  end
  return result
end

.revObject

#

Studium.rev

#


1697
1698
1699
# File 'lib/studium/colours/colours.rb', line 1697

def self.rev
  ::Studium::Colours.rev
end

.rinstall2(&block) ⇒ Object

#

Studium.rinstall2

The following method will only work on my home system.

#


2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2713

def self.rinstall2(&block)
  cd ROEBE_STUDIUM_DIR
  begin
    require 'roebe/toplevel_methods/rinstall2.rb'
    if Object.const_defined? :Roebe
      Roebe.rinstall2(&block)
    else
      e 'Roebe is not available.'
    end
  rescue LoadError; end
end

.royalblue(i = '') ⇒ Object

#

Studium.royalblue

#


1641
1642
1643
1644
# File 'lib/studium/colours/colours.rb', line 1641

def self.royalblue(i = '')
  return ::Studium::Colours.royalblue(i) if Colours.use_colours?
  return i
end

.rti_conflict(i) ⇒ Object

#

Studium.rti_conflict

This combines the “rename KDE konsole tab” via “show conflicting LVA lectures”.

#


2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2612

def self.rti_conflict(i)
  if i.is_a? Array
    i = i.first
  end
  # ======================================================================= #
  # First rename the KDE konsole tab:
  # ======================================================================= #
  require 'roebe/requires/require_kde_konsole.rb'
  Roebe.rename_kde_konsole_tab(i)
  # ======================================================================= #
  # Then show conflicting LVA lectures:
  # ======================================================================= #
  require 'studium/utility_scripts/show_conflicting_lva_lectures/show_conflicting_lva_lectures.rb'
  Studium::ShowConflictingLvaLectures.new(i)
end

.ruby_src_dir_at_home?Boolean

#

Studium.ruby_src_dir_at_home?

This method will return a String such as:

"/home/x/programming/ruby/src/"
#

Returns:

  • (Boolean)


494
495
496
# File 'lib/studium/constants/constants.rb', line 494

def self.ruby_src_dir_at_home?
  RUBY_SRC_DIR
end

.runmode?Boolean

#

Studium.runmode?

There are three different runmodes for the Studium project:

:commandline
:www
:gui

The default runmode will be :commandline. If you need to modify it, use the method called Studium.set_runmode()

#

Returns:

  • (Boolean)


31
32
33
# File 'lib/studium/toplevel_methods/runmode.rb', line 31

def self.runmode?
  @runmode
end

.sanitize_dataset_derived_from_a_curriculum_file(dataset) ⇒ Object

#

Studium.sanitize_dataset_derived_from_a_curriculum_file

This method will sanitize the default dataset registered in a curriculum file. In particular, ‘#’ comments will be removed.

You should ideally use this method if you need to load up the dataset from a curriculum file.

#


4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4860

def self.sanitize_dataset_derived_from_a_curriculum_file(dataset)
  dataset.reject {|entry|
    entry.strip.empty? or entry.strip.start_with?('#') # Remove comments as well.
  }.map {|inner_entry|
    if inner_entry.include? '#'
      inner_entry = inner_entry[0 .. (inner_entry.index('#') - 1)].strip
    end
    inner_entry.strip.squeeze(' ')
  }
end

.sanitize_this_theme_topic(topic) ⇒ Object

#

Studium.sanitize_this_theme_topic

This method will take input such as ‘math’ and sanitize it towards the longer (and correct) name called ‘mathematics’.

#


3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3840

def self.sanitize_this_theme_topic(topic)
  case topic # Add some aliases (case tag, aliases tag, alias tag)
  # ======================================================================= #
  # === theoretische_informatik
  # ======================================================================= #
  when 'theoretische_informatik'
    topic = 'theoretical informatics'
  # ======================================================================= #
  # === mathematik
  # ======================================================================= #
  when 'mathematik',
       'mathematic',
       'maths',
       'math'
    topic = 'mathematics'
  # ======================================================================= #
  # === plants
  # ======================================================================= #
  when 'plants'
    topic = 'plant sciences'
  # ======================================================================= #
  # === bioprocess
  # ======================================================================= #
  when 'bioprocess',
       'bioprozess'
    topic = 'bioprocess technology'
  # ======================================================================= #
  # === biochemie
  # ======================================================================= #
  when 'biochemie','biochem'
    topic = 'biochemistry'
  # ======================================================================= #
  # === chemie
  # ======================================================================= #
  when 'chemie',
       'chem'
    topic = 'chemistry'
  # ======================================================================= #
  # === patho
  # ======================================================================= #
  when 'patho',
       'pathologie'
    topic = 'pathology'
  # ======================================================================= #
  # === organic_chemistry
  # ======================================================================= #
  when 'organic_chemistry'
    topic = 'organic chemistry'
  # ======================================================================= #
  # === mikrobiologie
  # ======================================================================= #
  when 'mikrobiologie'
    topic = 'microbiology'
  # ======================================================================= #
  # === biotech
  # ======================================================================= #
  when 'biotech'
    topic = 'biotechnology'
  # ======================================================================= #
  # === immuno
  # ======================================================================= #
  when 'immuno',
       'imuno',
       'immunologie'
    topic = 'immunology'
  # ======================================================================= #
  # === diseases
  # ======================================================================= #
  when 'diseases'
    topic = 'disease'
  # ======================================================================= #
  # === genetik
  # ======================================================================= #
  when 'genetik'
    topic = 'genetics'
  # ======================================================================= #
  # === bioinformatik
  # ======================================================================= #
  when 'bioinformatik',
       'bioinfo'
    topic = 'bioinformatics'
  # ======================================================================= #
  # === botany
  # ======================================================================= #
  when 'botany',
       'pflants',
       'pflanzen'
    topic = 'plants'
  # ======================================================================= #
  # === cellbio
  # ======================================================================= #
  when 'cellbio',
       'cell'
    topic = 'cellbiology'
  # ======================================================================= #
  # === virus
  # ======================================================================= #
  when 'virus',
       'viruses'
    topic = 'virology'
  end
  return topic
end

.sanitize_url(i, optional_return_as_string = nil) ⇒ Object

#

Studium.sanitize_url

It is recommended to consistently use this module-method here if you need support for BeautifulUrl.

Usage example:

Studium.url_for? '790109 Biologische Sicherheit'
#


476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 476

def self.sanitize_url(
    i, optional_return_as_string = nil
  )
  case optional_return_as_string
  # ======================================================================= #
  # === :return_string
  # ======================================================================= #
  when :return_string,
       :return_a_string
    optional_return_as_string = true
  end
  unless Studium.respond_to? :is_this_url_registered?
    require 'studium/requires/return_remote_homepage_of_this_lecture.rb'
  end
  if optional_return_as_string
    if Studium.is_this_url_registered?(i)
      i = Studium.return_url_from(i)
    else
      i = BeautifulUrl[i]
    end
    i = i.first if i.is_a? Array
  else
    i = BeautifulUrl[i]
  end
  return i
end

.sanitized_dataset_from_file_passed_exams_per_month(i = Studium.file_passed_exams_per_month, use_this_encoding = ::Studium.main_encoding?) ⇒ Object

#

Studium.sanitized_dataset_from_file_passed_exams_per_month

Use this method in order to load up the proper dataset from the passed exams.

The method will also ensure that the encoding is the one that we will (consistently) use for the whole project.

Since as of 15.10.2020 the method will strip newlines too.

#


4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4781

def self.sanitized_dataset_from_file_passed_exams_per_month(
    i                 = Studium.file_passed_exams_per_month,
    use_this_encoding = ::Studium.main_encoding?
  )
  # ======================================================================= #
  # Load up the exam-dataset next.
  # ======================================================================= #
  dataset = File.readlines(i, encoding: use_this_encoding).reject {|line|
    # ===================================================================== #
    # Lines that start with a '#' token will be rejected, as will lines
    # that are empty and lines that are "| \n".
    # ===================================================================== #
    line.start_with?('#') or
    line.strip.empty? or
    (line == "| \n") # <- Such an entry would be an error.
  }.map(&:strip)
  return dataset
end

.save_all_registered_upcoming_exams(use_this_dataset = nil) ⇒ Object

#

Studium.save_all_registered_upcoming_exams

This method will simply save all registered upcoming exams, in a yaml file.

#


4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4454

def self.save_all_registered_upcoming_exams(
    use_this_dataset = nil
  )
  require 'date'
  if use_this_dataset.nil?
    use_this_dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
  end
  copy = use_this_dataset.select! {|name_of_the_lecture, inner_hash|
    inner_hash.has_key?('registered') or
    inner_hash.has_key?('not_yet_registered')
  }
  # ======================================================================= #
  # Next, obtain the real values and put it into an Array. That Array
  # will lateron be stored into a yaml-file.
  # ======================================================================= #
  array = copy.map {|name_of_the_lecture, inner_hash|
    if inner_hash.has_key? 'registered'
      entry = inner_hash['registered']
    elsif inner_hash.has_key? 'not_yet_registered'
      entry = inner_hash['not_yet_registered']
    end
    if entry
      entry = entry.first
    end
    entry
  }
  sorted = array.sort_by {|entry|
    DateTime.parse(
      entry.delete(',').split(' ')[1]
    )
  }
  array = sorted
  what = YAML.dump(array)
  # ======================================================================= #
  # We will try to store into the following file.
  # ======================================================================= #
  into = Studium.file_all_registered_upcoming_exams
  unless File.exist? into
    Studium.ensure_that_the_log_directory_exists
    create_file(into)
  end
  ::Studium.save_what_into(what, into)
  return array # And return the Array finally.
end

.save_this_delay_between_questions_and_answers(i, be_verbose = true) ⇒ Object

#

Studium.save_this_delay_between_questions_and_answers

#


4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4422

def self.save_this_delay_between_questions_and_answers(
    i,
    be_verbose = true
  )
  require 'studium/exams/exam_question/misc.rb'
  store_text = ::Studium::Exams::AskExamQuestion::STORE_TEXT
  target = DELAY_CONSTANT_STORED_HERE
  if be_verbose
    opnn; e 'Saving the new delay of '+
            ::Studium::Colours.sfancy(i.to_s)+' seconds now into '
    opnn; e '  '+::Studium::Colours.sfile(target)
  end
  Studium.save_what_into(store_text+i.to_s, target)
  # ======================================================================= #
  # Also store into my home dir, if it is on my own system.
  # ======================================================================= #
  if is_on_roebe?
    target = RUBY_STUDIUM_HOME_DIR+'yaml/default_delay.yml'
    if be_verbose
      opnn; e 'And also writing into'
      opnn; e "  #{::Studium::Colours.sfile(target)}"
    end
    Studium.save_what_into(store_text+i.to_s, target)
  end
end

.save_what_into(what, into_where = ::Studium.log_dir?, file_mode_to_be_used = 'w+', permission_to_use = 0755, &block) ⇒ Object

#

Studium.save_what_into

This method can be used to save data into a local file.

#


4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4310

def self.save_what_into(
    what,
    into_where           = ::Studium.log_dir?,
    file_mode_to_be_used = 'w+',
    permission_to_use    = 0755,
    &block
  )
  if what.is_a? Array
    what = what.join
  end
  # ======================================================================= #
  # === Handle blocks going into this method here next
  # ======================================================================= #
  if block_given?
    yielded = yield
    # ===================================================================== #
    # === Handle Hashes passed via block to this method next
    # ===================================================================== #
    if yielded.is_a? Hash
      # =================================================================== #
      # === :permission_to_use
      # =================================================================== #
      if yielded.has_key? :permission_to_use
        permission_to_use = yielded[:permission_to_use]
        if permission_to_use.is_a? String
          # =============================================================== #
          # Convert into Octal representation:
          # =============================================================== #
          permission_to_use = permission_to_use.to_i(8)
        end
      end
    end
  end
  begin
    # ===================================================================== #
    # Write the content into the file, at into_where next.
    # ===================================================================== #
    File.open(into_where, file_mode_to_be_used, permission_to_use) {|file|
      file.write(what) # Write the new file here.
    }
  rescue Errno::EACCES => error
    require 'studium/toplevel_methods/runmode.rb'
    unless is_in_www_mode?
      # =================================================================== #
      # We will NOT show the error if the Studium gem is run on the
      # www, aka as a .cgi script.
      # =================================================================== #
      pp error
    end
  end
end

.sdir(i = '', use_colours = Colours.use_colours?) ⇒ Object

#

Studium.sdir

#


1649
1650
1651
1652
1653
# File 'lib/studium/colours/colours.rb', line 1649

def self.sdir(
    i = '', use_colours = Colours.use_colours?
  )
  return ::Studium::Colours.sdir(i, use_colours)
end

.set_exam_topics(i = EXAM_TOPICS) ⇒ Object

#

Studium.set_exam_topics

Note that this will point to a directory.

#


698
699
700
701
702
703
704
705
# File 'lib/studium/constants/constants.rb', line 698

def self.set_exam_topics(
    i = EXAM_TOPICS
  )
  if i
    i << '/' unless i.end_with? '/' # Ensure trailing '/' here.
  end
  @exam_topics = i
end

.set_file_exams(i = FILE_EXAMS) ⇒ Object

#

Studium.set_file_exams

This setter allows you to use another exams-file, other than ‘exams.yml’.

#


1727
1728
1729
# File 'lib/studium/constants/constants.rb', line 1727

def self.set_file_exams(i = FILE_EXAMS)
  @file_exams = i
end

.set_file_lecture_information(i = :default) ⇒ Object

#

Studium.set_file_lecture_information

#


987
988
989
990
991
992
993
994
995
996
997
998
999
# File 'lib/studium/constants/constants.rb', line 987

def self.set_file_lecture_information(
    i = :default
  )
  case i
  # ======================================================================= #
  # === :default
  # ======================================================================= #
  when :default,
       nil
    i = "#{yaml_directory?}lecture_information/lecture_information.yml"
  end
  @file_lecture_information = i
end

.set_last_exam_question_line(this_line) ⇒ Object

#

Studium.set_last_exam_question_line

This method can be used to store the given argument into a local file. It should always be used whenever the studium-gem asks a question to the user; that way we always know what the last line was.

#


518
519
520
521
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 518

def self.set_last_exam_question_line(this_line)
  into = Studium.file_last_question_asked?
  write_what_into(this_line, into)
end

.set_last_file_for_exam_questions(file_path, be_verbose = false) ⇒ Object

#

Studium.set_last_file_for_exam_questions

This method can be used to modify the .yml file that holds the location of the file that keeps our questions-answers.

The only argument that this method accepts, shall be the local file path of a .rb file in question.

#


4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4810

def self.set_last_file_for_exam_questions(
    file_path,
    be_verbose = false
  )
  into = Studium.file_for_exam_questions # This is the file 'file_for_exam_questions.yml'.
  # ======================================================================= #
  # We will not store the last-file if we are being run in the www-mode.
  # ======================================================================= #
  unless Studium.used_on_the_www?
    case be_verbose
    when :be_verbose
      be_verbose = true
    end
    if be_verbose
      puts 'Storing `'+Colours.simp(file_path)+'` into'
      puts "`#{Colours.simp(into)}`."
    end
    ::Studium.write_what_into(YAML.dump(file_path), into)
    # ===================================================================== #
    # And also store into ::Studium.log_dir?
    # ===================================================================== #
    into = ::Studium.log_dir?+File.basename(into)
    if be_verbose
      puts 'Storing `'+Colours.simp(file_path)+'` into'
      puts '`'+Colours.simp(into)+'`.'
    end
    ::Studium.write_what_into(YAML.dump(file_path), into)
    # ===================================================================== #
    # Last but not least, on my system as well.
    # ===================================================================== #
    if ::Studium.is_on_roebe?
      into = "#{RUBY_STUDIUM_HOME_DIR}yaml/file_for_exam_questions.yml"
      if be_verbose
        puts 'Storing `'+Colours.simp(file_path)+'` into'
        puts '`'+Colours.simp(into)+'`.'
      end
      ::Studium.write_what_into(YAML.dump(file_path), into)
    end
  end
end

.set_log_directory(i) ⇒ Object

#

Studium.set_log_directory

#


74
75
76
# File 'lib/studium/logging/log_directory.rb', line 74

def self.set_log_directory(i)
  @log_directory = i
end

.set_main_dataset(i) ⇒ Object

#

Studium.set_main_dataset

#


2531
2532
2533
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2531

def self.set_main_dataset(i)
  @main_dataset = i
end

.set_runmode(i = :www) ⇒ Object

#

Studium.set_runmode

Set the runmode through this method.

Usage examples:

Studium.set_runmode :gui
Studium.set_runmode(@runmode)
#


767
768
769
770
771
772
773
774
775
776
777
778
779
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 767

def self.set_runmode(
    i = :www
  )
  case i
  # ======================================================================= #
  # === :gui
  # ======================================================================= #
  when :gui
    require 'studium/colours/colours.rb'
    ::Studium.disable_colours # I don't think we need ansi-colours for the GUI part. 
  end
  @runmode = i
end

.set_this_cd_alias_to(this_cd_alias, new_content, be_verbose = :default) ⇒ Object

#

Studium.set_this_cd_alias_to

This method is able to manipulate the ‘cd_aliases.yml’ file. I needed this (fairly) simple method because the old classes called NewStud and AutoStud were becoming fairly complicated.

The format for this method is deliberately kept very simple:

- The first argument must be the existing (!) name of
  the cd-alias at hand. So for example, 'pwdalias1:'.

- The second argument must simply be the new content 
  of that alias.
#


4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4040

def self.set_this_cd_alias_to(
    this_cd_alias,
    new_content,
    be_verbose = :default
  )
  case be_verbose # By default, we will be verbose.
  # ======================================================================= #
  # === :default
  # ======================================================================= #
  when :default
    be_verbose = true
  # ======================================================================= #
  # === :be_quiet
  # ======================================================================= #
  when :be_quiet
    be_verbose = false
  end
  # ======================================================================= #
  # First we must read in the old file content from the file cd_aliases.yml
  # ======================================================================= #
  data = File.readlines(
    FILE_CD_ALIASES,
    encoding: ::Studium.main_encoding?
  )
  proper_line = data.select {|line|
    line.start_with? this_cd_alias
  }
  if proper_line.empty?
    opnn; e "No result was found for #{this_cd_alias}."
  else
    # ===================================================================== #
    # else a result was found, so we can continue.
    # ===================================================================== #
    new_string = ''.dup
    data.each {|this_line|
      if this_line.start_with? this_cd_alias
        padding = this_line[
          (this_cd_alias.size) .. (this_line.index('cd') - 1)
        ]
        new_line = this_cd_alias.dup
        new_line << "#{padding.dup}cd #{new_content.dup}\n"
        this_line = new_line.dup
      end
      new_string << this_line
    }
    into = FILE_CD_ALIASES
    if be_verbose
      e "Storing #{lightsteelblue(what)} into `#{sfile(into)}`."
    end
    what = new_string
    ::Studium.write_what_into(what, into)
  end
end

.set_use_this_editor(i = USE_THIS_EDITOR) ⇒ Object

#

Studium.set_use_this_editor

#


2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2120

def self.set_use_this_editor(
    i = USE_THIS_EDITOR
  )
  case i
  # ======================================================================= #
  # === :default
  # ======================================================================= #
  when :default
    i = USE_THIS_EDITOR
  end
  @use_this_editor = i
end

.sfancy(i = '', use_colours = Colours.use_colours?) ⇒ Object

#

Studium.sfancy

#


1674
1675
1676
1677
1678
# File 'lib/studium/colours/colours.rb', line 1674

def self.sfancy(
    i = '', use_colours = Colours.use_colours?
  )
  return ::Studium::Colours.sfancy(i, use_colours)
end

.sfile(i = '') ⇒ Object

#

Studium.sfile

#


1683
1684
1685
# File 'lib/studium/colours/colours.rb', line 1683

def self.sfile(i = '')
  return ::Studium::Colours.sfile(i)
end

.shall_we_make_use_of_unicode_symbols?Boolean

#

Studium.shall_we_make_use_of_unicode_symbols?

#

Returns:

  • (Boolean)


243
244
245
# File 'lib/studium/constants/constants.rb', line 243

def self.shall_we_make_use_of_unicode_symbols?
  MAKE_USE_OF_UNICODE_SYMBOLS_WHENEVER_POSSIBLE
end

.short_name_of_this_german_weekday(i) ⇒ Object

#

Studium.short_name_of_this_german_weekday

#


3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3264

def self.short_name_of_this_german_weekday(i)
  case i
  when 'Montag'
    return 'Mo'
  when 'Dienstag'
    return 'Di'
  when 'Mittwoch'
    return 'Mi'
  when 'Donnerstag'
    return 'Do'
  when 'Freitag'
    return 'Fr'
  else
    return i
  end
end

.show_completed_ects_in_all_curricula(i = ARGV) ⇒ Object

#

Studium.show_completed_ects_in_all_curricula

#


237
238
239
# File 'lib/studium/ects/show_completed_ects_in_all_curricula.rb', line 237

def self.show_completed_ects_in_all_curricula(i = ARGV)
  Studium::ShowCompletedEctsInAllCurricula.new(i)
end

.show_exam_statistics(_ = FILE_STATISTICS) ⇒ Object

#

Studium.show_exam_statistics

#


17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# File 'lib/studium/statistics/show_exam_statistics.rb', line 17

def self.show_exam_statistics(
    _ = FILE_STATISTICS
  )
  if File.exist? _
    e
    opnn; e "Reading from the file `#{Colours.sfile(_)}`."
    dataset = File.readlines(_).select {|line|
      line.start_with?('# Am') 
    }.join
    # ===================================================================== #
    # Now we have the dataset - let's colourize the answers in crimson().
    # ===================================================================== #
    use_this_regex = /davon waren (\d{1,5}) beantwortet/
    dataset.gsub!(
      use_this_regex,
      rev+'davon waren '+crimson('\\1')+
      rev+' beantwortet'
    )
    use_this_regex =
      /(Am \d{1,2}.\d{1,2}.\d{4} waren es\s+)(\d{1,2}\.\d{1,5}) Fragen/
    # ===================================================================== #
    # Colourize "n Fragen" next.
    # ===================================================================== #
    dataset.gsub!(
      use_this_regex, '\\1'+lightgreen('\\2')+rev+' Fragen'
    )
    # ===================================================================== #
    # Colourize the date.
    # ===================================================================== #
    use_this_regex = /Am (\d{1,2}.\d{1,2}.\d{4}) /
    dataset.gsub!(
      use_this_regex, rev+'Am '+slateblue('\\1')+rev+' '
    )
    # ===================================================================== #
    # Next, modify the % percentage value.
    # ===================================================================== #
    use_this_regex = /(\d{1,2}\.\d{1,2}%)/
    dataset.gsub!(use_this_regex, turquoise('\\1')+rev)
    # ===================================================================== #
    # Next, colourize the "davon waren xyz beantwortet".
    # ===================================================================== #
    use_this_regex = /(davon waren\s{0,2})(\d{1,7})( beantwortet)/ # See: https://rubular.com/r/6Z5ACALQvdTief
    dataset.gsub!(use_this_regex, rev+'\\1'+lightsalmon('\\2')+rev+'\\3')
    # ===================================================================== #
    # Next, modify entries such as: [229.5 ECTS]
    # ===================================================================== #
    use_this_regex = /(\[\d{1,3}\.\d{0,2}\sECTS\])/ # See: https://rubular.com/r/izyKPj1o2ZKXlS
    dataset.gsub!(use_this_regex, orangered('\\1')+rev)
    e; e dataset; e
  else
    e "No file exists at #{Colours.sfile(_)}"
  end
end

.show_exams_for(i = ARGV, &block) ⇒ Object

#

Studium.show_exams_for

#


161
162
163
# File 'lib/studium/exams/show_exams_for/show_exams_for.rb', line 161

def self.show_exams_for(i = ARGV, &block)
  Studium::Exams::ShowExamsFor.new(i, &block)
end

.show_important_filesObject

#

Studium.show_important_files

Show some of the important files.

Invocation example:

studium --show_important_files
#


2568
2569
2570
2571
2572
2573
2574
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2568

def self.show_important_files
  e 'Showing the location to some important files:'
  e
  e Colours.sfile("  #{file_lecture_information?}")
  e Colours.sfile("  #{file_important_exams?}")
  e
end

.show_lectures_on_this_day(i = ARGV) ⇒ Object

#

Studium.show_lectures_on_this_day

#


142
143
144
# File 'lib/studium/utility_scripts/show_lectures_on_this_day/show_lectures_on_this_day.rb', line 142

def self.show_lectures_on_this_day(i = ARGV)
  Studium::ShowLecturesOnThisDay.new(i)
end

.show_lva_dates_of_this_lecture(i) ⇒ Object

#

Studium.show_lva_dates_of_this_lecture

#


168
169
170
171
172
173
174
# File 'lib/studium/utility_scripts/show_lva_dates_of_this_lecture/show_lva_dates_of_this_lecture.rb', line 168

def self.show_lva_dates_of_this_lecture(i)
  if i.is_a? Array
    i.each {|entry| show_lva_dates_of_this_lecture(entry) }
  else
    Studium::ShowLvaDatesOfThisLecture.new(i)
  end
end

.show_n_last_exams(i = ARGV) ⇒ Object

#

Studium.show_n_last_exams

The namespace Studium.last_exams is already registered elsewhere.

#


468
469
470
# File 'lib/studium/exams/last_exams/last_exams.rb', line 468

def self.show_n_last_exams(i = ARGV)
  Studium::Exams::LastExams.new(i)
end

.show_outdated_lva_datesObject

#

Studium.show_outdated_lva_dates

#


206
207
208
# File 'lib/studium/utility_scripts/show_outdated_lva_dates/show_outdated_lva_dates.rb', line 206

def self.show_outdated_lva_dates
  Studium::ShowOutdatedLvaDates.new
end

.show_passed_credits_per_curriculum(i = ARGV) ⇒ Object

#

Studium.show_passed_credits_per_curriculum

#


268
269
270
# File 'lib/studium/ects/show_passed_credits_per_curriculum.rb', line 268

def self.show_passed_credits_per_curriculum(i = ARGV)
  Studium::ShowPassedCreditsPerCurriculum.new(i)
end

.show_passed_ects_in_the_individual_bachelor_and_master_curriculaObject

#

Studium.show_passed_ects_in_the_individual_bachelor_and_master_curricula

#


5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5135

def self.show_passed_ects_in_the_individual_bachelor_and_master_curricula
  hash = {}
  hash.default = 0
  dataset = return_dataset_from_file_lecture_information
  dataset.select! {|name_of_the_lecture, inner_dataset|
    inner_dataset.has_key?(:already_solved) and
    (inner_dataset[:already_solved] == true)
  }
  # ======================================================================= #
  # Next we can build up a Hash storing the n_ects.
  # ======================================================================= #
  dataset.each_pair {|name, inner_dataset|
    n_ects = inner_dataset[:ects]
    curricula = inner_dataset['curricula']
    if has_a_master_curriculum?(curricula)
      bachelor_or_master = :master
    elsif has_a_bachelor_curriculum?(curricula)
      bachelor_or_master = :bachelor
    elsif has_a_bachelor_curriculum?(curricula) and
          has_a_master_curriculum?(curricula)
      bachelor_or_master = :bachelor
      hash[bachelor_or_master] += n_ects
      bachelor_or_master = :master # <- Will be set lateron.
    else
      bachelor_or_master = :bachelor
    end
    hash[bachelor_or_master] += n_ects
  }
  n_ects_in_total = hash.values.sum
  sorted = hash.sort_by {|name, inner_dataset| name }
  e
  e ::Studium::Colours.lightgreen(
      'We passed this amount of ECTS in bachelor/master lectures:'
    )
  e; sorted.each {|bachelor_or_master, n_ects_points|
    # ===================================================================== #
    # Determine the percentage value as %.
    # ===================================================================== #
    percentage_value = (
      (n_ects_points * 100) / n_ects_in_total
    ).round(2).to_s+'%'
    e '  '+
      ::Studium::Colours.royalblue(
        (bachelor_or_master.to_s+': ').ljust(12)
      )+
      ::Studium::Colours.slateblue(
        n_ects_points.to_s+' ECTS points'
      )+' '+::Studium::Colours.crimson(percentage_value)
  }
  e
  e ::Studium::Colours.gold(
      '  (Note that this will include lectures that are dual-registered'
    )
  e ::Studium::Colours.gold(
      '  in both a bachelor and a master curriculum.)'
    )
  e
end

.show_passed_exams(i = ARGV) ⇒ Object

#

Studium.show_passed_exams

We want to have it reside on the main-namespace level as well.

#


459
460
461
# File 'lib/studium/exams/last_exams/last_exams.rb', line 459

def self.show_passed_exams(i = ARGV)
  ::Studium::Exams.show_passed_exams(i)
end

.show_passed_exams_having_this_grade(i = ARGV, check_for_max_value_of_grade_four = true) ⇒ Object

#

Studium.show_passed_exams_having_this_grade

#


78
79
80
81
82
83
84
85
# File 'lib/studium/utility_scripts/show_passed_exams_having_this_grade/show_passed_exams_having_this_grade.rb', line 78

def self.show_passed_exams_having_this_grade(
    i                                 = ARGV,
    check_for_max_value_of_grade_four = true
  )
  Studium::ShowPassedExamsHavingThisGrade.new(
    i, check_for_max_value_of_grade_four
  )
end

.show_questions_per_yearObject

#

Studium.show_questions_per_year

#


139
140
141
# File 'lib/studium/statistics/new_questions_per_year.rb', line 139

def self.show_questions_per_year
  Studium::Statistics::NewExamsQuestionsPerYear.new
end

.show_upcoming_exams(show_n_exams = :all_of_them, pass_this_array_onto_the_menu = nil, &block) ⇒ Object

#

Studium.show_upcoming_exams

#


1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 1491

def self.show_upcoming_exams(
    show_n_exams                  = :all_of_them, # This is also :default.
    pass_this_array_onto_the_menu = nil,
    &block
  )
  if show_n_exams.is_a?(Array) and show_n_exams.empty?
    show_n_exams = :all_of_them
  end
  # ========================================================================= #
  # === Handle blocks given to this method next
  # ========================================================================= #
  if block_given?
    yielded = yield
    if yielded.is_a? Hash
      yielded.merge!(
        show_n_upcoming_exams: show_n_exams
      )
    elsif yielded.is_a? Symbol
      hash = { show_n_upcoming_exams: show_n_exams }
      hash.merge!(
        array_of_symbols: [yielded]
      )
    end
  end
  _ = Studium::ShowUpcomingExams.new(show_n_exams, :do_not_run_yet) { yielded }
  if pass_this_array_onto_the_menu and
    !pass_this_array_onto_the_menu.empty?
    _.menu(pass_this_array_onto_the_menu)
  end
  # ========================================================================= #
  # === Handle blocks next
  # ========================================================================= #
  if block_given?
     yielded = yield
     case yielded
     when :do_not_use_opn
       _.do_not_use_opn
     end
  end
  _.run
end

.show_upcoming_exams_at_the_bokuObject

#

Studium.show_upcoming_exams_at_the_boku

#


186
187
188
# File 'lib/studium/exams/upcoming_exams_at_the_boku/upcoming_exams_at_the_boku.rb', line 186

def self.show_upcoming_exams_at_the_boku
  Studium::Exams::UpcomingExamsAtTheBoku.new
end

.simp(i = '') ⇒ Object

#

Studium.simp

#


1690
1691
1692
# File 'lib/studium/colours/colours.rb', line 1690

def self.simp(i = '')
  return ::Studium::Colours.simp(i)
end

.slateblue(i = '') ⇒ Object

#

Studium.slateblue

#


1601
1602
1603
1604
# File 'lib/studium/colours/colours.rb', line 1601

def self.slateblue(i = '')
  return ::Studium::Colours.slateblue(i) if Colours.use_colours?
  return i
end

.solved_ects_per_university(i = ARGV) ⇒ Object

#

Studium.solved_ects_per_university

#


108
109
110
# File 'lib/studium/ects/solved_ects_per_university/solved_ects_per_university.rb', line 108

def self.solved_ects_per_university(i = ARGV)
  Studium::SolvedEctsPerUniversity.new(i)
end

.spacerObject

#

Studium.spacer

This is similar to cliner() - but simpler.

#


5923
5924
5925
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5923

def self.spacer
  e '-' * 80
end

.start_sinatra_interfaceObject

#

Studium.start_sinatra_interface

This method can be used to start the sinatra interface.

#


223
224
225
# File 'lib/studium/www/sinatra/app.rb', line 223

def self.start_sinatra_interface
  ::Studium::Sinatra.run!
end

.statically_compile_this_java_file(i = '/home/x/programming/ruby/src/studium/lib/studium/java/ask_exam_question/AskExamQuestion.java') ⇒ Object

#

Studium.statically_compile_this_java_file

This method is currently not very useful for other users (August 2022).

#


5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5258

def self.statically_compile_this_java_file(
    i = '/home/x/programming/ruby/src/studium/lib/studium/java/ask_exam_question/AskExamQuestion.java'
  )
  Studium.cd('/Depot/j/')
  require 'roebe/classes/run/run.rb'
  Studium.copy_file(i)
  Roebe::Run.new(
    [File.basename(i), '--super-static']
  )
end

.statistics(i = nil) ⇒ Object

#

Studium.statistics

#


464
465
466
# File 'lib/studium/statistics/report_how_many_exam_questions_were_answered.rb', line 464

def self.statistics(i = nil)
  Statistics::ReportHowManyExamQuestionsWereAnswered.new(i)
end

.statistics_about_this_meta_exam_topic(i) ⇒ Object

#

Studium.statistics_about_this_meta_exam_topic

This method will return an Array containing three entries:

- n total questions
- n total answer
- n percent answered already

Usage example:

Studium.statistics_about_this_meta_exam_topic('cellbio')
#


466
467
468
469
# File 'lib/studium/exams/n_exams_in_these_topics.rb', line 466

def self.statistics_about_this_meta_exam_topic(i)
  _ = Studium::NExamsInTheseTopics.new(i) { :do_not_run_yet }
  return _.primary_array?
end

.steelblue(i = '', use_colours = Colours.use_colours?) ⇒ Object

#

Studium.steelblue

#


1658
1659
1660
1661
1662
# File 'lib/studium/colours/colours.rb', line 1658

def self.steelblue(
    i = '', use_colours = Colours.use_colours?
  )
  return ::Studium::Colours.steelblue(i, use_colours)
end

.studium_at_home_dir?Boolean

#

Studium.studium_at_home_dir?

This method will return a String such as “/home/x/studium/”.

#

Returns:

  • (Boolean)


564
565
566
# File 'lib/studium/constants/constants.rb', line 564

def self.studium_at_home_dir?
  ROEBE_STUDIUM_DIR
end

.to_perfectionObject

#

Studium.to_perfection

This ad-hoc method is just for me really; I determine how many more ECTS points I needed to achieve 1000.0 ECTS.

Usage example:

require 'studium'; Studium.to_perfection
#


2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 2846

def self.to_perfection
  dataset = dataset_from_file_lecture_information
  total_ECTS_passed = 0
  dataset.each {|name_of_the_lecture, inner_hash|
    if (inner_hash[:already_solved] == true)
      total_ECTS_passed += inner_hash[:ects]
    end
  }
  e steelblue(
    (1000.0 - total_ECTS_passed).round(1)
  )
end

.total_ects_points_passedObject

#

Studium.total_ects_points_passed

This method will return a Float, such as 613.5. This stands for how many ECTS points were already passed so far.

#


6142
6143
6144
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 6142

def self.total_ects_points_passed
  Studium::Exams.total_ects_points_passed
end

.try_to_guess_the_most_likely_lva_id(for_this_lecture_name = '') ⇒ Object

#

Studium.try_to_guess_the_most_likely_lva_id

This method will try to guess the LVA ID of a lecture, based on its name alone. This is thus prone to some kind of error, but the method here will still try to find the “most likely” result nonetheless.

#


5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5837

def self.try_to_guess_the_most_likely_lva_id(
    for_this_lecture_name = ''
  )
  # ======================================================================= #
  # The variable dataset is a Hash. Note that we will also store into
  # the Studium.set_main_dataset(), so as to re-use it from there to
  # speed up some repeated calls to this method.
  # ======================================================================= #
  main_dataset = ::Studium.main_dataset?
  if main_dataset.nil?
    dataset = ::Studium.dataset_from_the_file_lecture_information
    set_main_dataset(dataset)
  else
    dataset = main_dataset?
  end
  _ = for_this_lecture_name
  if _.is_a? Array
    _ = _.first # We only care about the first member, if it is an Array.
  end
  possible_results = dataset.select {|name_of_the_lecture, inner_dataset|
    name_of_the_lecture.include? _
  }
  if possible_results.empty?
    nil
  else # Ok - we must have found a match in this case. Now extract the LVA-ID.
    keys = possible_results.keys
    first_key = keys.first
    splitted = first_key.split(' ')
    lva_id = splitted.first
    return lva_id
  end
end

.try_to_report_exams_that_match_to_this_regexp(this_regexp) ⇒ Object

#

Studium.try_to_report_exams_that_match_to_this_regexp

If the Symbol :also_show_the_grade is given via block then we will display the grade of the passed exam.

#


4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4699

def self.try_to_report_exams_that_match_to_this_regexp(
    this_regexp
  )
  if this_regexp.is_a? Regexp
    regexp_as_string = this_regexp.to_s.delete('()').
                       sub(/\?-mix:/,'').sub(/\?i-mx:/,'')
    # ===================================================================== #
    # Ok, the user supplied a Regexp. We now try to find an exam that
    # matches to this.
    # ===================================================================== #
    dataset_to_work_with = Studium.completed_exams?
    # ===================================================================== #
    # Next, we must find the longest lecture name, so that we can
    # properly pad the display.
    # ===================================================================== #
    n_ljust_to_the_left = 48 # Default value.
    n_ljust_to_the_left = dataset_to_work_with.map {|line|
      line.split('|').map(&:strip).last.strip.size
    }.max + 1
    grepped = dataset_to_work_with.grep(this_regexp)
    if grepped.empty?
      e 'No matching result was found to '+
        Studium::Colours.sfancy(regexp_as_string)+'.'
    else
      result = "#{::Studium::Colours.rev}#{grepped.size} match".dup
      if grepped.size > 1
        result << "es were "
      else
        result << " was "
      end
      result << "found to the given input "\
               "#{Studium::Colours.sfancy(regexp_as_string)}:"
      e result
      e; grepped.each {|line|
        splitted = line.split('|').map(&:strip)
        name_of_the_lecture = splitted.last
        this_day            = splitted.first
        n_ects_points       = splitted[2].to_s
        the_grade           = splitted[3].to_s
        result = "#{Studium::Colours.sfancy((name_of_the_lecture).ljust(n_ljust_to_the_left))}"\
          " passed successfully on "\
          "#{Studium::Colours.palevioletred(this_day)} (#{n_ects_points.rjust(4)} ECTS".dup
        if block_given?
          case yield
          when :also_show_the_grade # Add the grade in this case
            result << '; Grade: '+Studium::Colours.sfancy(the_grade.to_s)
          end
        end
        result << ')'
        e result
      }; e

    end
  else
    e 'Given input is not a regex - this method presently requires '\
      'a regex as input, though.'
  end
end

.try_to_return_the_expanded_name_of_this_lecture(i = ARGV, use_this_dataset = :infer) ⇒ Object

#

Studium.try_to_return_the_expanded_name_of_this_lecture

This method will try to return the expanded name of the given lecture (a partial input). If it can not be found, though, the original input will be returned by this method, unmodified. (This is not totally true - if it was an Array, the method will return the first element. But it won’t modify that element any further.)

This also explains the name choice of this method.

#


5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5800

def self.try_to_return_the_expanded_name_of_this_lecture(
    i                = ARGV,
    use_this_dataset = :infer
  )
  case use_this_dataset
  # ======================================================================= #
  # === :infer
  # ======================================================================= #
  when :infer
    main_dataset = Studium.main_dataset?
    unless main_dataset
      main_dataset = Studium.dataset_from_the_file_lecture_information
    end
    use_this_dataset = main_dataset
  end
  if i.is_a? Array
    i = i.first
  end
  all_keys = use_this_dataset.keys.sort
  selection = all_keys.select {|entry|
    entry.end_with? i
  }
  if selection.empty?
    return i # In this case return the original input unmodified.
  else
    return selection.first.to_s
  end
end

.turquoise(i = '') ⇒ Object

#

Studium.turquoise

#


1625
1626
1627
1628
# File 'lib/studium/colours/colours.rb', line 1625

def self.turquoise(i = '')
  return ::Studium::Colours.turquoise(i) if Colours.use_colours?
  return i
end

.unfinished(i = ARGV) ⇒ Object

#

Studium.unfinished

The commandline variant for invoking this could be:

show_lectures --microbiology --unfinished

This would also be similar to:

unfinished microbiology
#


5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5583

def self.unfinished(i = ARGV)
  require 'studium/utility_scripts/show_lectures/show_lectures.rb'
  if i.is_a? Array
    i = i.join(' ').strip
  end
  if i and i.empty?
    i = 'biotechnology'
  end
  i = Studium.sanitize_this_theme_topic(i)
  unless i.start_with? '--'
    i = i.dup if i.frozen?
    i.prepend('--')
  end
  use_these_commandline_arguments = "#{i} --unfinished"
  Studium::ShowLectures.new(use_these_commandline_arguments)
end

.unicode_horizontal_barObject

#

Studium.unicode_horizontal_bar

This method should be combined with Studium.shall_we_make_use_of_unicode_symbols?, but this is not mandatory and more of a recommendation instead.

#


388
389
390
# File 'lib/studium/constants/constants.rb', line 388

def self.unicode_horizontal_bar
  UNICODE_HORIZONTAL_BAR
end

.unsolve_all_questions_from_this_topic(this_topic) ⇒ Object

#

Studium.unsolve_all_questions_from_this_topic

#


155
156
157
# File 'lib/studium/exams/unsolve_all_questions_from_this_topic.rb', line 155

def self.unsolve_all_questions_from_this_topic(this_topic)
  Studium::UnsolveAllQuestionsFromThisTopic.new(this_topic)
end

.update_max_ever_exam_questions_answeredObject

#

Studium.update_max_ever_exam_questions_answered

#


80
81
82
# File 'lib/studium/exams/designate_ten_random_exam_topics/designate_ten_random_exam_topics.rb', line 80

def self.update_max_ever_exam_questions_answered
  Studium::Exams::DesignateTenRandomExamTopics.new('--update')
end

.upload_archive_of_the_exam_questions(this_file_has_to_be_uploaded = FILE_EXAM_TOPICS_ARCHIVE) ⇒ Object

#

Studium.upload_archive_of_the_exam_questions (upload tag)

This method will simply use FtpParadise to upload the file ‘exam_topics.tar.xz’.

This method can be invoked from the commandline, via:

studium --upload-archive-of-the-exam-questions
#


3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 3184

def self.upload_archive_of_the_exam_questions(
    this_file_has_to_be_uploaded = FILE_EXAM_TOPICS_ARCHIVE
  )
  begin
    require 'studium/exams/upload_exam_topics.rb'
  rescue LoadError; end
  # ======================================================================= #
  # The input-file may not exist. In this case, we will try a glob() call:
  # ======================================================================= #
  unless File.exist? this_file_has_to_be_uploaded
    _ = Dir['exam_topics*']
    unless _.empty?
      e "No entry was found for the given "\
        "input `#{this_file_has_to_be_uploaded}`."
      e 'We did, however find, this entry: '+_.first
      e 'This entry will now be used.'
      this_file_has_to_be_uploaded = _.first
    end
  end
  ftp_object = Studium::Exams::UploadExamTopics.new(
    :default,
    :default_login_name,
    :default_password
  ) { :do_not_run_yet }
  ftp_object.set_remote_dir(:default)
  ftp_object.set_use_this_dataset(
    this_file_has_to_be_uploaded
  )
  ftp_object.set_binary_mode
  ftp_object.initialize_ftp_connection
  ftp_object.use_default_dataset # <- Must come after the above initialize-call.
  if ftp_object.ftp?.remote_url?.include? 'bplaced'
    ftp_object.rcd('www/')
  end
  ftp_object.do_upload
end

.upload_exam_questions(remote_host = :default, login_name = :default, login_password = :default, &block) ⇒ Object

#

Studium.upload_exam_questions

This is my module-method for batch-uploading all exam questions to a remote FTP host.

#


342
343
344
345
346
347
348
349
350
351
352
353
354
# File 'lib/studium/exams/upload_exam_topics.rb', line 342

def self.upload_exam_questions(
    remote_host    = :default,
         = :default,
     = :default,
    &block
  )
  Studium::Exams::UploadExamTopics.new(
    remote_host,
    ,
    ,
    &block
  )
end

.upload_pdf(this_pdf_file) ⇒ Object

#

Studium.upload_pdf

This method can be used to quickly upload the main exam-pdf file to my remote website.

The first argument to this method should be the (local) .pdf file that you wish to upload

#


324
325
326
327
328
# File 'lib/studium/utility_scripts/pdf/create_pdf_file_for_this_exam_topic.rb', line 324

def self.upload_pdf(this_pdf_file)
  require 'ftp_paradise'
  opnn; e "Now uploading the file `#{Colours.sfile(this_pdf_file)}`."
  FtpParadise.upload_this_binary_file(this_pdf_file) { :be_quiet } 
end

.use_colours?Boolean

#

Studium.use_colours?

Simple query method over as to whether the Studium project makes use of colours or whether it does not.

#

Returns:

  • (Boolean)


1575
1576
1577
# File 'lib/studium/colours/colours.rb', line 1575

def self.use_colours?
  ::Studium::Colours.use_colours?
end

.use_this_new_encoding(i = :default, also_save_the_new_encoding = true) ⇒ Object

#

Studium.use_this_new_encoding

#


78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/studium/encoding/encoding.rb', line 78

def self.use_this_new_encoding(
    i                          = :default,
    also_save_the_new_encoding = true
  )
  case i # case tag
  # ======================================================================= #
  # === :default
  # ======================================================================= #
  when :default,
       :utf8
    i = 'UTF-8'
  # ======================================================================= #
  # === iso1
  # ======================================================================= #
  when 'iso1'
    i = 'ISO-8859-1'
  end
  @use_this_encoding = i
  if also_save_the_new_encoding
    require 'studium/toplevel_methods/write_into_file_related_functionality.rb'
    into = FILE_DEFAULT_ENCODING # Yup, this is the correct path.
    puts "Now storing this content #{i} into `#{into}`."
    write_what_into(i+"\n", into)
  end
end

.use_www_mode_and_disable_coloursObject

#

Studium.use_www_mode_and_disable_colours

#


797
798
799
800
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 797

def self.use_www_mode_and_disable_colours
  www_runmode
  disable_colours
end

.used_on_the_www?Boolean

#

Studium.used_on_the_www?

Query whether the scripts are used on the www or in another context.

#

Returns:

  • (Boolean)


41
42
43
# File 'lib/studium/toplevel_methods/runmode.rb', line 41

def self.used_on_the_www?
  @runmode == :www
end

.utf_encoding?Boolean

#

Studium.utf_encoding?

#

Returns:

  • (Boolean)


61
62
63
# File 'lib/studium/encoding/encoding.rb', line 61

def self.utf_encoding?
  ENCODING_UTF
end

.verbose_truth(i) ⇒ Object

#

Studium.verbose_truth

#


4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4586

def self.verbose_truth(i)
  case i.to_s
  # ======================================================================= #
  # === yes
  # ======================================================================= #
  when 'yes',
       'y',
       'ja',
       't',
       'true'
    return true
  # ======================================================================= #
  # === no
  # ======================================================================= #
  when 'no',
       'n',
       'nein',
       'f',
       'false',
       'nil'
    return false
  end
end

.when_was_this_lecture_passed?(this_lecture = 'Die Zelle im Elektronenmikroskop') ⇒ Boolean

#

Studium.when_was_this_lecture_passed?

This method will determine when a particular lecture was passed, that is, when it was “completed successfully”.

It will return this information in dd.mm.yyyy format, if the lecture was passed. If it was not passed then we will return nil.

Usage example:

Studium.when_was_this_lecture_passed?('Die Zelle im Elektronenmikroskop') # => "23.05.2017"
Studium.when_was_this_lecture_passed? 'Oncology for biotechnologists (in Eng.)' # => "11.05.2017"
Studium.when_was_this_lecture_passed? 'Not Existing Name!' # => nil
#

Returns:

  • (Boolean)


5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5014

def self.when_was_this_lecture_passed?(
    this_lecture = 'Die Zelle im Elektronenmikroskop'
  )
  dataset = Studium.sanitized_dataset_from_file_passed_exams_per_month
  # ======================================================================= #
  # First, apply .select to find the proper entry.
  # ======================================================================= #
  dataset = dataset.select {|line|
    line.include? this_lecture
  }
  # ======================================================================= #
  # The date is the first entry, if the lecture was passed.
  # ======================================================================= #
  if dataset.empty?
    nil
  else
    date = dataset.first.split('|').first.strip
    return date
  end
end

.wochentage?Boolean

#

Studium.wochentage?

Return the weekdays, as german words (and capitalized.

#

Returns:

  • (Boolean)


731
732
733
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 731

def self.wochentage?
  ARRAY_AVAILABLE_WEEKDAYS.map(&:capitalize)
end

.word_wrap(text, line_width = 75) ⇒ Object

#

Studium.word_wrap

This method can re-arrange a given text (a String) to honour a certain size limit, such as 80 characters per line.

Keep in mind that colours that may be used inside of a tag, such as <tomato>foobar</tomato>, will also count for that limit. This has to be remembered when doing the calculation for text-wrapping.

#


5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 5880

def self.word_wrap(
    text,
    line_width = 75
  )
  if line_width.is_a? Hash
    # ===================================================================== #
    # === :threshold
    # ===================================================================== #
    if line_width.has_key? :threshold
      line_width = line_width.delete(:threshold)
    end
  end
  # ======================================================================= #
  # Next, we will add the total amount of characters by tags in the
  # given line (aka text) to the line_width. This is necessary so that
  # the word_wrap method does not chop up lines containing colour-tags.
  # ======================================================================= #
  if does_this_line_include_a_html_colour?(text)
    n_newlines_are_necessary = (text.size / line_width.to_f).ceil
    line_width += 
      return_this_line_has_n_characters_as_html_colour_tags(text) / n_newlines_are_necessary.to_i
  end
  result = text.scan(/\S.{0,#{line_width}}\S(?=\s|$)|\S+/).join(N)
  return result
end

.www_runmodeObject

#

Studium.www_runmode

This method will enable the www-runmode, that is to make use of the Studium project on the www, such as in .cgi scripts or sinatra-applications.

#


788
789
790
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 788

def self.www_runmode
  set_runmode(:www)
end

.yes_or_no(i) ⇒ Object

#

Studium.yes_or_no

#


4181
4182
4183
4184
4185
4186
4187
4188
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 4181

def self.yes_or_no(i)
  case i.to_s
  when 'true'
    return 'Yes'
  else
    return 'No'
  end
end

Instance Method Details

#log_dir?Boolean

#

log_dir?

#

Returns:

  • (Boolean)


103
104
105
# File 'lib/studium/logging/log_directory.rb', line 103

def log_dir?
  ::Studium.log_dir?
end

#sanitize_url(i) ⇒ Object

#

sanitize_url

#


506
507
508
# File 'lib/studium/toplevel_methods/toplevel_methods.rb', line 506

def sanitize_url(i)
  BeautifulUrl::BeautifulUrl.new(i)
end