Module: Studium

Extended by:
HtmlTags
Includes:
Colours
Defined in:
lib/studium/base/run.rb,
lib/studium/base/misc.rb,
lib/studium/base/mode.rb,
lib/studium/base/opnn.rb,
lib/studium/base/time.rb,
lib/studium/base/reset.rb,
lib/studium/base/cliner.rb,
lib/studium/base/editor.rb,
lib/studium/base/obtain.rb,
lib/studium/exams/class.rb,
lib/studium/exams/cycle.rb,
lib/studium/exams/exams.rb,
lib/studium/sinatra/app.rb,
lib/studium/base/colours.rb,
lib/studium/base/esystem.rb,
lib/studium/base/replace.rb,
lib/studium/base/unicode.rb,
lib/studium/colours/simp.rb,
lib/studium/exams/frozen.rb,
lib/studium/sinatra/misc.rb,
lib/studium/base/encoding.rb,
lib/studium/colours/sfile.rb,
lib/studium/ects/erledigt.rb,
lib/studium/exams/dataset.rb,
lib/studium/gui/gtk2/vbox.rb,
lib/studium/base/constants.rb,
lib/studium/base/prototype.rb,
lib/studium/base/readlines.rb,
lib/studium/base/word_wrap.rb,
lib/studium/colours/sfancy.rb,
lib/studium/constants/misc.rb,
lib/studium/constants/time.rb,
lib/studium/constants/week.rb,
lib/studium/exams/pruefung.rb,
lib/studium/gui/gtk2/frame.rb,
lib/studium/base/curriculum.rb,
lib/studium/colours/colours.rb,
lib/studium/commandline/run.rb,
lib/studium/constants/delay.rb,
lib/studium/constants/roebe.rb,
lib/studium/exams/afterburn.rb,
lib/studium/exams/next_exam.rb,
lib/studium/project/project.rb,
lib/studium/version/version.rb,
lib/studium/commandline/help.rb,
lib/studium/commandline/menu.rb,
lib/studium/commandline/misc.rb,
lib/studium/constants/editor.rb,
lib/studium/ects/ects_parser.rb,
lib/studium/ects/sum_of_ects.rb,
lib/studium/exams/next_exams.rb,
lib/studium/commandline/reset.rb,
lib/studium/constants/newline.rb,
lib/studium/constants/regexes.rb,
lib/studium/constants/unicode.rb,
lib/studium/ects/ects_scanner.rb,
lib/studium/encoding/encoding.rb,
lib/studium/exams/exam_topics.rb,
lib/studium/exams/solved/help.rb,
lib/studium/exams/solved/menu.rb,
lib/studium/ects/still_missing.rb,
lib/studium/exams/solved/reset.rb,
lib/studium/toplevel_methods/e.rb,
lib/studium/colours/use_colours.rb,
lib/studium/constants/namespace.rb,
lib/studium/exams/solved/solved.rb,
lib/studium/pdf/hexapdf_support.rb,
lib/studium/toplevel_methods/cd.rb,
lib/studium/base/src_dir_at_home.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/toplevel_methods/url.rb,
lib/studium/commandline/constants.rb,
lib/studium/constants/exam_topics.rb,
lib/studium/exams/exams_this_week.rb,
lib/studium/logging/log_directory.rb,
lib/studium/toplevel_methods/misc.rb,
lib/studium/toplevel_methods/opnn.rb,
lib/studium/toplevel_methods/time.rb,
lib/studium/base/minimal_prototype.rb,
lib/studium/commandline/initialize.rb,
lib/studium/ects/search_for_n_ects.rb,
lib/studium/ects/solved_ects/reset.rb,
lib/studium/exams/show_themes/menu.rb,
lib/studium/exams/show_themes/misc.rb,
lib/studium/exams/solved/constants.rb,
lib/studium/toplevel_methods/mkdir.rb,
lib/studium/constants/www_constants.rb,
lib/studium/ects/boku_ects_splitter.rb,
lib/studium/exams/show_themes/reset.rb,
lib/studium/exams/solved/initialize.rb,
lib/studium/parsers/parse_lva_dates.rb,
lib/studium/toplevel_methods/editor.rb,
lib/studium/toplevel_methods/report.rb,
lib/studium/toplevel_methods/spacer.rb,
lib/studium/constants/file_constants.rb,
lib/studium/ects/ects_per_university.rb,
lib/studium/ects/noch_zu_absolvieren.rb,
lib/studium/exams/exam_question/menu.rb,
lib/studium/exams/exam_question/misc.rb,
lib/studium/exams/upcoming_exams/run.rb,
lib/studium/exams/upload_exam_topics.rb,
lib/studium/toplevel_methods/cd_stud.rb,
lib/studium/toplevel_methods/esystem.rb,
lib/studium/toplevel_methods/regexes.rb,
lib/studium/toplevel_methods/runmode.rb,
lib/studium/utility_scripts/holidays.rb,
lib/studium/utility_scripts/new_stud.rb,
lib/studium/utility_scripts/priority.rb,
lib/studium/www/curriculum_displayer.rb,
lib/studium/constants/image_constants.rb,
lib/studium/exams/ask_random_question.rb,
lib/studium/exams/exam_question/reset.rb,
lib/studium/exams/exams_per_month/run.rb,
lib/studium/exams/show_next_exams_for.rb,
lib/studium/exams/upcoming_exams/help.rb,
lib/studium/exams/upcoming_exams/menu.rb,
lib/studium/exams/upcoming_exams/misc.rb,
lib/studium/toplevel_methods/download.rb,
lib/studium/toplevel_methods/pristine.rb,
lib/studium/utility_scripts/next_week.rb,
lib/studium/base/commandline_arguments.rb,
lib/studium/ects/solved_ects/constants.rb,
lib/studium/exams/exam_question/answer.rb,
lib/studium/exams/exams_per_month/help.rb,
lib/studium/exams/exams_per_month/menu.rb,
lib/studium/exams/exams_per_month/open.rb,
lib/studium/exams/repeat_last_question.rb,
lib/studium/exams/upcoming_exams/reset.rb,
lib/studium/logging/html_log_directory.rb,
lib/studium/toplevel_methods/rinstall2.rb,
lib/studium/toplevel_methods/save_file.rb,
lib/studium/toplevel_methods/word_wrap.rb,
lib/studium/utility_scripts/lva_nummer.rb,
lib/studium/exams/exams_per_month/reset.rb,
lib/studium/exams/last_exams/last_exams.rb,
lib/studium/exams/show_backlog_of_exams.rb,
lib/studium/exams/show_themes/constants.rb,
lib/studium/statistics/best_exam_months.rb,
lib/studium/toplevel_methods/unfinished.rb,
lib/studium/utility_scripts/audio_stats.rb,
lib/studium/utility_scripts/stundenplan.rb,
lib/studium/utility_scripts/ufind/ufind.rb,
lib/studium/curricula/mitteilungsblätter.rb,
lib/studium/ects/solved_ects/solved_ects.rb,
lib/studium/exams/exam_question/question.rb,
lib/studium/exams/new_questions_per_year.rb,
lib/studium/exams/upcoming_exams_dataset.rb,
lib/studium/toplevel_methods/is_on_roebe.rb,
lib/studium/toplevel_methods/lva_numbers.rb,
lib/studium/toplevel_methods/remove_tags.rb,
lib/studium/constants/last_question_asked.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_question/constants.rb,
lib/studium/exams/exams_per_month/colours.rb,
lib/studium/exams/exams_per_month/dataset.rb,
lib/studium/exams/n_exams_in_these_topics.rb,
lib/studium/exams/show_upcoming_exams/run.rb,
lib/studium/requires/require_ects_scripts.rb,
lib/studium/toplevel_methods/main_dataset.rb,
lib/studium/toplevel_methods/rti_conflict.rb,
lib/studium/utility_scripts/calendar/misc.rb,
lib/studium/utility_scripts/wochenplanung.rb,
lib/studium/constants/various_universities.rb,
lib/studium/curricula/curriculum_as_string.rb,
lib/studium/ects/ects_to_university_parser.rb,
lib/studium/exams/exams_per_month/sanitize.rb,
lib/studium/exams/open_exam_associated_url.rb,
lib/studium/exams/show_upcoming_exams/help.rb,
lib/studium/exams/show_upcoming_exams/menu.rb,
lib/studium/exams/upcoming_exams/constants.rb,
lib/studium/statistics/curriculum_comparer.rb,
lib/studium/toplevel_methods/average_grade.rb,
lib/studium/toplevel_methods/exams_dataset.rb,
lib/studium/toplevel_methods/verbose_truth.rb,
lib/studium/utility_scripts/auto_stud/misc.rb,
lib/studium/utility_scripts/semesterplaner.rb,
lib/studium/utility_scripts/weekday_parser.rb,
lib/studium/exams/exam_registration_at/help.rb,
lib/studium/exams/exam_registration_at/menu.rb,
lib/studium/exams/exams_per_month/constants.rb,
lib/studium/exams/passed_exams/passed_exams.rb,
lib/studium/exams/show_upcoming_exams/reset.rb,
lib/studium/exams/upcoming_exams/initialize.rb,
lib/studium/statistics/show_exam_statistics.rb,
lib/studium/utility_scripts/priority_points.rb,
lib/studium/utility_scripts/studienkennzahl.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/exams/exams_per_month/initialize.rb,
lib/studium/exams/show_upcoming_exams/report.rb,
lib/studium/toplevel_methods/remove_comments.rb,
lib/studium/utility_scripts/publish_my_exams.rb,
lib/studium/utility_scripts/studium_skeleton.rb,
lib/studium/utility_scripts/vorbesprechungen.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/base/directory_to_the_exam_topics.rb,
lib/studium/curricula/determine_curricula/run.rb,
lib/studium/ects/return_n_ects_from_this_file.rb,
lib/studium/exams/exam_question/exam_question.rb,
lib/studium/exams/exam_registration_at/report.rb,
lib/studium/exams/lectures_without_exam_entry.rb,
lib/studium/requires/require_the_exam_scripts.rb,
lib/studium/requires/require_toplevel_methods.rb,
lib/studium/toplevel_methods/all_passed_exams.rb,
lib/studium/toplevel_methods/available_topics.rb,
lib/studium/utility_scripts/calendar/calendar.rb,
lib/studium/utility_scripts/expand_time_range.rb,
lib/studium/utility_scripts/show_all_lectures.rb,
lib/studium/utility_scripts/show_lectures/run.rb,
lib/studium/utility_scripts/week_parser/reset.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/requires/require_the_logging_files.rb,
lib/studium/utility_scripts/lecture_downloader.rb,
lib/studium/utility_scripts/show_lectures/help.rb,
lib/studium/utility_scripts/show_lectures/menu.rb,
lib/studium/utility_scripts/show_lectures/misc.rb,
lib/studium/curricula/determine_curricula/reset.rb,
lib/studium/curricula/random_curriculum_creator.rb,
lib/studium/exams/show_upcoming_exams/constants.rb,
lib/studium/exams/upcoming_exams/upcoming_exams.rb,
lib/studium/toplevel_methods/ects_from_lectures.rb,
lib/studium/toplevel_methods/n_topics_available.rb,
lib/studium/utility_scripts/auto_stud/auto_stud.rb,
lib/studium/utility_scripts/auto_stud/constants.rb,
lib/studium/utility_scripts/display_lecture_url.rb,
lib/studium/utility_scripts/name_of_this_lva_id.rb,
lib/studium/utility_scripts/show_lectures/reset.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/exams/show_upcoming_exams/initialize.rb,
lib/studium/gui/gtk3/control_panel/control_panel.rb,
lib/studium/requires/require_the_utility_scripts.rb,
lib/studium/toplevel_methods/lecture_information.rb,
lib/studium/toplevel_methods/passed_this_exam_on.rb,
lib/studium/utility_scripts/auto_stud/initialize.rb,
lib/studium/utility_scripts/generate_spreadsheet.rb,
lib/studium/utility_scripts/passed_ects_per_year.rb,
lib/studium/ects/solved_ects_per_university/reset.rb,
lib/studium/exams/exams_per_month/exams_per_month.rb,
lib/studium/exams/exams_per_month/show_and_report.rb,
lib/studium/exams/upcoming_exams_at_the_boku/html.rb,
lib/studium/toplevel_methods/report_nquestions_of.rb,
lib/studium/toplevel_methods/report_solved_topics.rb,
lib/studium/toplevel_methods/return_directory_for.rb,
lib/studium/toplevel_methods/set_this_cd_alias_to.rb,
lib/studium/utility_scripts/clean_up_lecture_date.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/exams/questions_solved_from_day_to_day.rb,
lib/studium/toplevel_methods/n_questions_available.rb,
lib/studium/utility_scripts/regexes/generate_regex.rb,
lib/studium/curricula/determine_curricula/constants.rb,
lib/studium/ects/show_passed_credits_per_curriculum.rb,
lib/studium/pdf/create_pdf_file_for_this_exam_topic.rb,
lib/studium/toplevel_methods/yes_or_no_ja_oder_nein.rb,
lib/studium/utility_scripts/find_duplicate_lectures.rb,
lib/studium/utility_scripts/show_lectures/constants.rb,
lib/studium/utility_scripts/show_outdated_lva_dates.rb,
lib/studium/utility_scripts/week_parser/week_parser.rb,
lib/studium/curricula/determine_curricula/initialize.rb,
lib/studium/toplevel_methods/curriculum_related_code.rb,
lib/studium/toplevel_methods/name_of_this_curriculum.rb,
lib/studium/utility_scripts/show_lectures/initialize.rb,
lib/studium/check_and_sanitize/missing_priority_entry.rb,
lib/studium/constants/return_file_for_this_curriculum.rb,
lib/studium/curricula/curriculum_module_displayer/run.rb,
lib/studium/ects/show_completed_ects_in_all_curricula.rb,
lib/studium/exams/mandatory_continuous_assessment/run.rb,
lib/studium/exams/solve_all_questions_from_this_topic.rb,
lib/studium/toplevel_methods/methods_related_to_files.rb,
lib/studium/toplevel_methods/registered_for_this_exam.rb,
lib/studium/toplevel_methods/total_ects_points_passed.rb,
lib/studium/utility_scripts/show_lectures_on_this_day.rb,
lib/studium/curricula/curriculum_module_displayer/menu.rb,
lib/studium/curricula/show_lectures_of_this_curriculum.rb,
lib/studium/exams/mandatory_continuous_assessment/help.rb,
lib/studium/exams/mandatory_continuous_assessment/menu.rb,
lib/studium/exams/mandatory_continuous_assessment/misc.rb,
lib/studium/exams/upcoming_exams_at_the_boku/constants.rb,
lib/studium/toplevel_methods/return_last_exam_question.rb,
lib/studium/toplevel_methods/sanitize_this_theme_topic.rb,
lib/studium/universities_in_austria/boku/three_pillars.rb,
lib/studium/curricula/curriculum_module_displayer/reset.rb,
lib/studium/exams/ask_exam_from_the_upcoming_exams_pool.rb,
lib/studium/exams/mandatory_continuous_assessment/reset.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/curricula/modules/display_on_the_commandline.rb,
lib/studium/gui/gtk3/ask_exam_question/ask_exam_question.rb,
lib/studium/gui/gtk3/curriculum_viewer/curriculum_viewer.rb,
lib/studium/gui/gtk3/expand_time_range/expand_time_range.rb,
lib/studium/logging/ensure_that_the_log_directory_exists.rb,
lib/studium/toplevel_methods/already_solved_this_lecture.rb,
lib/studium/toplevel_methods/is_this_exam_topic_included.rb,
lib/studium/toplevel_methods/is_this_homepage_registered.rb,
lib/studium/utility_scripts/scrape_remote_university_url.rb,
lib/studium/utility_scripts/show_solved_english_lectures.rb,
lib/studium/curricula/n_percent_solved_in_this_curriculum.rb,
lib/studium/exams/mandatory_continuous_assessment/compare.rb,
lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb,
lib/studium/gui/libui/ask_exam_question/ask_exam_question.rb,
lib/studium/toplevel_methods/report_n_ects_per_university.rb,
lib/studium/toplevel_methods/return_all_exams_on_this_day.rb,
lib/studium/toplevel_methods/when_was_this_lecture_passed.rb,
lib/studium/utility_scripts/prepare_individual_curriculum.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/toplevel_methods/filter_away_invalid_questions.rb,
lib/studium/utility_scripts/set_aliases_based_on_this_file.rb,
lib/studium/utility_scripts/show_lva_dates_of_this_lecture.rb,
lib/studium/curricula/curriculum_module_displayer/constants.rb,
lib/studium/exams/exam_registration_at/exam_registration_at.rb,
lib/studium/exams/mandatory_continuous_assessment/constants.rb,
lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb,
lib/studium/toplevel_methods/has_this_module_been_completed.rb,
lib/studium/toplevel_methods/return_proper_university_image.rb,
lib/studium/utility_scripts/create_database/create_database.rb,
lib/studium/utility_scripts/foreign_language_percentage/run.rb,
lib/studium/utility_scripts/show_all_passed_master_lectures.rb,
lib/studium/curricula/curriculum_module_displayer/initialize.rb,
lib/studium/ects/n_ects_points_in_mandatory_presence_courses.rb,
lib/studium/exams/mandatory_continuous_assessment/initialize.rb,
lib/studium/gui/gtk2/show_upcoming_exams/show_upcoming_exams.rb,
lib/studium/gui/gtk3/ects_per_university/ects_per_university.rb,
lib/studium/gui/gtk3/lecture_information/lecture_information.rb,
lib/studium/gui/gtk3/show_upcoming_exams/show_upcoming_exams.rb,
lib/studium/universities_in_austria/boku/boku_öffnungszeiten.rb,
lib/studium/utility_scripts/foreign_language_percentage/help.rb,
lib/studium/utility_scripts/foreign_language_percentage/menu.rb,
lib/studium/utility_scripts/mandatory_lectures_in_this_month.rb,
lib/studium/curricula/determine_curricula/determine_curricula.rb,
lib/studium/toplevel_methods/set_last_file_for_exam_questions.rb,
lib/studium/utility_scripts/finished_exams_at_this_university.rb,
lib/studium/utility_scripts/foreign_language_percentage/reset.rb,
lib/studium/utility_scripts/report_outdated_timetable_entries.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/run.rb,
lib/studium/curricula/show_lectures_of_this_curriculum_id/menu.rb,
lib/studium/curricula/show_lectures_of_this_curriculum_id/misc.rb,
lib/studium/exams/open_last_exam_question_asked_file/constants.rb,
lib/studium/gui/gtk3/exam_question_widget/exam_question_widget.rb,
lib/studium/gui/shared_code/control_panel/control_panel_module.rb,
lib/studium/toplevel_methods/return_local_path_of_this_pwdstud.rb,
lib/studium/toplevel_methods/return_lva_number_of_this_lecture.rb,
lib/studium/utility_scripts/foreign_language_percentage/report.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/help.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/menu.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/misc.rb,
lib/studium/curricula/show_lectures_of_this_curriculum_id/reset.rb,
lib/studium/exams/open_last_exam_question_asked_file/initialize.rb,
lib/studium/statistics/determine_exam_statistics_from_this_file.rb,
lib/studium/toplevel_methods/is_this_lecture_a_practical_course.rb,
lib/studium/toplevel_methods/return_dataset_for_this_exam_topic.rb,
lib/studium/toplevel_methods/save_all_registered_upcoming_exams.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/lectures_attributed_to_universities.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/reset.rb,
lib/studium/utility_scripts/show_lectures_fitting_to_this_theme.rb,
lib/studium/curricula/show_lectures_of_this_curriculum_id/report.rb,
lib/studium/toplevel_methods/show_passed_exams_having_this_grade.rb,
lib/studium/toplevel_methods/try_to_guess_the_most_likely_lva_id.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/report.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/run.rb,
lib/studium/check_and_sanitize/check_the_lecture_information_file.rb,
lib/studium/curricula/curriculum_module_displayer/show_and_report.rb,
lib/studium/exams/mandatory_continuous_assessment/show_and_report.rb,
lib/studium/toplevel_methods/handle_archive_of_the_exam_questions.rb,
lib/studium/utility_scripts/foreign_language_percentage/constants.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/help.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/html.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/menu.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/misc.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/show.rb,
lib/studium/utility_scripts/foreign_language_percentage/initialize.rb,
lib/studium/utility_scripts/return_remote_homepage_of_this_lecture.rb,
lib/studium/utility_scripts/show_lectures_fitting_to_this_language.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/reset.rb,
lib/studium/curricula/determine_elective_courses_in_this_curriculum.rb,
lib/studium/curricula/show_lectures_of_this_curriculum_id/constants.rb,
lib/studium/statistics/report_how_many_exam_questions_were_answered.rb,
lib/studium/toplevel_methods/read_delay_between_questions_from_file.rb,
lib/studium/toplevel_methods/return_div_timetable_of_upcoming_exams.rb,
lib/studium/toplevel_methods/return_hash_of_already_solved_lectures.rb,
lib/studium/toplevel_methods/return_theme_of_the_next_upcoming_exam.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/constants.rb,
lib/studium/utility_scripts/steop/steop_lectures_in_this_curriculum.rb,
lib/studium/utility_scripts/upcoming_mandatory_presence_courses/run.rb,
lib/studium/curricula/show_lectures_of_this_curriculum_id/initialize.rb,
lib/studium/toplevel_methods/return_n_percent_solved_from_this_topic.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/initialize.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/konsole.rb,
lib/studium/exams/ask_question_from_any_of_the_still_missing_lectures.rb,
lib/studium/utility_scripts/currently_participating_in_these_lectures.rb,
lib/studium/utility_scripts/return_remote_moodle_link_of_this_lecture.rb,
lib/studium/ects/solved_ects_per_university/solved_ects_per_university.rb,
lib/studium/gui/shared_code/expand_time_range/expand_time_range_module.rb,
lib/studium/toplevel_methods/determine_local_directory_of_this_lecture.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/constants.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/determine.rb,
lib/studium/colours/use_this_colour_for_exam_questions_and_exam_answers.rb,
lib/studium/exams/upcoming_exams_at_the_boku/upcoming_exams_at_the_boku.rb,
lib/studium/toplevel_methods/report_attributed_lectures_to_universities.rb,
lib/studium/utility_scripts/show_lectures_on_the_commandline/initialize.rb,
lib/studium/toplevel_methods/does_this_course_require_mandatory_presence.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/toplevel_methods/is_this_lecture_registered_in_upcoming_exams.rb,
lib/studium/utility_scripts/upcoming_mandatory_presence_courses/constants.rb,
lib/studium/exams/show_upcoming_exams/consider_autogenerating_exam_aliases.rb,
lib/studium/gui/shared_code/show_upcoming_exams/show_upcoming_exams_module.rb,
lib/studium/toplevel_methods/remove_exam_topics_that_were_already_answered.rb,
lib/studium/toplevel_methods/return_question_answer_string_from_this_topic.rb,
lib/studium/toplevel_methods/save_this_delay_between_questions_and_answers.rb,
lib/studium/curricula/show_solved_percentage_among_the_registered_curricula.rb,
lib/studium/toplevel_methods/report_all_lectures_matching_this_lecture_type.rb,
lib/studium/check_and_sanitize/sanitize_this_string_containing_the_lva_dates.rb,
lib/studium/gui/gtk3/information_about_a_lecture/information_about_a_lecture.rb,
lib/studium/toplevel_methods/return_n_questions_were_answered_for_this_topic.rb,
lib/studium/toplevel_methods/try_to_return_the_expanded_name_of_this_lecture.rb,
lib/studium/utility_scripts/open_last_exam_question_url_link_via_the_browser.rb,
lib/studium/utility_scripts/report_total_amount_of_questions_and_answers_for.rb,
lib/studium/curricula/curriculum_module_displayer/curriculum_module_displayer.rb,
lib/studium/exams/mandatory_continuous_assessment/set_title_of_the_curriculum.rb,
lib/studium/toplevel_methods/copy_the_last_backup_of_file_lecture_information.rb,
lib/studium/toplevel_methods/report_n_entries_in_the_file_lecture_information.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/exams/exam_statistics_from_this_file/exam_statistics_from_this_file.rb,
lib/studium/toplevel_methods/sanitized_dataset_from_file_passed_exams_per_month.rb,
lib/studium/universities_in_austria/boku/boku_biotechnology_all_master_lectures.rb,
lib/studium/statistics/report_how_many_ects_points_per_curriculum_were_completed.rb,
lib/studium/toplevel_methods/calculate_prüfungsimmanente_lectures_from_this_file.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/utility_scripts/foreign_language_percentage/foreign_language_percentage.rb,
lib/studium/utility_scripts/regexes/generate_regexes_for_the_available_moodle_links.rb,
lib/studium/utility_scripts/show_conflicting_lva_lectures/do_report_the_upcoming_exams.rb,
lib/studium/utility_scripts/show_descriptions_of_lectures_belonging_to_this_module/run.rb,
lib/studium/utility_scripts/show_the_associated_lectures_for_the_individual_curriculum.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/utility_scripts/show_lectures_on_the_commandline/sorted_individual_curricula.rb,
lib/studium/gui/shared_code/information_about_a_lecture/information_about_a_lecture_module.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/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/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/toplevel_methods/has_this_lecture_been_already_passed_but_the_id_was_changed_lateron.rb,
lib/studium/utility_scripts/attribute_lecture_to_curriculum/attribute_boku_lecture_to_curriculum.rb,
lib/studium/toplevel_methods/note_down_the_start_time_and_how_many_exams_have_been_already_solved.rb,
lib/studium/utility_scripts/upcoming_mandatory_presence_courses/upcoming_mandatory_presence_courses.rb,
lib/studium/utility_scripts/report_whether_this_lecture_is_registered_in_the_file_lecture_information.rb,
lib/studium/utility_scripts/resolve_practical_courses_date_conflicts/resolve_practical_courses_date_conflicts.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

Overview

#

require 'studium/toplevel_methods/note_down_the_start_time_and_how_many_exams_have_been_already_solved.rb'

#

Defined Under Namespace

Modules: BOKU, Colours, Curricula, Exams, GUI, Log, Statistics, TechnicalUniversityOfVienna Classes: Afterburn, AskQuestionFromAlias, AskQuestionFromGroupedThemes, AskQuestionFromLastTopic, AskRandomQuestion, AttributeBokuLectureToCurriculum, AttributeLecturesToUniversity, AudioStats, AutoStud, AutopurgeThisLectureDate, Base, BokuBiotechnologyAllMasterLectures, BokuEctsSplitter, Calendar, CheckCurriculumForCorrectSeparationOfBachelorAndMaster, CheckDescriptionOfTheseLectures, CheckForAllExamTopicsBeingRegistered, CheckTheLectureInformationFile, CleanUpLectureDate, Commandline, CreateDatabase, CreatePdfFileForThisExamTopic, CurrentLecturesBelongingToBothBachelorAndMasterCurriculum, CurrentlyParticipatingInTheseLectures, Curriculum, CurriculumComparer, CurriculumDisplayer, CurriculumModuleDisplayer, DetermineCurricula, DisplayLectureUrl, EctsParser, EctsPerUniversity, EctsScanner, EctsToUniversityParser, Erledigt, ExamsPerMonth, ExamsThisWeek, ExpandTimeRange, FindDuplicateLectures, FinishedExamsAtThisUniversity, FixExamDates, ForeignLanguagePercentage, GenerateRegex, GenerateRegexesForTheAvailableMoodleLinks, GenerateRegexesForTheRegisteredLectures, GenerateSpreadsheet, Holidays, IndividualResolvePracticalCoursesDateConflicts, LastEntryIsCurriculum, LectureDownloader, LecturesAttributedToUniversities, LvaNummer, MandatoryLecturesInThisMonth, MoveTheLastExamQuestionToTheTopOfTheFile, NEctsInTheseLectures, NExamsInTheseTopics, NameOfThisLvaId, NewStud, NextWeek, NochZuAbsolvieren, OpenLastExamQuestionUrlLinkViaTheBrowser, ParseLvaDates, PassedEctsPerYear, PassedPrüfungsimmanenteCourses, PrepareIndividualCurriculum, Priority, PriorityPoints, RandomCurriculumCreator, ReportOutdatedTimetableEntries, ReportTotalAmountOfQuestionsAndAnswersFor, ReportWhetherThisLectureIsRegisteredInTheFileLectureInformation, ResolvePracticalCoursesDateConflicts, ReturnNEctsFromThisUrl, SanitizeThisStringContainingTheLvaDates, ScrapeRemoteUniversityUrl, SearchFor_nECTS, SemesterContainer, Semesterplaner, SetAliasesBasedOnThisFile, ShowAllLectures, ShowAllPassedExamsOfThisUniversity, ShowAllPassedMasterLectures, ShowAllSteopLectures, ShowBacklogOfExams, ShowCompletedEctsInAllCurricula, ShowConflictingLvaLectures, ShowDescriptionsOfLecturesBelongingToThisModule, ShowLecturers, ShowLectures, ShowLecturesFittingToThisLanguage, ShowLecturesFittingToThisTheme, ShowLecturesOfThisCurriculum, ShowLecturesOfThisCurriculumId, ShowLecturesOnTheCommandline, ShowLecturesOnThisDay, ShowLvaDatesOfThisLecture, ShowNextExamsFor, ShowOutdatedLvaDates, ShowPassedCreditsPerCurriculum, ShowSolvedEnglishLectures, ShowSolvedPercentageAmongTheRegisteredCurricula, ShowTheAssociatedLecturesForTheIndividualCurriculum, ShowUpcomingExams, SimpleTotalEctsPoints, Sinatra, SolveAllQuestionsFromThisTopic, SolvedEcts, SolvedEctsPerUniversity, SortedIndividualCurricula, SteopLecturesInThisCurriculum, SteopLvaDates, StillMissing, Studienkennzahl, StudiumSkeleton, Stundenplan, SumOfEcts, SyncStudiumRelevantEntriesOneLevelDownwards, Ufind, UnsolveAllQuestionsFromThisTopic, UpcomingMandatoryPresenceCourses, Vorbesprechungen, WeekParser, WeekdayParser, WeeklySchedule, Wochenplanung

Constant Summary collapse

T =
#

T

#
"\t"
APPEND_THIS =
#

APPEND_THIS

#
'[]'
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

#
''
ALPHABET =
#

ALPHABET

Keep a reference to the alphabet.

#
('a'..'z').to_a
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
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
CSV_DIRECTORY =
#

CSV_DIRECTORY

Pointer to the csv/ subdirectory of the studium project.

#
"#{::Studium.project_base_directory?}csv/"
FILE_DAILY_QUESTIONS_SOLVED =

else use this default

"#{::Studium.log_dir?}daily_questions_solved.yml"
ARRAY_REGISTERED_CURRICULA =
#

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.

#
%i(

  bachelor_master_vektoren

  bachelor_vector
  bachelor_genetics
  bachelor_molekulare_biologie
  bachelor_lmbt
  bachelor_agrarwissenschaften
  bachelor_botanik
  bachelor_informatik
  bachelor_medizinische_informatik
  bachelor_technische_chemie
  bachelor_chemie
  bachelor_pharmazie
  bachelor_molekularbiologie_graz
  bachelor_nutrition_science
  bachelor_bioinformatik_und_molekulare_biotechnologie
  bachelor_biologische_informatik
  bachelor_dummy_curriculum

  master_vector
  master_immuno
  master_molbio
  master_bioinformatik
  master_biotech
  master_tu_vienna_biotechnology
  master_genetik_und_entwicklungsbiologie
  master_biologische_chemie
  master_pharmazie

)
ARRAY_TITLE_OF_THE_INDIVIDUAL_CURRICULA =
#

ARRAY_TITLE_OF_THE_INDIVIDUAL_CURRICULA

This constant is mostly on an ad-hoc basis in that we will register the title of all individual curricula. This can then be used by Studium::DetermineCurricula in particular to determine which courses ought to be shown.

#
[
  'Bachelorcurriculum Informatik und molekulare Biologie',
  'Bachelorcurriculum (Bio)Informatik und molekulare Biotechnologie, unter Berücksichtigung medizinisch-immunologischer Aspekte',
  'Bachelorcurriculum Vector-based strategies in Life Sciences, Molecular Medicine and Biotechnology'
]
ONE_MINUTE =
#

ONE_MINUTE

#
60
ONE_HOUR =
#

ONE_HOUR

#
ONE_MINUTE * 60
ONE_DAY =
#

ONE_DAY

#
ONE_HOUR * 24
TWO_DAYS =
#

TWO_DAYS

#
ONE_DAY * 2
THREE_DAYS =
#

THREE_DAYS

#
ONE_DAY * 3
FOUR_DAYS =
#

FOUR_DAYS

#
ONE_DAY * 4
FIVE_DAYS =
#

FIVE_DAYS

#
ONE_DAY * 5
SIX_DAYS =
#

SIX_DAYS

#
ONE_DAY * 6
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
GERMAN_WEEK_NAMES =
#

GERMAN_WEEK_NAMES

#
{
  'Mo' => 'Montag',
  'Di' => 'Dienstag',
  'Mi' => 'Mittwoch',
  'Do' => 'Donnerstag',
  'Fr' => 'Freitag',
  'Sa' => 'Samstag',
  'So' => 'Sonntag'
}
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'
}
MONTH_NAME_TO_MONTH_NUMBER =
#

MONTH_NAME_TO_MONTH_NUMBER

And reverse the above Array as well.

#
MONTH_NUMBER_TO_MONTH_NAME.invert
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
)
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
ARRAY_ALL_KNOWN_DAYS_OF_THE_WEEK =
#

ARRAY_ALL_KNOWN_DAYS_OF_THE_WEEK

#
[
  :mo, :di, :mi, :do, :fr, :sa, :so
]
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
DEFAULT_DELAY =
#

DEFAULT_DELAY

#
3.0
USERS_X =
#

USERS_X

#
'/home/x/'
ROEBE_STUDIUM_DIR =

else hardcode it.

"#{USERS_X}studium/"
STUD =

STUD

ROEBE_STUDIUM_DIR
STUDIUM =

STUDIUM

ROEBE_STUDIUM_DIR
LOCAL_STUDIUM_DIR =
#

LOCAL_STUDIUM_DIR

#
ROEBE_STUDIUM_DIR
MY_DATA =
"#{USERS_X}data/"
EXAMS_RESULT =
#

EXAMS_RESULT

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

RUBY_SRC_DIR

Hardcoded path - but only relevant for my home system.

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

RUBY_SRC_STUDIUM

This constant may point to e. g.:

/home/x/DATA/PROGRAMMING_LANGUAGES/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/"
SCI =

Hence we hardcode a safe default.

"#{USERS_X}DATA/science/"
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/"
STUDIUM_YAML_DIR =
#

STUDIUM_YAML_DIR

This constant depends on the constant STUDIUM_DIR.

The value on my system will expand to:

/home/x/studium/yaml/
#
"#{ROEBE_STUDIUM_DIR}YAML/"
STUDIUM_YAML_DIRECTORY =

STUDIUM_YAML_DIRECTORY

STUDIUM_YAML_DIR
FILE_BROWSER =
#

FILE_BROWSER

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

else hardcoded it to palemoon.

'palemoon'
PROJECT_YAML_DIRECTORY =
#

PROJECT_YAML_DIRECTORY

The yaml directory of the exams subcomponent of the studium project comes next. For this to work, we must pull in the file where the constant PROJECT_BASE_DIRECTORY is defined. See the top-level require for this.

#
"#{project_base_dir?}yaml/"
PROJECT_CURRICULA_YAML_DIRECTORY =
#

PROJECT_CURRICULA_YAML_DIRECTORY

Specify where we keep curricula in this project.

#
"#{PROJECT_YAML_DIRECTORY}curricula/"
VERSION =
#

VERSION

#
'0.11.10'
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

#
'30.04.2022'
URL_TO_THE_DOCUMENTATION =
#

Studium::URL_TO_THE_DOCUMENTATION

#
"https://www.rubydoc.info/gems/#{self.to_s.downcase}/#{VERSION}"
USE_THIS_EDITOR =
'bluefish'
N =
#

N

#
"\n"
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]+?>/
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
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

On my home system this file resides at:

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

NAMESPACE

#
inspect
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/"
EXAM_TOPICS =
#

EXAM_TOPICS

This constant will store where the exam topics are stored on a given computer system.

The path will be relative to the PROJECT_BASE_DIRECTORY constant.

Note that this is a constant though - it is recommended to use the @exam_topics variable instead if you need the variable to be dynamic.

This may, for example, have a value such as:

/Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/studium/exam_topics/
#
"#{Studium.project_base_directory?}exam_topics/"
DIRECTORY_TO_THE_EXAM_TOPICS =
#

DIRECTORY_TO_THE_EXAM_TOPICS

#
EXAM_TOPICS
EXAM_TOPICS_DIRECTORY =
#

EXAM_TOPICS_DIRECTORY

Same as above.

#
EXAM_TOPICS
DIRECTORY_EXAM_TOPICS =
#

DIRECTORY_EXAM_TOPICS

Determine where we can find the exam topics, as constant.

#
MY_EXAM_TOPICS
DAY_NAMES =
#

DAY_NAMES

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

TIMETABLE_DIV

#
'<div style="font-size: 1.2em; font-family: monospace; padding:0.25em; '\
'border:4px dotted slateblue; margin-bottom:1.75em;">'
BR =
#

BR

This simply refers to
aka the breakline tag.

#
'<br>'
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
FILE_TEN_ALIASES_YML =
#

FILE_TEN_ALIASES_YML

#
"#{log_dir?}ten_aliases.yml"
FILE_TWENTY_ALIASES_YML =
#

FILE_TWENTY_ALIASES_YML

#
"#{log_dir?}twenty_aliases.yml"
FILE_EXAM_TOPICS_ARCHIVE =
#

FILE_EXAM_TOPICS_ARCHIVE

#
'exam_topics.tar.xz'
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"
FILE_CUSTOM_COLOURS =
#

FILE_CUSTOM_COLOURS

#
"#{yaml_directory?}custom_colours.yml"
FILE_EDITOR =
#

FILE_EDITOR

#
"#{yaml_directory?}editor.yml"
FILE_LAST_TOPIC =
#

FILE_LAST_TOPIC

This file keeps track of the last topic used.

#
log_dir+'last_topic.md'
FILE_EXAM_STATISTICS =
#

FILE_EXAM_STATISTICS

Where to keep our statistics.

#
"#{log_dir}exam_statistics"
FILE_DIRECTORY_TO_THE_EXAM_TOPICS =
#

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
#
"#{PROJECT_YAML_DIRECTORY}directory_to_the_exam_topics.yml"
FILE_PASSED_EXAMS_PER_MONTH =
#

ExamsPerMonth::FILE_PASSED_EXAMS_PER_MONTH

This constant will hold the .csv dataset for my exams.

bl $STUDIUM/YAML/passed_exams_per_month.csv
#
STUDIUM_YAML_DIR+'passed_exams_per_month.csv'
PASSED_EXAMS_PER_MONTH =
FILE_PASSED_EXAMS_PER_MONTH
FILE_SOMMERSEMESTER_LECTURES_AT_THE_UNIVERSITY_OF_VIENNA =
#

FILE_SOMMERSEMESTER_LECTURES_AT_THE_UNIVERSITY_OF_VIENNA

bl /Depot/Studium/sommersemester_lectures_at_the_university_of_vienna.yml

#
log_dir+'sommersemester_lectures_at_the_university_of_vienna.yml'
FILE_CURRICULA_ASSIGNED_EXAMS =
#

FILE_CURRICULA_ASSIGNED_EXAMS

#
'home/x/studium/yaml/curricula_assigned_exams.yml'
FILE_CURRICULA =
#

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.

#
"#{Studium.yaml_directory?}curricula.yml"
FILE_IMPORTANT_EXAMS =
#

FILE_IMPORTANT_EXAMS

#
"#{PROJECT_YAML_DIRECTORY}important_exams.yml"
FILE_UPCOMING_PRACTICAL_COURSES =
#

FILE_UPCOMING_PRACTICAL_COURSES

This file is for a .yml file that keeps track of upcoming practical courses. In particular, this may be helpful in order to determine which practical courses may overlap with one another.

#
"#{STUDIUM_YAML_DIR}WS2017/upcoming_practical_courses.yml"
FILE_MAX_STATS =
#

FILE_MAX_STATS

#
"#{PROJECT_YAML_DIRECTORY}max_stats.yml"
FILE_ALLOWED_THEMES_FOR_EXAMS =
#

FILE_ALLOWED_THEMES_FOR_EXAMS

#
"#{PROJECT_YAML_DIRECTORY}allowed_themes_for_exams.yml"
FILE_LECTURE_INFORMATION =
#

FILE_LECTURE_INFORMATION

This is a hardcoded constant. It is better to not use it, though, and instead use the toplevel instance variable called

#
"#{PROJECT_YAML_DIRECTORY}lecture_information.yml"
FILE_LECTURE_ALIASES =
#

FILE_LECTURE_ALIASES

#
"#{PROJECT_YAML_DIRECTORY}lecture_aliases.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_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_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}"\
"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_master_individuelles_studium_noch_ohne_namen_an_der_TU_Wien.yml"
FILE_HOLIDAYS =
#

FILE_HOLIDAYS

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

#
"#{PROJECT_YAML_DIRECTORY}holidays.yml"
FILE_GROUPED_THEMES =
#

FILE_GROUPED_THEMES

bl $RSRC/studium/lib/studium/yaml/grouped_themes.yml

#
"#{Studium.yaml_directory?}grouped_themes.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_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_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_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_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_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_bioinformatik_066875.yml"
FILE_BACHELOR_MEDIZINISCHE_INFORMATIK_CURRICULUM =
#

FILE_BACHELOR_MEDIZINISCHE_INFORMATIK_CURRICULUM

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"bachelor_medizinische_informatik_033533.yml"
FILE_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN =
#

FILE_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"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_BACHELOR_ECOLOGY =
#

FILE_BACHELOR_ECOLOGY (ecology tag)

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"bachelor_biologie_ecology_033630.yml"
FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE =
#

FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE

Has the number 066877.

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"master_genetik_und_entwicklungsbiologie_066877.yml"
FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE_CURRICULUM =
FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE
FILE_ALL_REGISTERED_UPCOMING_EXAMS =
#

FILE_ALL_REGISTERED_UPCOMING_EXAMS

The path may be like this:

/root/Studium/all_registered_upcoming_exams.yml
#
"#{log_dir?}all_registered_upcoming_exams.yml"
FILE_MASTER_LMBT =
#

FILE_MASTER_LMBT

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"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_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_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_informatik_033521.yml"
FILE_MASTER_BIOLOGISCHE_CHEMIE_CURRICULUM =
#

FILE_MASTER_BIOLOGISCHE_CHEMIE_CURRICULUM

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"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_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_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_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_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_technische_chemie_066490.yml"
TUWIEN_MASTER_BIOTECHNOLOGY =
FILE_TUWIEN_MASTER_BIOTECHNOLOGY_CURRICULUM
FILE_MASTER_TUVIENNA_BIOTECHNOLOGY =
FILE_TUWIEN_MASTER_BIOTECHNOLOGY_CURRICULUM
FILE_LAST_RECORDED_START_TIME =
#

FILE_LAST_RECORDED_START_TIME

#
"#{Studium.log_dir?}last_recorded_start_time.md"
FILE_BACHELOR_TECHNISCHE_CHEMIE_CURRICULUM =
#

FILE_BACHELOR_TECHNISCHE_CHEMIE_CURRICULUM

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"bachelor_technische_chemie_033290.yml"
FILE_BACHELOR_VERFAHRENSTECHNIK_CURRICULUM =
#

FILE_BACHELOR_VERFAHRENSTECHNIK_CURRICULUM

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"bachelor_verfahrenstechnik_033273.yml"
FILE_BACHELOR_MOLEKULARBIOLOGIE_GRAZ_CURRICULUM =
#

FILE_BACHELOR_MOLEKULARBIOLOGIE_GRAZ_CURRICULUM

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"bachelor_molekularbiologie_033665.yml"
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_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_BACKLOG_OF_EXAMS =
#

FILE_BACKLOG_OF_EXAMS

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

FILE_MAIN_TOPIC

The main_topic.yml file contains our “afterburn” exam-topics.

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

FILE_STATISTICS

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

#
"#{Studium.yaml_directory?}statistics.yml"
FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE =
#

FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"bachelor_biologie_basisblock_033630.yml"
UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE =
FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE
FILE_BACHELOR_BIOLOGIE_BASISBLOCK =
FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE
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_BACHELOR_VEKTORX =
#

FILE_BACHELOR_VEKTORX (vector tag, vektor tag)

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

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"bachelor_vector_based_strategies_in_life_sciences_molecular_medicine_and_biotechnology"\
".yml"
BACHELOR_MOLEKULARSIMULATORISCHE_VEKTOREN =

BACHELOR_MOLEKULARSIMULATORISCHE_VEKTOREN

FILE_BACHELOR_VEKTORX
FILE_BACHELOR_VECTOR =

FILE_BACHELOR_VECTOR

FILE_BACHELOR_VEKTORX
FILE_BACHELOR_VEKTORSYSTEME =

FILE_BACHELOR_VEKTORSYSTEME

FILE_BACHELOR_VEKTORX
FILE_BACHELOR_MOLEKULARSIMULATORISCHE_VEKTOREN =

FILE_BACHELOR_MOLEKULARSIMULATORISCHE_VEKTOREN

FILE_BACHELOR_VEKTORX
FILE_BACHELOR =

FILE_BACHELOR

FILE_BACHELOR_VEKTORX
FILE_INDIVIDUAL_BACHELOR_CURRICULUM =

FILE_INDIVIDUAL_BACHELOR_CURRICULUM

FILE_BACHELOR_VEKTORX
FILE_BACHELOR_VEKTOR_CURRICULUM =

FILE_BACHELOR_VEKTOR_CURRICULUM

FILE_BACHELOR_VEKTORX
FILE_MASTER_VEKTORX =
#

FILE_MASTER_VEKTORX

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

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"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_ktww_033231.yml"
FILE_BACHELOR_DUMMY_CURRICULUM =
#

FILE_BACHELOR_DUMMY_CURRICULUM

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"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}"\
"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_wirtschaftsinformatik_033526.yml"
FILE_BACHELOR_BIOINFORMATIK_UND_MOLEKULARE_BIOTECHNOLOGIE_UNTER_BERÜCKSICHTIGUNG_MEDIZINISCH_IMMUNOLOGISCHER_ASPEKTE_CURRICULUM =
#

FILE_BACHELOR_BIOINFORMATIK_UND_MOLEKULARE_BIOTECHNOLOGIE_UNTER_BERÜCKSICHTIGUNG_MEDIZINISCH_IMMUNOLOGISCHER_ASPEKTE_CURRICULUM

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"bachelor_bioinformatik_und_molekulare_biotechnologie_unter_berücksichtigung_medizinisch_immunologischer_aspekte.yml"
FILE_BACHELOR_INFORMATIK_UND_MOLEKULARE_BIOLOGIE =
#

FILE_BACHELOR_INFORMATIK_UND_MOLEKULARE_BIOLOGIE

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"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_elektrotechnik_und_informationstechnik_033235.yml"
FILE_BACHELOR_FORSTWIRTSCHAFT_CURRICULUM =
#

FILE_BACHELOR_FORSTWIRTSCHAFT_CURRICULUM

#
"#{PROJECT_CURRICULA_YAML_DIRECTORY}"\
"bachelor_forstwirtschaft_033225.yml"
ARRAY_REGISTERED_CURRICULA_FILES =
#

ARRAY_REGISTERED_CURRICULA_FILES

#
[
  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_VEKTORX,
  FILE_MASTER_VEKTORX,
  FILE_BACHELOR_BOKU_KTWW_CURRICULUM,
  FILE_MASTER_BIOINFORMATICS_AND_MOLECULAR_BIOTECHNOLOGY,
  FILE_BACHELOR_TUWIEN_WIRTSCHAFTSINFORMATIK_CURRICULUM,
  FILE_BACHELOR_BIOINFORMATIK_UND_MOLEKULARE_BIOTECHNOLOGIE_UNTER_BERÜCKSICHTIGUNG_MEDIZINISCH_IMMUNOLOGISCHER_ASPEKTE_CURRICULUM,
  FILE_BACHELOR_INFORMATIK_UND_MOLEKULARE_BIOLOGIE,
  FILE_BACHELOR_TUWIEN_ELEKTROTECHNIK_UND_INFORMATIONSTECHNIK_CURRICULUM,
  FILE_BACHELOR_FORSTWIRTSCHAFT_CURRICULUM
]
FILE_FOR_EXAM_QUESTIONS =
#

FILE_FOR_EXAM_QUESTIONS

This constant may be found at e. g.:

/Programs/Ruby/2.6.0/lib/ruby/site_ruby/2.6.0/studium/yaml/file_for_last_exam_question.yml
#
"#{yaml_directory?}file_for_last_exam_question.yml"
FILE_CURRENT_EXAMS =
#

FILE_CURRENT_EXAMS

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.

#
"#{Studium::PROJECT_YAML_DIRECTORY}current_exams.yml"
CURRENT_EXAMS =
FILE_CURRENT_EXAMS
REGEX_TO_OBTAIN_THE_FULL_LINE_FROM_FILE_EXAMS =
#

REGEX_TO_OBTAIN_THE_FULL_LINE_FROM_FILE_EXAMS

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

IMG_DIRECTORY

#
'/home/x/data/images/'
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 =
#

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 =
#

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
LAST_SAVED_INTO_THIS_FILE =
#

LAST_SAVED_INTO_THIS_FILE

#
"#{log_dir?}last_saved_into_this_file.md"
FILE_LAST_SAVED_INTO_THIS_FILE =
LAST_SAVED_INTO_THIS_FILE
ROEBE_UNI_WIEN =
#

ROEBE_UNI_WIEN

#
"#{ROEBE_STUDIUM_DIR}UNI_WIEN/"
UNI_WIEN =

UNI_WIEN

ROEBE_UNI_WIEN
ROEBE_UNI_WIEN_YAML =
#

ROEBE_UNI_WIEN_YAML

#
"#{ROEBE_UNI_WIEN}yaml/"
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>/
FILE_TODO_BOKU =
#

Studium:.FILE_TODO_BOKU

#
"#{ROEBE_STUDIUM_DIR}INDIVIDUELLE_STUDIEN/TODO_BOKU.md"
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/"
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>/
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?
ARRAY_ALL_AVAILABLE_CURRICULA =
#

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.

#
%i(
  bachelor_informatik_curriculum
  bachelor_medizinische_informatik
  bachelor_botanik_curriculum
  bachelor_biologie_mikrobiologie_und_genetik
  bachelor_molekulare_biologie_curriculum
  bachelor_basisblock_biologie
  bachelor_vektor_curriculum
  bachelor_chemie_curriculum
  bachelor_boku_individuell
  bachelor_agrarwissenschaften_curriculum
  bachelor_ökologie_curriculum
  bachelor_lmbt_curriculum
  bachelor_ernährung_curriculum
  bachelor_pharmazie_curriculum
  bachelor_boku_ubrm_curriculum

  master_tu_vienna_biotechnology_curriculum
  master_bioinformatik_curriculum
  master_molbio_curriculum
  master_vektoren_curriculum
  master_lmbt_curriculum
  master_boku_individuell
  master_immuno
  bachelor_master_tu_wien
  bachelor_master_vektoren
).map {|line|
  Studium.return_file_for_this_curriculum(line)
}
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"
ShowModulesOnTheCommandline =
#

Studium::ShowModulesOnTheCommandline

Add an “alias” next.

#
::Studium::Curricula::Modules::DisplayOnTheCommandline
CSS_STYLE_TO_USE_FOR_THE_FIRST_TIMETABLE_DIV =
#

CSS_STYLE_TO_USE_FOR_THE_FIRST_TIMETABLE_DIV

#
'font-weight: bold; margin-bottom: 1px; padding:5px; font-family: monospace; font-size:3.0em'

Constants included from Colours

Colours::COLOURS

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Colours

#bold_blue, #bold_red, #bold_yellow, #cadetblue, #chartreuse, #darkgray, darkseagreen, deepskyblue, #deepskyblue, default_colour, #dimgray, #dodgerblue, #efancy, #ewarn, #forestgreen, gold, #grey, lightblue, #lightslategray, #lightsteelblue, #mediumorchid, #mediumseagreen, #oldlace, #olivedrab, orange, #orchid, palevioletred, #papayawhip, rev, #sdir, #sfancy, #sfile, #simp, steelblue, #steelblue, #swarn, swarn, #teal, use_this_colour_for_exam_answers, use_this_colour_for_exam_questions, #yellow

Class Method Details

.add_balloon(add_this_text = 5.0, name_of_the_lecture = 'Vorlesungsname hier') ⇒ Object

#

add_balloon

This method can be used to add a CSS-tooltip to a text (in a html page).

Invocation example:

add_balloon(rand(5)+1.0, raw_name_of_the_lecture)
#


44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/studium/toplevel_methods/return_div_timetable_of_upcoming_exams.rb', line 44

def self.add_balloon(
    add_this_text       = 5.0,
    name_of_the_lecture = 'Vorlesungsname hier'
  )
  if add_this_text.is_a? Numeric
    add_this_text = add_this_text.to_s
  end
  unless add_this_text.include? 'ECTS'
    add_this_text = add_this_text.dup if add_this_text.frozen?
    add_this_text << ' ECTS'
  end
  '<span data-balloon="'+add_this_text.to_s+'" data-balloon-pos="right" '\
  'data-balloon-length="medium">'+name_of_the_lecture+'</span>'+N
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”.

#


78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# File 'lib/studium/toplevel_methods/misc.rb', line 78

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

.all_passed_examsObject

#

Studium.all_passed_exams

#


16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/studium/toplevel_methods/all_passed_exams.rb', line 16

def self.all_passed_exams
  dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
  dataset.select! {|name_of_the_lecture, inner_hash|
    if inner_hash.has_key? :already_solved
      already_solved = inner_hash[:already_solved]
      (already_solved == true)
    end
  }
  dataset.keys.sort_by {|entry|
    entry.split(' ')[1]
  }
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.

#


148
149
150
# File 'lib/studium/toplevel_methods/available_topics.rb', line 148

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)


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
# File 'lib/studium/toplevel_methods/already_solved_this_lecture.rb', line 45

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)


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
# File 'lib/studium/toplevel_methods/lva_numbers.rb', line 82

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(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

#


49
50
51
52
53
54
55
56
57
58
59
60
61
# File 'lib/studium/toplevel_methods/save_file.rb', line 49

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
#


38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/studium/toplevel_methods/misc.rb', line 38

def self.array_all_remaining_exam_questions
  require 'studium/toplevel_methods/filter_away_invalid_questions.rb'
  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

#


59
60
61
62
63
64
65
66
67
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 59

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

.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 }
#


1039
1040
1041
1042
1043
1044
1045
# File 'lib/studium/exams/exam_question/exam_question.rb', line 1039

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

.audio_stats?Boolean

#

Studium.audio_stats?

#

Returns:

  • (Boolean)


168
169
170
# File 'lib/studium/utility_scripts/audio_stats.rb', line 168

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

.available_html_colours?Boolean

#

Studium.available_html_colours?

#

Returns:

  • (Boolean)


499
500
501
# File 'lib/studium/colours/colours.rb', line 499

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

.available_topics?Boolean

#

Studium.available_topics?

A simple delegator towards Studium::Exams.available_topics?

#

Returns:

  • (Boolean)


122
123
124
# File 'lib/studium/toplevel_methods/available_topics.rb', line 122

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

.available_weekdaysObject

#

Studium.available_weekdays

#


101
102
103
# File 'lib/studium/toplevel_methods/time.rb', line 101

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.

#


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
# File 'lib/studium/toplevel_methods/average_grade.rb', line 29

def self.average_grade(
    use_csv_file_or_lecture_information = :determine_automatically,
    round_to_n_positions                = nil
  )
  dataset = nil
  if round_to_n_positions.is_a?(Hash) and
     round_to_n_positions.has_key?(:round_to)
    round_to_n_positions = round_to_n_positions[:round_to]
  end
  # ======================================================================= #
  # First, try to determine which modus operandus is to be used.
  # ======================================================================= #
  case use_csv_file_or_lecture_information # case tag
  # ======================================================================= #
  # === :automatic
  #
  # This entry point will check whether a specific, local file exists.
  # ======================================================================= #
  when :automatic,
       :determine_automatically,
       :default
    if File.exist? FILE_PASSED_EXAMS_PER_MONTH
      # =================================================================== #
      # The constant is checking for this file:
      #
      #   $MY_STUDIUM/YAML/passed_exams_per_month.csv
      #
      # =================================================================== #
      use_csv_file_or_lecture_information = :csv
    else
      use_csv_file_or_lecture_information = :lecture_information
    end
  end
  case use_csv_file_or_lecture_information
  # ======================================================================= #
  # === :csv_file
  # ======================================================================= #
  when :csv_file,
       :csv
    # ===================================================================== #
    # In this case, we will load from the .csv file.
    # ===================================================================== #
    dataset = File.readlines(
      FILE_PASSED_EXAMS_PER_MONTH,
      encoding: ::Studium.main_encoding?
    ).reject {|line|
      line.strip.empty? or line.strip.start_with?('#')
    }
    dataset = dataset.map {|line|
      line.split('|').map(&:strip)[2].to_f # [2] is the ECTS points entry.
    }
  when :lecture_information
    if ::Studium.main_dataset?
      dataset = ::Studium.main_dataset?
    else
      dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
    end
    if dataset
      dataset = dataset.select {|a,b|
        b[:already_solved] and (b[:already_solved] == true)
      }
      dataset = dataset.map {|a,b|
        b[:ects]
      }
    end
  end
  if dataset
    # ===================================================================== #
    # We must reject entries that are 0.0, aka 0.
    # ===================================================================== #
    dataset.reject! {|entry| entry == 0 }
    # ===================================================================== #
    # The next three lines could also be used to find out how many
    # exams were passed.
    #   n_exams_have_been_passed = dataset.size
    #   pp n_exams_have_been_passed
    #   sum = dataset.sum.to_f / dataset.size
    # ===================================================================== #
    # return sum
  end
  # ======================================================================= #
  # Round the dataset next:
  # ======================================================================= #
  if dataset.is_a? Array
    sum = dataset.sum.to_f
    dataset = sum / dataset.size
  end
  if dataset.is_a? Float
    dataset = dataset.round(round_to_n_positions)
  end
  dataset
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.

#


31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/studium/toplevel_methods/lecture_information.rb', line 31

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.yml'
  new_target_location = _+File.basename(old_file)
  e "Now copying towards `#{Colours.sfile(new_target_location)}`."
  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 }
#


53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# File 'lib/studium/toplevel_methods/methods_related_to_files.rb', line 53

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.

#


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
# File 'lib/studium/toplevel_methods/calculate_prüfungsimmanente_lectures_from_this_file.rb', line 17

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 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)

#


14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/studium/toplevel_methods/cd.rb', line 14

def self.cd(i)
  # ======================================================================= #
  # This variant of cd knows some shortcuts.
  # ======================================================================= #
  case i
  # ======================================================================= #
  # === :exam_directory
  # ======================================================================= #
  when :exam_directory
    i = ::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.

#


115
116
117
118
119
120
121
122
123
124
125
# File 'lib/studium/toplevel_methods/cd_stud.rb', line 115

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

#


163
164
165
# File 'lib/studium/check_and_sanitize/check_the_lecture_information_file.rb', line 163

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.

#


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
# File 'lib/studium/toplevel_methods/has_this_module_been_completed.rb', line 151

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.

#


421
422
423
# File 'lib/studium/colours/colours.rb', line 421

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

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

#

Studium.copy_file

#


173
174
175
176
177
178
179
180
# File 'lib/studium/toplevel_methods/methods_related_to_files.rb', line 173

def self.copy_file(
    source,
    destination = Dir.pwd
  )
  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

#


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
# File 'lib/studium/toplevel_methods/methods_related_to_files.rb', line 111

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 = FILE_LECTURE_INFORMATION
  if i
    if File.exist? i
      e '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.

#


16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/studium/toplevel_methods/copy_the_last_backup_of_file_lecture_information.rb', line 16

def self.copy_the_last_backup_of_file_lecture_information
  _ = log_dir?+'backups/lecture_information.yml'
  if File.exist? _
    e 'Copying '+
      Colours.sfile(_)+
      ' to `'+
      RUBY_STUDIUM_HOME_DIR+'yaml/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.

#


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
# File 'lib/studium/toplevel_methods/lecture_information.rb', line 51

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.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
# File 'lib/studium/pdf/hexapdf_support.rb', line 14

def self.create_a_pdf_file_for_this_exam_topic(the_exam_topic)
  begin
    require 'roebe/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
#


38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'lib/studium/toplevel_methods/handle_archive_of_the_exam_questions.rb', line 38

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

#


185
186
187
188
189
190
191
# File 'lib/studium/toplevel_methods/methods_related_to_files.rb', line 185

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.

#


313
314
315
316
317
318
319
320
# File 'lib/studium/pdf/create_pdf_file_for_this_exam_topic.rb', line 313

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) ⇒ Object

#

Studium.crimson

#


443
444
445
446
# File 'lib/studium/colours/colours.rb', line 443

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

.d10Object

#

Studium.d10

#


489
490
491
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 489

def self.d10
  Studium.show_upcoming_exams(10)
end

.d100Object

#

Studium.d100

#


468
469
470
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 468

def self.d100
  Studium.show_upcoming_exams(100)
end

.d15Object

#

Studium.d15

#


482
483
484
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 482

def self.d15
  Studium.show_upcoming_exams(15)
end

.d20Object

#

Studium.d20

#


475
476
477
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 475

def self.d20
  Studium.show_upcoming_exams(20)
end

.d5Object

#

Studium.d5

#


496
497
498
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 496

def self.d5
  Studium.show_upcoming_exams(5)
end

.darkgreen(i) ⇒ Object

#

Studium.darkgreen

#


467
468
469
470
# File 'lib/studium/colours/colours.rb', line 467

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

.datum?Boolean

#

Studium.datum?

#

Returns:

  • (Boolean)


122
123
124
# File 'lib/studium/toplevel_methods/time.rb', line 122

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

.delay_for_exam_questions?Boolean

#

Studium.delay_for_exam_questions?

#

Returns:

  • (Boolean)


1062
1063
1064
# File 'lib/studium/exams/exam_question/exam_question.rb', line 1062

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

.determine_curricula(i = ARGV) ⇒ Object

#

Studium.determine_curricula

#


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

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”.

#


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
# File 'lib/studium/toplevel_methods/cd_stud.rb', line 38

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.

#


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
# File 'lib/studium/toplevel_methods/determine_local_directory_of_this_lecture.rb', line 22

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
  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 = ::Studium.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_my_exam_topicsObject

#

Studium.directory_to_my_exam_topics

#


147
148
149
# File 'lib/studium/constants/exam_topics.rb', line 147

def self.directory_to_my_exam_topics
  @exam_topics
end

.directory_to_the_exam_topics?Boolean

#

Studium.directory_to_the_exam_topics?

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

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

Returns:

  • (Boolean)


159
160
161
# File 'lib/studium/constants/exam_topics.rb', line 159

def self.directory_to_the_exam_topics?
  @exam_topics
end

.disable_coloursObject

#

Studium.disable_colours

#


429
430
431
# File 'lib/studium/colours/colours.rb', line 429

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

.display_available_topics(optional_limit_to_this = nil) ⇒ Object

#

Studium.display_available_topics

#


113
114
115
# File 'lib/studium/toplevel_methods/available_topics.rb', line 113

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.

#


19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/studium/toplevel_methods/does_this_course_require_mandatory_presence.rb', line 19

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) ⇒ Boolean

#

Studium.does_this_line_include_a_html_colour?

#

Returns:

  • (Boolean)


52
53
54
# File 'lib/studium/toplevel_methods/word_wrap.rb', line 52

def self.does_this_line_include_a_html_colour?(i)
  ::Colours.does_this_line_include_a_html_colour?(i)
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.

#


67
68
69
70
71
72
# File 'lib/studium/toplevel_methods/handle_archive_of_the_exam_questions.rb', line 67

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
#


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
# File 'lib/studium/toplevel_methods/download.rb', line 89

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.

#


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
# File 'lib/studium/toplevel_methods/download.rb', line 29

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.rb', line 12

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

.editor?Boolean

#

Studium.editor?

#

Returns:

  • (Boolean)


32
33
34
# File 'lib/studium/toplevel_methods/editor.rb', line 32

def self.editor?
  @use_this_editor
end

.enable_coloursObject

#

Studium.enable_colours

#


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

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_main_encoding(i) ⇒ Object

#

Studium.ensure_main_encoding

This method will try to ensure the main encoding in use. This presently works for both Arrays and Strings; other classes are not supported (but they are also not as important as Arrays and Strings really; possibly excluding class Hash).

#


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
# File 'lib/studium/encoding/encoding.rb', line 110

def self.ensure_main_encoding(i)
  copy = i
  use_this_encoding = @use_this_encoding
  # ======================================================================= #
  # === Handle Array next
  # ======================================================================= #
  if copy.is_a? Array
    copy = copy.map {|entry|
      if entry.is_a? String
        unless entry.encoding.to_s.include? use_this_encoding
          entry = entry.force_encoding(use_this_encoding)
        end
      end
      entry
    }
  # ======================================================================= #
  # === Handle Hash next
  # ======================================================================= #
  elsif copy.is_a? Hash
    new_hash = {}
    copy.each_pair {|key, value|
      unless key.encoding.to_s.include? use_this_encoding
        key = key.dup if key.frozen?
        unless key.is_a? Symbol
          key = key.force_encoding(use_this_encoding)
        end
      end
      if value.is_a? Array
        array = Studium.ensure_main_encoding(array)
      end
      new_hash[key] = ensure_main_encoding(value)
    }
    copy = new_hash
  # ======================================================================= #
  # === Handle String next
  # ======================================================================= #
  elsif copy.is_a? String
    unless copy.encoding.to_s.include? use_this_encoding
      copy = copy.dup if copy.frozen?
      copy = copy.force_encoding(use_this_encoding)
    end
  end
  return copy
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.

#


18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/studium/logging/ensure_that_the_log_directory_exists.rb', line 18

def self.ensure_that_the_log_directory_exists(
    this_directory = @log_directory
  )
  begin
    FileUtils.mkdir_p(this_directory) unless Dir.exist? this_directory
    _ = "#{this_directory}exam_topics/"
    FileUtils.mkdir_p(_) unless Dir.exist? _
    ensure_that_the_html_directory_exists
  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, and system, into one new method called “esystem()”.

#


17
18
19
20
# File 'lib/studium/toplevel_methods/esystem.rb', line 17

def self.esystem(i = '')
  e i
  system i
end

.exam_registration_at(optional_input = nil) ⇒ Object

#

Studium.exam_registration_at

#


246
247
248
# File 'lib/studium/exams/exam_registration_at/exam_registration_at.rb', line 246

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

.exam_topics_directory?Boolean

#

Studium.exam_topics_directory?

#

Returns:

  • (Boolean)


63
64
65
# File 'lib/studium/constants/exam_topics.rb', line 63

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

.examsObject

#

Studium.exams

#


14
15
16
# File 'lib/studium/exams/exams.rb', line 14

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

.exams_per_month2Object

#

Studium.exams_per_month

Easier module-method to instantiate a new ExamsPerMonth object.

#


283
284
285
# File 'lib/studium/exams/exams_per_month/exams_per_month.rb', line 283

def self.exams_per_month2
  ::Studium::ExamsPerMonth.new
end

.expand_these_lectures(i) ⇒ Object

#

Studium.expand_these_lectures

This will return an Array, rather than report anything.

#


412
413
414
# File 'lib/studium/utility_scripts/expand_time_range.rb', line 412

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.

#


403
404
405
# File 'lib/studium/utility_scripts/expand_time_range.rb', line 403

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.

#


79
80
81
82
# File 'lib/studium/toplevel_methods/handle_archive_of_the_exam_questions.rb', line 79

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.

#


458
459
460
461
462
# File 'lib/studium/constants/file_constants.rb', line 458

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_examsObject

#

Studium.file_allowed_themes_for_exams

#


245
246
247
# File 'lib/studium/constants/file_constants.rb', line 245

def self.file_allowed_themes_for_exams
  "#{PROJECT_YAML_DIRECTORY}allowed_themes_for_exams.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
#


280
281
282
# File 'lib/studium/constants/file_constants.rb', line 280

def self.file_array_allowed_entries_for_the_file_lecture_information
  "#{PROJECT_YAML_DIRECTORY}lecture_aliases.yml"
end

.file_cd_aliasesObject

#

Studium.file_cd_aliases

#


33
34
35
# File 'lib/studium/toplevel_methods/methods_related_to_files.rb', line 33

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.

#


847
848
849
# File 'lib/studium/constants/file_constants.rb', line 847

def self.file_current_exams
  FILE_CURRENT_EXAMS
end

.file_exams?Boolean

#

Studium.file_exams?

#

Returns:

  • (Boolean)


51
52
53
# File 'lib/studium/constants/file_constants.rb', line 51

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
#


112
113
114
# File 'lib/studium/constants/file_constants.rb', line 112

def self.file_for_exam_questions
  FILE_FOR_EXAM_QUESTIONS
end

.file_grouped_themesObject

#

Studium.file_grouped_themes

#


340
341
342
# File 'lib/studium/constants/file_constants.rb', line 340

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

.file_holidaysObject

#

Studium.file_holidays

#


326
327
328
# File 'lib/studium/constants/file_constants.rb', line 326

def self.file_holidays
  "#{PROJECT_YAML_DIRECTORY}holidays.yml"
end

.file_important_exams?Boolean

#

Studium.file_important_exams?

#

Returns:

  • (Boolean)


216
217
218
# File 'lib/studium/constants/file_constants.rb', line 216

def self.file_important_exams?
  FILE_IMPORTANT_EXAMS
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)


17
18
19
20
21
22
# File 'lib/studium/constants/last_question_asked.rb', line 17

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

.file_lecture_aliasesObject

#

Studium.file_lecture_aliases

#


268
269
270
# File 'lib/studium/constants/file_constants.rb', line 268

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)


626
627
628
629
630
631
632
# File 'lib/studium/constants/file_constants.rb', line 626

def self.file_lecture_information?
  if ENV.has_key? 'STUDIUM_FILE_LECTURE_INFORMATION'
    ENV['STUDIUM_FILE_LECTURE_INFORMATION'].dup
  else
    @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_mitteilungsblätterObject

#

Studium.file_mitteilungsblätter

#


203
204
205
# File 'lib/studium/constants/file_constants.rb', line 203

def self.file_mitteilungsblätter
  "#{Studium.yaml_directory?}mitteilungsblätter.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.

#


84
85
86
87
88
89
90
91
92
93
# File 'lib/studium/toplevel_methods/methods_related_to_files.rb', line 84

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)


148
149
150
# File 'lib/studium/constants/file_constants.rb', line 148

def self.file_statistics?
  "#{Studium.yaml_directory?}statistics.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.

#


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
# File 'lib/studium/toplevel_methods/filter_away_invalid_questions.rb', line 27

def self.filter_away_invalid_questions(
    i,
    optional_argument_we_used_this_file = nil
  )
  require 'studium/colours/sfile.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 ::Studium::Base::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 'Note that in the file'
      e "  `#{optional_argument_we_used_this_file}`"
      e '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')+
          ' this erroneous file, as we are on a roebe-system.'
        e "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
    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"
#


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
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 2335

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'
  # ======================================================================= #
  # === mixed
  # ======================================================================= #
  when 'mixed'
    'Mixed'
  # ======================================================================= #
  # === allgemeine_mikrobiologie
  # ======================================================================= #
  when 'allgemeine_mikrobiologie'
    'Allgemeine Mikrobiologie'
  # ======================================================================= #
  # === embryologie_und_entwicklung
  # ======================================================================= #
  when 'embryologie_und_entwicklung'
    'Entwicklungsbiologie'
  # ======================================================================= #
  # === computer
  # ======================================================================= #
  when 'computer',
    /^computer(_|-| |,)?science$/i
    'Computer Science'
  # ======================================================================= #
  # === pflanzenwissenschaften
  # ======================================================================= #
  when 'pflanzenwissenschaften',
       /^struktur(_|-| |,)?und(_|-| |,)funktion(_|-| |,)?der$/i
    'Struktur und Funktion der Pflanzen'
  when 'allgemeine_genetik'
    'Allgemeine Genetik'
  when 'basic_biotechnology'
    'Biotechnologie'
  when 'bioinformatics'
    'Bioinformatics'
  when 'neurobiology'
    'Neurobiologie'
  when 'zoologie'
    'Allgemeine Zoologie'
  # ======================================================================= #
  # === medizin
  # ======================================================================= #
  when 'medizin',
       /^medizin(_|-| |,)?und(_|-| |,)?biomedizinische(_|-| |,)?technik$/i
    'Medizin und biomedizinische Technik'
  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'
  when 'phytochemie'
    'Phytochemie'
  when 'ageing'
    'Aging'
  when 'bioprozesstechnik'
    'Bioprozesstechnik'
  when 'technische_mikrobiologie'
    'TU Wien Microbiology'
  when 'cellbiology'
    'Cellbiology'
  when 'physikalische_chemie'
    'Physikalische Chemie'
  when 'verfahrenstechnik'
    'Verfahrenstechnik'
  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 'biologie'
    'Biologie'
  when 'umweltchemie'
    'Umweltchemie'
  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'
  # ======================================================================= #
  # === statistik
  # ======================================================================= #
  when 'statistik',
      /^qastatistik\??$/i
    'Statistik'
  when 'basic_biochemistry'
    'Basic Biochemistry'
  when 'advanced_biochemistry'
    'Advanced Biochemistry'
  when 'fortgeschrittene_physik'
    'Fortgeschrittene Physik'
  when 'bioelektrochemie'
    'Bioelektrochemie'
  when 'advanced_biotechnology'
    'Advanced Biotechnology'
  when 'epigenetik'
    'Epigenetik'
  # ======================================================================= #
  # === 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'
  when 'parasitologie'
    'Parasitologie'
  # ======================================================================= #
  # === rna_and_dna
  # ======================================================================= #
  when 'rna_and_dna'
    'DNA und RNA'
  # ======================================================================= #
  # === research_topics_in_immunobiology
  # ======================================================================= #
  when 'research_topics_in_immunobiology'
    'Research topics in Immunobiology'
  when 'prokaryote_genetics'
    'Prokaryote Genetics'
  when 'anthropologie'
    'Anthropologie'
  when 'fortgeschrittene_gentechnik'
    'Fortgeschrittene Gentechnik'
  when 'fortgeschrittene_genetik'
    'Fortgeschrittene Genetik'
  when 'pcr'
    'PCR'
  when 'populationsgenetik'
    'Populationsgenetik'
  # ======================================================================= #
  # === ecogenetics
  # ======================================================================= #
  when 'ecogenetics'
    'Ökogenetik'
  # ======================================================================= #
  # === pathologie
  # ======================================================================= #
  when 'pathologie'
    'Pathologie'
  # ======================================================================= #
  # === chemisches_labor
  # ======================================================================= #
  when /^chemisches(_|-| |,)?labor$/i
    'Chemisches Labor'
  # ======================================================================= #
  # === theoretische_chemie
  # ======================================================================= #
  when 'theoretische_chemie'
    'Theoretische Chemie'
  # ======================================================================= #
  # === plant_biotechnology
  # ======================================================================= #
  when 'plant_biotechnology'
    'Plant Biotechnology'
  when 'bodenkunde'
    'Bodenkunde'
  when 'advanced_virology'
    'Advanced Virology'
  when 'microbial_ecology'
    'Mikrobielle Ökologie'
  when 'metabolismus'
    'Metabolismus'
  # === the_cellcycle
  when 'the_cellcycle',
       /^the(_|-| |,)?cell(_|-| |,)?cycle$/i
    'The Cellcyle'
  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 'audio'
    'Audio'
  when 'umweltbiotechnologie'
    'Umweltbiotechnologie'
  when 'posttranslationale_modifikation_von_proteinen'
    'Posttranslationale Modifikation von Proteinen'
  when 'bodenmikrobiologie'
    'Bodenmikrobiologie'
  when 'stemcells'
    'Stammzellen'
  # ======================================================================= #
  # === plant_breeding
  # ======================================================================= #
  when 'plant_breeding'
    'Pflanzenzüchtung (Plant Breeding)'
  when 'agrarphysik'
    'Agrarphysik'
  when 'aminoacids'
    'Amino Acids'
  # === enzymes
  when 'enzymes',
      /^enzymes(_|-| |,)?and(_|-| |,)?cofactors$/i
    'Enzymes and Cofactors'
  when 'proteomik'
    'Proteomik'
  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 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
    'Chemotaxies 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'
  # ======================================================================= #
  # === 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'
  # ======================================================================= #
  # === fluorescence_microscopy
  # ======================================================================= #
  when /^fluorescence(_|-| |,)?microscopy\??$/i
    'Fluorescence Microscopy'
  # ======================================================================= #
  # === citric_acid_cycle
  # ======================================================================= #
  when /^citric(_|-| |,)?acid(_|-| |,)?cycle$/i
    'Citric Acid Cycle'
  # ======================================================================= #
  # === mess_und_regeltechnik
  # ======================================================================= #
  when /^messtechnik(_|-| |,)?und(_|-| |,)?regeltechnik$/i
    'Messtechnik und Regeltechnik'
  # ======================================================================= #
  # === abfall
  # ======================================================================= #
  when 'abfall',
       'abfall_als_ressource'
    'Abfall als Ressource'
  # ======================================================================= #
  # === 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',
       'linux',
       'elektronenmikroskopie',
       'allergie',
       'elektrotechnik',
       'prozesstechnik',
       'glykomik',
       'glyoxylatzyklus',
       'weinbau',
       'lebensmittel',
       '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'
    i.capitalize
  end
  return i
end

.find_corresponding_exam_topic(i, be_verbose = true) ⇒ 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 file find_corresponding_exam_title.rb

Usage examples:

x = Studium.find_corresponding_exam_topic('imm')     # => "immunologie"
x = Studium.find_corresponding_exam_topic('mphysio') # => "mikrobielle_physiologie"
#


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
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 31

def self.find_corresponding_exam_topic(
    i, be_verbose = true
  )
  case be_verbose
  # ======================================================================= #
  # === :be_verbose
  # ======================================================================= #
  when :be_verbose
    be_verbose = true
  # ======================================================================= #
  # === :be_quiet
  # ======================================================================= #
  when :be_quiet
    be_verbose = false
  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
    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[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',
       /^basic(_|-| |,)?microbiology$/i
    'allgemeine_mikrobiologie'
  # ======================================================================= #
  # === entwicklungsbiologie
  # ======================================================================= #
  when '5','entwicklungsbiologie','embryologie_und_entwicklung', 
       'embryologie','emb','entwicklung','entw','devel','embroy',
       /embryo?/,'devbio','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,
       'ab',
       'strukturundfunktionderpflanzen',
       /^botanik\??$/i
    'pflanzenwissenschaften'
  # ======================================================================= #
  # === immunologie
  # ======================================================================= #
  when '8','immuno','fragen_immunologie','immunologie',
       'imm',
       'immunology',
       'imuno',
       'immuno1',
       'imm1',
       'immun',
       /^basic(_|-| |,)?immunology$/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',
       'genex',
       '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',
       'basic_biotechnology',
       'Biotechnologie',
       'biotech1',
       'biotechnologie',
       'basicbiotechnology',
       'basic biotechnology',
       'biotehc',
       'bech1',
       'biotechnology1',
       'bach1'
    'basic_biotechnology'
  # ======================================================================= #
  # === bioinformatik
  # ======================================================================= #
  when '12',
       'bioinformatik',
       'bioinf',
       'bioinfo',
       'bioinformatics',
       'binf',
       'bioinfor',
       'bioinformatic'
    'bioinformatics'
  # ======================================================================= #
  # === verhalten
  # ======================================================================= #
  when '13',
       'verhalten',
       'verhaltensbiologie',
       'ethologie',
       'neuro',
       'neurobiologie',
       'neruo',
       'neurobiology'
    'neurobiology'
  # ======================================================================= #
  # === physics
  # ======================================================================= #
  when '14',
       'physik',
       '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\??$/,
       'mathe'
    'mathematics'
  # ======================================================================= #
  # === zoology
  # ======================================================================= #
  when '16',
       'zoologie','ab4',
       'zoo',
       'tiere',
       'array_zoologie',
       'zoology',
       /^allgemeine(_|-| |,)?zoologie$/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_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_chemie1',
       'analytische chemie',
       'analytischechemie1',
       'analytische chemie 1',
       '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','technik','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',
       'analytische_chemie_2',
       'ana2',
       'analytische_chemie2','analytischechemie2',
       'analytische chemie 2'
    'analytische_chemie_2'
  # ======================================================================= #
  # === gentechnik
  # ======================================================================= #
  when '32',
       'gentechnik',
       'gentech',
       'gentech1',
       'gentechnik1',
       'genetech',
       'gentehc',
       /^praktische(_|-| |,)?biochemie$/,
       /^gentechnik(_|-| |,)?und(_|-| |,)?praktische(_|-| |,)?biochemie$/,
       /^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,
       /^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_chemie',
       'technischechemie',
       'tech',
       'technische chemie',
       'technologie_chemie',
       /tu_?chem/
    'technische_chemie'
  # ======================================================================= #
  # === biologie
  # ======================================================================= #
  when '42','biologie','biology'
    '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'
  # ======================================================================= #
  # === 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',
       'fortgeschrittenephysik',
       'fortgeschrittene physik'
    'fortgeschrittene_physik'
  # ======================================================================= #
  # === bioelektrochemie
  # ======================================================================= #
  when '54',
       'bioelektrochemie',
       'bioele',
       'bioelek',
       'echem',
       'elektro'
    'bioelektrochemie'
  # ======================================================================= #
  # === advanced_biotechnology
  # ======================================================================= #
  when '55',
       'biotech2',
       /^advanced(_|-| |,)?biotechnology$/,
       '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
    '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
     '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(_|-| |,)?evolutionar$/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
    'rna_and_dna'
  # ======================================================================= #
  # === research_topics_in_immunobiology
  # ======================================================================= #
  when '67','research_topics_in_immunobiology',
       'research_topics_in_immunbiology',
       'researchtopicsinimmunobiology',
       'research',
       'research topics in immunobiology',
       /^research(_|-| |,)?topics$/i,
       /^research(_|-| |,)?topics(_|-| |,)?in(_|-| |,)?immuno$/i
    'research_topics_in_immunobiology'
  # ======================================================================= #
  # === fungi
  # ======================================================================= #
  when '68',
       'fungi',
       'pilz',
       'pilze',
       'fungus'
    '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,
       /^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'
    '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
    'pathologie'
  # ======================================================================= #
  # === allergie
  # ======================================================================= #
  when '79',
       'allergie',
       'allergy',
       'allergien',
       'allergen',
       'allergies'
    '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_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$/,
       'quality management','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$/,
       /^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','ptm',
       'ptm?','posttranslationale modifikation von proteinen',
       'posttranslationale_modifikation_von_proteinen',
       'ptms',
       'PTMs',
       /^posttranslationale(_|-| |,)?modifi\??$/i,
       /^posttranslational(_|-| |,)?modification(_|-| |,)?of(_|-| |,)?_proteins$/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/
    '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
    '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',
       /^microbiology2\??$/i
    'advanced_microbiology'
  # ======================================================================= #
  # === plant_anatomy
  # ======================================================================= #
  when '115','pflanzenanatomie','plant_anatomy?','panatomy',
       'plantanatomy?',
       'plant_anatomy',
       'plantanatomy',
       'panatomie',
       'pflanzenphysiologie',
       'plantphysiologie',
       'ab2anatomie',
       'plantanatomie',
       'panatome'
    '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
    'molecular_biology_of_plants'
  # ======================================================================= #
  # === lebensmitteltechnologie
  # ======================================================================= #
  when '118',
       'lebensmitteltechnologie'
    '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',
       'innate_immunity','innateimmunity',
       'innate_immunity?',
       'innateimmunity?',
       /^innate(_|-| |,)?immunity$/i
    'innate_immunity'
  # ======================================================================= #
  # === psychologie
  # ======================================================================= #
  when '124','psychologie','psychology'
    'psychologie'
  # ======================================================================= #
  # === genetische_krankheiten
  # ======================================================================= #
  when '125','genetische_krankheiten','genetischekrankheiten',
       'genetic_diseases','geneticdiseases','genetic_disease',
       'gendisease','disease','digene','disgene',
       'gendis',
       'geneticdisease',
       /^genetische(_|-| |,)?krankheiten?$/i
    'genetische_krankheiten'
  # ======================================================================= #
  # === hormone
  # ======================================================================= #
  when '126','hormone','hormon','hormones','hor'
    'hormone'
  # ======================================================================= #
  # === systematische_zoologie
  # ======================================================================= #
  when '127',
       /^systematische(_|-| |,)?zoologie?$/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'
  # ======================================================================= #
  # === 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',
       /chemische_technologie/,
       'materialkunde',
       'material_sciences',
       /^chem(_|-| |,)?anorg\??$/i,
       'chemanon',
       /^chemische(_|-| |,)?technologie(_|-| |,)?anorganischer(_|-| |,)?stoffe$/i,
       /^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$/,
       'sequencing',
       'sequenzierung','nucleotideseq','seq2',
       'nusequencing'
     'nucleotide_sequencing'
  # ======================================================================= #
  # === databases
  # ======================================================================= #
  when '144',
       /^databases\??$/i,
       /^datenbanken\??$/i,
       /^databases(_|-| |,)?and(_|-| |,)?sql$/,
       /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'
     'elektrotechnik'
  # ======================================================================= #
  # === weinbau
  # ======================================================================= #
  when '151','weinbau','wein'
     'weinbau'
  # ======================================================================= #
  # === technische_grundlagen_der_informatik
  # ======================================================================= #
  when '152',
       'technische_grundlagen_der_informatik',
       /^technische(_|-| |,)?grundlagen(_|-| |,)?der$/i,
       /^technische(_|-| |,)?grundlagen(_|-| |,)?der(_|-| |,)?informatik$/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',
       /^semisynthese(_|-| |,)?von(_|-| |,)?proteinen(_|-| |,)?und(_|-| |,)?nukleotiden$/i,
       /^semisynthese(_|-| |,)?von(_|-| |,)?proteine$/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
     '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',
       /^qapython\??$/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$/,
       '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
    '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',
       /^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$/,
        'system',
       '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
     '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',
       'dnarepl',
       'dnarep'
     'dna_replication'
  # ======================================================================= #
  # === immunanalytik
  # ======================================================================= #
  when '185',/^immunanalyti(c|k)$/i,
       'immunoanalytik',
       'immunoana',
       'immunana',
       'immuna',
       'immunoassay',
       /^immunoanalytics$/i
     'immunanalytik'
  # ======================================================================= #
  # === elektrophorese
  # ======================================================================= #
  when '186',/^elektrophorese$/i,'gelelectrophoresis',
       'gelelektrophorese','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(_|-| |,)?wall$/
     'the_bacterial_cell_wall'
  # ======================================================================= #
  # === bacteriophages
  #
  # Everything about bacteriophages/phages.
  # ======================================================================= #
  when '189',
       'bacteriophages',
       'phages',
       'bakteriophagen',
       'phag',
       /^pha?gen?$/
    'bacteriophages'
  # ======================================================================= #
  # === mutation
  # ======================================================================= #
  when '190','mutation',
       /^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(_|-| |,)?mutation$/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'
  # ======================================================================= #
  # === pharmazeutische_biotechnologie
  # ======================================================================= #
  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\??$/
    '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',
       /^projektmanagement$/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,
       /^chemotaxis\??$/i,
       'chemo?',
       'chemo',
       'flagella',
       /^flag\??$/i
    'chemotaxis_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',
       /^transcription$/i,
       /^transkription$/i,
       /^qa(_|-| |,)?transcription\??$/i
    'transcription'
  # ======================================================================= #
  # === toxikologie
  # ======================================================================= #
  when '203',
       /^toxikologie$/i,
       /^qatox\??$/i,
       'toxi',
       'tox'
    '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,
       /^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_?$/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'
  # ======================================================================= #
  # === object_oriented_modeling
  # ======================================================================= #
  when '222',
       /^object(_|-| |,)?oriented(_|-| |,)?modeling\??$/i,
       /^objekt(_|-| |,)?orientiertes(_|-| |,)?modellieren\??$/i,
       /^objekt(_|-| |,)?orientiertes(_|-| |,)?model\??$/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_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,
       /^mtDNA$/i
    'mitochondria'
  # ======================================================================= #
  # === stickstofffixierung
  # ======================================================================= #
  when '232',
       /^stickstofff?ixierung$/i,
       /^stickstofff?$/i,
       'latest',
       'last' # ← These two entries have to be adjusted manually to the last entry point. (last tag)
    'stickstofffixierung'
  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.

#


148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 148

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
  _ = ensure_main_encoding(
    YAML.load_file(FILE_CURRICULA)
  )
  i = ensure_main_encoding(i.to_s.dup)
  if _.has_key? i
    array_pointer = _[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.
    e "Key #{i} is not registered." if report_unregistered_keys
  end
  result
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)


87
88
89
90
91
92
93
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 87

def self.has_a_bachelor_curriculum?(array)
  array.any? {|line|
    line.to_s.start_with?('033') or
    line.to_s.start_with?('196') or # For diploma-curricula.
    line.to_s.start_with?('199')
  }
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)


104
105
106
107
108
109
110
111
112
113
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 104

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)


20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# File 'lib/studium/toplevel_methods/has_this_lecture_been_already_passed_but_the_id_was_changed_lateron.rb', line 20

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 = 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)


120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'lib/studium/toplevel_methods/has_this_module_been_completed.rb', line 120

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”.

#


52
53
54
# File 'lib/studium/toplevel_methods/time.rb', line 52

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 e. g. “/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

.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.

#


52
53
54
55
# File 'lib/studium/toplevel_methods/main_dataset.rb', line 52

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

#


60
61
62
63
64
65
# File 'lib/studium/toplevel_methods/main_dataset.rb', line 60

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.

#


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

def self.install_the_project_on_the_given_hostsystem
  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?

#

Returns:

  • (Boolean)


122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 122

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_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)


282
283
284
285
286
# File 'lib/studium/utility_scripts/vorbesprechungen.rb', line 282

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

.is_on_roebe?Boolean

#

Studium.is_on_roebe?

#

Returns:

  • (Boolean)


18
19
20
# File 'lib/studium/toplevel_methods/is_on_roebe.rb', line 18

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)


509
510
511
# File 'lib/studium/colours/colours.rb', line 509

def self.is_this_a_valid_html_colour?(i)
  ::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
#

Returns:

  • (Boolean)


3215
3216
3217
3218
3219
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3215

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)


128
129
130
131
# File 'lib/studium/utility_scripts/holidays.rb', line 128

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)


24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/studium/toplevel_methods/is_this_exam_topic_included.rb', line 24

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_topic)

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)


3198
3199
3200
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3198

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)


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

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) ⇒ 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, we will make use of information stored in one of the two main files that include the file with the individual curricula for bachelor and master.

#

Returns:

  • (Boolean)


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
# File 'lib/studium/toplevel_methods/is_this_lecture_a_practical_course.rb', line 20

def self.is_this_lecture_a_practical_course?(i)
  if i.is_a? Array
    i = i.first
  end
  file1 = Studium::FILE_BACHELOR_VEKTORSYSTEME
  file2 = Studium::FILE_MASTER_VEKTORSYSTEME
  dataset = []
  # ======================================================================= #
  # First, check for the Bachelor-curriculum.
  # ======================================================================= #
  if File.exist? file1
    _ = File.readlines(file1, encoding: ::Studium.main_encoding?).reject {|entry|
      entry.strip.start_with?('#') or entry.strip.empty?
    }
    _.select! {|line|
      # =================================================================== #
      # The line variable is something like this here:
      #
      #   - Mikrobiologie - Übungen (AW)                    # 2.0 ECTS, UE
      #
      # We check against the last part, e. g. the "UE" entry.
      # =================================================================== #
      ARRAY_LECTURE_TYPES_THAT_ARE_MANDATORY_CONTINUOUS_ASSESSMENT.any? {|inner_entry|
        line.include? ' ECTS, '+inner_entry
      }
    }
    dataset << _
  end
  dataset.flatten!
  # ======================================================================= #
  # Next check for the Master-curriculum.
  # ======================================================================= #
  if File.exist? file2
    _ = File.readlines(file2, encoding: ::Studium.main_encoding?).reject {|entry|
      entry.strip.start_with?('#') or entry.strip.empty?
    }
    _.select! {|line|
      # =================================================================== #
      # The line variable is something like this here:
      #   - Mikrobiologie - Übungen (AW)                    # 2.0 ECTS, UE
      #   - Wahlbeispiel Molekulare Medizin - Teil 1        # 5.0 ECTS, Priorität: 1, UE
      # =================================================================== #
      ARRAY_LECTURE_TYPES_THAT_ARE_MANDATORY_CONTINUOUS_ASSESSMENT.any? {|inner_entry|
        this_line = ' ECTS, '+inner_entry
        or_this_other_line = ' Priorität: '
        line.include?(this_line) or
        (line.include?(or_this_other_line) and (line.include?(', '+inner_entry)))
      }
    }
    dataset << _
  end
  dataset.flatten!
  # ======================================================================= #
  # The next code block had a simple "line.include? i" check, but this
  # would also yield mismatches, such as "Statistik (AW)", which is both
  # a lecture but also part of a practical course starting with the same
  # characters. Hence, since of as January 2018, we will use a regex
  # check insted.
  # ======================================================================= #
  selection = dataset.select {|line|
    use_this_regex = /^- "(#{Regexp.quote(i)})"\s+#/
    line =~ use_this_regex
  }
  !selection.empty?
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.

#


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
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 701

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) ⇒ 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)


17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'lib/studium/toplevel_methods/is_this_lecture_registered_in_upcoming_exams.rb', line 17

def self.is_this_lecture_registered_in_upcoming_exams?(i)
  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)


9010
9011
9012
9013
# File 'lib/studium/utility_scripts/return_remote_homepage_of_this_lecture.rb', line 9010

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

#


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

def self.ja_oder_nein(i)
  case i.to_s
  when 'true'
    'Ja'
  else
    '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)


529
530
531
# File 'lib/studium/colours/colours.rb', line 529

def self.konsole_support?
  Object.const_defined? :Colours
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)


71
72
73
74
75
76
77
78
79
# File 'lib/studium/toplevel_methods/save_file.rb', line 71

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)


129
130
131
132
133
134
135
136
# File 'lib/studium/constants/file_constants.rb', line 129

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

.lecture_information(i = FILE_LECTURE_INFORMATION) ⇒ Object

#

Studium.lecture_information

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

#


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

def self.lecture_information(
    i = 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.

#


302
303
304
305
306
307
308
309
310
311
312
313
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 302

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

#


22
23
24
25
# File 'lib/studium/toplevel_methods/misc.rb', line 22

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

#


459
460
461
462
# File 'lib/studium/colours/colours.rb', line 459

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

.load_this_yaml_file(i = :indi2) ⇒ Object

#

Studium.load_this_yaml_file

#


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

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

.main_dataset?Boolean

#

Studium.main_dataset?

#

Returns:

  • (Boolean)


33
34
35
# File 'lib/studium/toplevel_methods/main_dataset.rb', line 33

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)


857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
# File 'lib/studium/constants/file_constants.rb', line 857

def self.main_topic?(
    return_all_entries = false
  )
  require 'studium/requires/require_yaml.rb'
  case return_all_entries
  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

#


310
311
312
# File 'lib/studium/utility_scripts/mandatory_lectures_in_this_month.rb', line 310

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')
#


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
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 408

def self.map_curriculum_name_to_curriculum_number(
    this_curriculum_name
  )
  this_curriculum_name = this_curriculum_name.to_s
  _ = YAML.load_file(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]
  }]
  this_curriculum = new_hash[this_curriculum_name]
  unless this_curriculum
    e "No result for `#{this_curriculum_name}`." # Notify the user in this case.
  end
  # ======================================================================= #
  # We must ensure that the main encoding is used.
  # ======================================================================= #
  this_curriculum = ensure_main_encoding(this_curriculum)
  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 example:

Studium.map_curriculum_number_to_curriculum_name('033255') # => "Bachelorcurriculum Agrarwissenschaften"
#


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
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 328

def self.map_curriculum_number_to_curriculum_name(
    this_curriculum_number,
    reverse_order = false
  )
  # ======================================================================= #
  # 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(FILE_CURRICULA))
  #
  # In the future this comment will probably be removed.
  # ======================================================================= #
  _ = YAML.load_file(FILE_CURRICULA)
  this_curriculum_number = this_curriculum_number.to_s
  # ======================================================================= #
  # 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_meta_exam_theme_to_corresponding_exam_themes(i, dataset = nil) ⇒ Object

#

Studium.map_meta_exam_theme_to_corresponding_exam_themes

Input to this method should be like “meta_biochem”. This 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.

On my home system it can be found here:

bl $RUBY_STUDIUM/yaml/grouped_themes.yml
#


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
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3044

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
  return_this = i.dup
  case return_this # case tag
  # ======================================================================= #
  # === n_exams_in_this_topic meta_immunology
  #
  # Everything related to Immunology.
  # ======================================================================= #
  when /meta(_|-| |,)?immunology$/,
       /meta(_|-| |,)?immuno$/,
       /meta(_|-| |,)?imm$/,
       /meta7/
    return_this = dataset['immunology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_upcoming_exams
  #
  # Invocation example:
  #
  #   meta_upcoming_exams
  #   metaupcomingexams
  #
  # ======================================================================= #
  when /meta(_|-| |,)?upcoming(_|-| |,)?_exams/,
       /meta(_|-| |,)?upcoming$/i
    return_this = dataset['upcoming_exams']
  # ======================================================================= #
  # === 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$/
    return_this = dataset['virology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_chemistry
  #
  # Everything related to chemistry is stored here.
  # ======================================================================= #
  when /^meta(_|-| |,)?chemistry/, # ← metachem
       /^meta(_|-| |,)?chem$/,
       /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/,
       /^-?-?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$/
    return_this = dataset['programming']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_biotechnology
  #
  # Everything related to biotechnology.
  # ======================================================================= #
  when /^meta(_|-| |,)?biotechnology$/, # ← metabiotechnology
       /^meta(_|-| |,)?biotech$/
    return_this = dataset['biotechnology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_gentechnik
  # ======================================================================= #
  when /meta(_|-| |,)?gentechnik$/i,
       /meta(_|-| |,)?gentech$/i
    return_this = dataset['genetechnology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_cellbiology
  #
  # Everything related to cell biology is stored here.
  # ======================================================================= #
  when /meta(_|-| |,)?cellbiology/ # ← metacellbio
    return_this = dataset['cellbiology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_genetics
  #
  # Everything related to genes is stored here.
  # ======================================================================= #
  when /^meta(_|-| |,)?genetics/ # ← metagen
    return_this = dataset['genetics']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_microbiology
  #
  # Everything related to genes 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_zoology
  # ======================================================================= #
  when /meta(_|-| |,)?zoology/
    return_this = dataset['zoology']
  # ======================================================================= #
  # === n_exams_in_this_topic meta_plants
  # ======================================================================= #
  when /meta(_|-| |,)?plants/,
       /meta5/
    return_this = dataset['plants']
  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"
#


370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 370

def self.map_partial_input_to_full_curriculum_name(
    i = 'master_biotech'
  )
  i = i.dup if i.is_a? Array
  copy = i.dup
  _ = YAML.load_file(FILE_CURRICULA)
  inverted_dataset = _.invert.map {|key, value|
    key.first
  }
  if copy.include? 'master_'
    copy.sub!(/master_/,'Mastercurriculum ')
  end
  selection = inverted_dataset.select {|entry|
    entry.downcase.start_with? copy.downcase
  }
  if selection
    if selection.size > 1
      selection = selection.first
    end
    return selection
  else
    return i # else return the original input unmodified.
  end
end

.mkdir(i) ⇒ Object

#

Studium.mkdir

#


15
16
17
18
19
# File 'lib/studium/toplevel_methods/mkdir.rb', line 15

def self.mkdir(i)
  unless is_in_www_mode?
    FileUtils.mkdir_p(i)
  end
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
#


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

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_topics_available?Boolean

#

Studium.n_exam_topics_available?

#

Returns:

  • (Boolean)


30
31
32
# File 'lib/studium/toplevel_methods/n_topics_available.rb', line 30

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)


87
88
89
90
91
92
93
94
95
# File 'lib/studium/toplevel_methods/lecture_information.rb', line 87

def self.n_lectures_completed_successfully?
  require 'studium/toplevel_methods/return_sanitized_dataset_from_the_file_lecture_information.rb'
  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)


17
18
19
20
21
# File 'lib/studium/toplevel_methods/report_n_entries_in_the_file_lecture_information.rb', line 17

def self.n_lectures_registered?
  dataset = Studium.return_sanitized_dataset_from_the_file_lecture_information
  n_keys = dataset.keys.size
  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)


148
149
150
151
152
153
# File 'lib/studium/toplevel_methods/report.rb', line 148

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”.

#


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
# File 'lib/studium/curricula/n_percent_solved_in_this_curriculum.rb', line 23

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

#


121
122
123
# File 'lib/studium/toplevel_methods/n_questions_available.rb', line 121

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)


107
108
109
# File 'lib/studium/toplevel_methods/n_questions_available.rb', line 107

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

#


114
115
116
# File 'lib/studium/toplevel_methods/n_questions_available.rb', line 114

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)


66
67
68
69
70
71
72
# File 'lib/studium/exams/dataset.rb', line 66

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)


77
78
79
80
81
# File 'lib/studium/exams/dataset.rb', line 77

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.

#


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

def self.name_of_this_curriculum(i)
  i = i.first if i.is_a? Array
  i = Studium.return_file_for_this_curriculum(i)
  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.rb', line 101

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

.next_examObject

#

Studium.next_exam

#


101
102
103
# File 'lib/studium/exams/next_exam.rb', line 101

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)


510
511
512
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 510

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

.no_file_exists_at(i) ⇒ Object

#

Studium.no_file_exists_at

#


98
99
100
# File 'lib/studium/toplevel_methods/methods_related_to_files.rb', line 98

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 is a Time-object.

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

#


113
114
115
116
117
# File 'lib/studium/toplevel_methods/time.rb', line 113

def self.normalize_time(i)
  Time.parse(
    return_dd_mm_yy_and_time_from(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.

#


26
27
28
29
30
31
32
33
34
35
36
37
38
# File 'lib/studium/toplevel_methods/note_down_the_start_time_and_how_many_exams_have_been_already_solved.rb', line 26

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")
#


375
376
377
378
# File 'lib/studium/exams/next_exams.rb', line 375

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"
#


3183
3184
3185
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3183

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.

#


358
359
360
361
# File 'lib/studium/exams/next_exams.rb', line 358

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)
#


150
151
152
# File 'lib/studium/exams/open_exam_associated_url.rb', line 150

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
#


350
351
352
353
354
355
356
357
358
359
360
361
# File 'lib/studium/exams/upcoming_exams/misc.rb', line 350

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

#


54
55
56
57
58
59
60
61
62
63
# File 'lib/studium/toplevel_methods/editor.rb', line 54

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

#


104
105
106
# File 'lib/studium/exams/open_last_exam_question_asked_file/open_last_exam_question_asked_file.rb', line 104

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.

#


27
28
29
30
31
32
33
# File 'lib/studium/toplevel_methods/url.rb', line 27

def self.open_this_remote_url(
    remote_url,
    use_this_browser = DEFAULT_BROWSER
  )
  _ = use_this_browser+' --new-tab "'+remote_url+'"'
  esystem _
end

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

#

Studium.opnn

#


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

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

#


483
484
485
486
# File 'lib/studium/colours/colours.rb', line 483

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

.parse_commandline(i = ARGV) ⇒ Object

#

Studium.parse_commandline

#


729
730
731
# File 'lib/studium/commandline/misc.rb', line 729

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

.passed_ects_per_year(i = :default) ⇒ Object

#

Studium.passed_ects_per_year

#


169
170
171
# File 'lib/studium/utility_scripts/passed_ects_per_year.rb', line 169

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 will return a String such as 11.02.2018.

If the input 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.

Note that we will use the dataset from the file “passed_exams_per_month.csv”.

#


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
# File 'lib/studium/toplevel_methods/passed_this_exam_on.rb', line 31

def self.passed_this_exam_on(
    this_exam,
    optional_lva_id = nil
  )
  _ = 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

.percentage_mandatory_continues_assessment(in_this_curriculum) ⇒ Object

#

Studium.percentage_mandatory_continues_assessment

This method will simply return the percentage of the mandatory, continuous assessment practical courses, as a Float.

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

Invocation examples:

percentage = Studium.percentage_mandatory_continues_assessment('bachelor-genetic') # => 36.666666666666664
percentage = Studium.percentage_mandatory_continues_assessment('bachelor-vektor')  # => 37.22222222222222
#


1112
1113
1114
1115
1116
1117
# File 'lib/studium/exams/mandatory_continuous_assessment/mandatory_continuous_assessment.rb', line 1112

def self.percentage_mandatory_continues_assessment(in_this_curriculum)
  _ = Studium::Exams::MandatoryContinuousAssessment.new(in_this_curriculum, :do_not_run_yet)
  _.be_quiet
  _.run
  _.percentage?
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.

#


42
43
44
45
46
47
48
49
# File 'lib/studium/toplevel_methods/editor.rb', line 42

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/
#


126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/studium/constants/exam_topics.rb', line 126

def self.permanenty_set_directory_to_the_exam_topics(i)
  i << '/' unless i.end_with? '/'
  what = i
  into = 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

#


36
37
38
39
40
# File 'lib/studium/logging/ensure_that_the_log_directory_exists.rb', line 36

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 = 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.

#


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
# File 'lib/studium/toplevel_methods/pristine.rb', line 28

def self.pristine(
    i = 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_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)


36
37
38
# File 'lib/studium/project/project.rb', line 36

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.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.

#


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
# File 'lib/studium/toplevel_methods/has_this_module_been_completed.rb', line 29

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_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)


1078
1079
1080
# File 'lib/studium/exams/exam_question/exam_question.rb', line 1078

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.

#


1055
1056
1057
# File 'lib/studium/exams/exam_question/exam_question.rb', line 1055

def self.random_question
  ask_question(:random)
end

.random_topicObject

#

Studium.random_topic

#


136
137
138
# File 'lib/studium/toplevel_methods/available_topics.rb', line 136

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)
#


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
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 195

def self.read_dataset_from_a_curriculum_file(
    i,
    optional_commands      = nil,
    do_flatten_the_dataset = true
  )
  if block_given?
    yielded = yield
    case yielded
    when :remove_comments
      optional_commands = :remove_comments # <- Sync towards this variable.
    end
  end
  dataset = [i].flatten.compact
  dataset.map! {|entry|
    if entry.is_a?(Symbol) or
      (entry.is_a?(String) and entry.start_with?('--'))
      entry = ::Studium.return_file_for_this_curriculum(entry)
    end
    if entry.is_a? Array
      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/curriculum_related_code.rb')
        e "No file could be found at #{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_this_file_through_default_encoding(use_this_file) ⇒ Object

#

Studium.read_this_file_through_default_encoding

#


158
159
160
161
162
163
164
165
166
167
168
# File 'lib/studium/toplevel_methods/methods_related_to_files.rb', line 158

def self.read_this_file_through_default_encoding(
    use_this_file
  )
  use_this_encoding = Studium.encoding?
  if File.exist? use_this_file
    File.readlines(
      use_this_file,
      encoding: use_this_encoding
    )
  end
end

.regex_for_pwd_studObject

#

Studium.regex_for_pwd_stud

#


17
18
19
# File 'lib/studium/toplevel_methods/regexes.rb', line 17

def self.regex_for_pwd_stud
  REGEX_FOR_PWD_STUD
end

.registered_for_this_exam?(this_exam) ⇒ 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.

#

Returns:

  • (Boolean)


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
# File 'lib/studium/toplevel_methods/registered_for_this_exam.rb', line 22

def self.registered_for_this_exam?(this_exam)
  if this_exam.is_a? Array
    this_exam.each {|entry| registered_for_this_exam?(entry) }
  else
    # ===================================================================== #
    # We will either obtain a new, fresh dataset - or re-use the existing 
    # dataset assigned to an module-level instance variable.
    # ===================================================================== #
    if ::Studium.main_dataset?
      dataset = ::Studium.main_dataset?
    else
      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)
    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

.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.

#


15
16
17
18
19
20
# File 'lib/studium/toplevel_methods/remove_comments.rb', line 15

def self.remove_comments(i)
  if i.is_a? Array
    i = i.join("\n")
  end
  puts i.delete('#')
end

.remove_exam_topics_that_were_already_answered(i) ⇒ Object

#

Studium.remove_exam_topics_that_were_already_answered

#


15
16
17
18
19
20
21
22
23
24
25
# File 'lib/studium/toplevel_methods/remove_exam_topics_that_were_already_answered.rb', line 15

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"
#


67
68
69
70
# File 'lib/studium/toplevel_methods/misc.rb', line 67

def self.remove_html(i)
  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.

#


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
# File 'lib/studium/toplevel_methods/time.rb', line 132

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} /,'')
        end
      }
      # =================================================================== #
      # Next remove the english-named weekdays.
      # =================================================================== #
      ARRAY_ENGLISH_WEEKDAYS.each {|this_weekday|
        i.sub!(/^#{this_weekday} /,    '')  if i.include? this_weekday+' '
      }
    end
    i
  end
end

.remove_tags_from_this_input(i = '') ⇒ Object

#

Studium.remove_tags_from_this_input

#


12
13
14
15
16
17
18
19
# File 'lib/studium/toplevel_methods/remove_tags.rb', line 12

def self.remove_tags_from_this_input(i = '')
  i = i.first if i.is_a? Array
  begin
    return i.gsub(/<\/?[^>]*>/, '')
  rescue ArgumentError
    return i
  end
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().

#


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
# File 'lib/studium/toplevel_methods/time.rb', line 202

def self.remove_weekday_names_from(i)
  if i.nil?
    e 'No input argument supplied to this method '\
      '('+__method__.to_s+')'
    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 replace numbers such as 1 with ¹.

#


33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/studium/toplevel_methods/time.rb', line 33

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_all_lectures_matching_this_lecture_type(i) ⇒ Object

#

Studium.report_all_lectures_matching_this_lecture_type

#


16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/studium/toplevel_methods/report_all_lectures_matching_this_lecture_type.rb', line 16

def self.report_all_lectures_matching_this_lecture_type(i)
  if i.is_a? Array
    i.each {|entry| report_all_lectures_matching_this_lecture_type(entry) }
  else
    dataset = Studium.dataset_from_file_lecture_information
    selection = dataset.select {|name, inner_hash|
      type = inner_hash[:type]
      type == i
    }
    if selection.empty?
      e "No lectures match towards #{i}."
    else
      e
      e Colours.rev+
        'The following '+Studium::Colours.sfancy(selection.keys.size.to_s)+
        ' entries match towards the lecture type '+
         Studium::Colours.sfancy(i)+':'
      e
      selection.each_pair  {|name, inner_hash|
        e "  #{name}" # Report these entries here.
      }; e
    end
  end
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}
#


20
21
22
23
24
25
26
27
28
# File 'lib/studium/toplevel_methods/report_attributed_lectures_to_universities.rb', line 20

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.

#


128
129
130
131
132
133
134
135
# File 'lib/studium/toplevel_methods/average_grade.rb', line 128

def self.report_average_grade(
    use_csv_file_or_lecture_information = :determine_automatically,
    round_to_n_positions                = nil
  )
  puts 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.

#


141
142
143
# File 'lib/studium/toplevel_methods/report.rb', line 141

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 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}
#


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/toplevel_methods/report_n_ects_per_university.rb', line 25

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

#


26
27
28
29
30
# File 'lib/studium/toplevel_methods/report_n_entries_in_the_file_lecture_information.rb', line 26

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)} registered "\
    "courses in the file #{::Studium::Colours.sfile('lecture_information.yml')}."
end

.report_outdated_timetable_entries(i = ARGV) ⇒ Object

#

Studium.report_outdated_timetable_entries

#


140
141
142
# File 'lib/studium/utility_scripts/report_outdated_timetable_entries.rb', line 140

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

#


527
528
529
# File 'lib/studium/exams/show_themes/misc.rb', line 527

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.

#


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
# File 'lib/studium/toplevel_methods/report_solved_topics.rb', line 19

def self.report_solved_topics
  require 'studium/toplevel_methods/return_n_percent_solved_from_this_topic.rb'
  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+
      'The following '+
      ::Studium::Colours.steelblue(
        array_these_topics_are_completely_solved.size.to_s
      )+
      ' topics are completely solved:'
    e
    array_these_topics_are_completely_solved.each {|this_topic|
      e "  #{Colours.steelblue(this_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
#


48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/studium/toplevel_methods/note_down_the_start_time_and_how_many_exams_have_been_already_solved.rb', line 48

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

#


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
# File 'lib/studium/toplevel_methods/lva_numbers.rb', line 190

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
# File 'lib/studium/requires/require_ects_scripts.rb', line 17

def self.require_ects_scripts
  _ = "#{Studium.project_base_dir?}ects/"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/ects/#{File.basename(file)}"
    require file
  }
end

.require_the_exam_scriptsObject

#

Studium.require_the_exam_scripts

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
# File 'lib/studium/requires/require_the_exam_scripts.rb', line 17

def self.require_the_exam_scripts
  _ = "#{Studium.project_base_dir?}exams/"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/exams/#{File.basename(file)}"
    require file
  }
  require 'studium/requires/require_class_exams_solved.rb'
  # ======================================================================= #
  # And pull in the mandatory_continuous_assessment code as well.
  # ======================================================================= #
  require 'studium/exams/mandatory_continuous_assessment/mandatory_continuous_assessment.rb'
  require 'studium/exams/show_upcoming_exams/show_upcoming_exams.rb'
  require 'studium/exams/exam_registration_at/exam_registration_at.rb'
  require 'studium/toplevel_methods/return_n_percent_solved_from_this_topic.rb'
  # ======================================================================= #
  # And Studium::ExamsPerMonth next:
  # ======================================================================= #
  require 'studium/exams/exams_per_month/exams_per_month.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_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
# File 'lib/studium/requires/require_the_utility_scripts.rb', line 18

def self.require_the_utility_scripts
  _ = "#{Studium.project_base_dir?}utility_scripts/"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/utility_scripts/#{File.basename(file)}"
    require file
  }
end

.require_toplevel_methodsObject

#

Studium.require_toplevel_methods

Load up the module-method files, all of them.

#


17
18
19
20
21
22
23
24
# File 'lib/studium/requires/require_toplevel_methods.rb', line 17

def self.require_toplevel_methods
  name = 'toplevel_methods/'
  _ = "#{Studium.project_base_dir?}#{name}"
  Dir["#{_}*.rb"].each {|file|
    file = "studium/#{name}#{File.basename(file)}"
    require file
  }
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.

#


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
# File 'lib/studium/toplevel_methods/return_all_exams_on_this_day.rb', line 20

def self.return_all_exams_on_this_day(
    this_day = '02.05.2022'
  )
  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_examsObject

#

Studium.return_all_registered_upcoming_exams

This method is recommended to be used if you need to return all upcoming exams.

#


442
443
444
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 442

def self.return_all_registered_upcoming_exams
  Studium::ShowUpcomingExams.return_all_registered_upcoming_exams
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.

#


41
42
43
44
45
46
47
48
49
# File 'lib/studium/toplevel_methods/url.rb', line 41

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_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.

#


55
56
57
# File 'lib/studium/toplevel_methods/n_topics_available.rb', line 55

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.

#


77
78
79
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 77

def self.return_array_location_of_all_registered_curricula
  ARRAY_ALL_AVAILABLE_CURRICULA
end

.return_boku_logo_imageObject

#

Studium.return_boku_logo_image

#


108
109
110
111
112
113
# File 'lib/studium/constants/image_constants.rb', line 108

def self.return_boku_logo_image
  img(
    "#{IMG_DIRECTORY}studium/BOKU_VIENNA_LOGO_IMAGE.png",
    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'
#


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
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 779

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(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(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.

#


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/studium/toplevel_methods/return_dataset_for_this_exam_topic.rb', line 21

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)
    dataset = Studium.filter_away_invalid_questions(dataset)
    dataset
  else
    e "No file exists at `#{target_file}`."
  end
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.

#


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
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 512

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
  case i
  # ======================================================================= #
  # === :indi3
  #
  # This refers to the third individual curriculum, bachelor.
  # ======================================================================= #
  when :indi3
    i = return_file_for_this_curriculum(i)
  # ======================================================================= #
  # === :indi2
  #
  # This refers to the second individual curriculum, bachelor.
  # ======================================================================= #
  when :indi2
    i = return_file_for_this_curriculum(i)
  # ======================================================================= #
  # === :master_informatik_und_molekulare_biologie
  # ======================================================================= #
  when :master_bioinformatics_and_molecular_biotechnology,
       :indi4
    i = return_file_for_this_curriculum(i)
  # ======================================================================= #
  # === Mastercurriculum Dummy
  #
  # This is just for the test-curriculum.
  # ======================================================================= #
  when /^Mastercurriculum(-| )?Dummy$/i
    i = return_file_for_this_curriculum(:master_dummy_curriculum)
  # ======================================================================= #
  # === default_path
  #
  # This is the default entry point.
  # ======================================================================= #
  when :default_path,
       :default,
       :bachelor_vektorx,
       :bvek,
       :bvec,
       :indi1
    i = FILE_BACHELOR_VEKTORX
  # ======================================================================= #
  # === :master_vektorx
  #
  # This refers to the individual vector-curriculum, master-part.
  # ======================================================================= #
  when :master_vektorx
    i = return_file_for_this_curriculum(i)
  # ======================================================================= #
  # === bachelor_master_vektorx
  # ======================================================================= #
  when :bachelor_master_vektorx,
       :top,
       :main
    i = [return_file_for_this_curriculum(:bachelor_vektoren)]+
        [return_file_for_this_curriculum(:master_vektoren)]
  else
    if i and i.is_a?(String) and File.exist?(i)
      # In this case simply use that file as-is.
    else
      i = return_file_for_this_curriculum(i)
    end
  end
  unless i.is_a? Array
    i = [i].flatten.compact
  end
  i.each {|file|
    if file and File.exist?(file)
      dataset = File.readlines(file, encoding: MAIN_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
        else
          # e 'In line '+__LINE__.to_s+' of the file '+__FILE__.to_s
          # e "No entry was found for #{::Colours.steelblue(entry)}."
          # e 'Please correct this '+::Colours.tomato('error')+'.'
          if is_on_roebe?
            # e 'The caller() trace was:'
            # pp caller()
          end
          # exit
        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.

#


80
81
82
83
84
85
86
87
# File 'lib/studium/toplevel_methods/time.rb', line 80

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.

#


64
65
66
67
68
69
70
# File 'lib/studium/toplevel_methods/time.rb', line 64

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/"
#


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
# File 'lib/studium/toplevel_methods/return_directory_for.rb', line 30

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_exams(i, optional_commands = nil) ⇒ Object

#

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.

In order for this to work, the input-Hash for this method, which is the first argument to this method, must be given in the “correct format”.

In particular, we need entries within that Hash that have Symbols such as :next_exam and :remote_url, so make sure that these entries exist BEFORE you do access this method here. Some aliases are allowed as well, such as :exams, which may originate straight from the entries stored in the file “lecture_information.yml”.

An example entry for :next_exam would be this here:

:next_exam => "01.11.2017"

So in other words, the date of this upcoming exam must be passed in via the dd.mm.yyyy notation.

#


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
# File 'lib/studium/toplevel_methods/return_div_timetable_of_upcoming_exams.rb', line 83

def self.return_div_timetable_of_upcoming_exams(
    i, # <- The input is usually an Array.
    optional_commands = nil
  )
  n_ects_points_can_be_done = 0
  # ======================================================================= #
  # Keep an Array that tells us which lectures have no upcoming
  # exam entry. That way we can remedy this problem.
  # ======================================================================= #
  array_these_courses_have_no_upcoming_exam_entry = []
  array_obsolete_time_entries = []
  require 'html_tags' unless Object.const_defined? :HtmlTags
  _ = ''.dup
  # =================================================================== #
  # How many exams will be actually shown.
  # =================================================================== #
  we_will_show_n_exams = 0
  # =================================================================== #
  # === Timetable tag
  # =================================================================== #
  _ << TIMETABLE_DIV+N # in $RUBY_STUDIUM/constants/www_constants.rb
  _ << '<b style="font-size: 1.5em; padding-left:1.5em">'
  # =================================================================== #
  # Next, build up the HTML table that will be displayed, via the
  # <table> tag.
  # =================================================================== #
  the_html_table = '<table cellspacing="3" style="font-size:0.8em; margin-left:4em; padding:4px; border-collapse: collapse;">'+N+N
  the_html_table << '<tr style="font-size:larger; font-weight:bold">'+N
  the_html_table << '  <td><b>University</b></td>'+N
  the_html_table << '  <td style="padding:6px">Name of the lecture<td>'+N
  the_html_table << '  <td style="padding:6px">n ECTS points and date of the exam</td>'+N
  # the_html_table << '  <td style="padding:6px">date of the exam</td>'+N
  the_html_table << '  <td style="padding:6px">priority and remote URL</td></tr>'+N
  inner_counter = 0
  # =================================================================== #
  # We expect the Hash to be already time-sorted, so you may have to
  # make sure on your own that this is the case, before calling this
  # method.
  # =================================================================== #
  i.each {|name_of_the_lecture, inner_hash|
    # ================================================================= #
    # Do note that the following variable is normally an Array, such
    # as ["Freitag 13.07.2018, 15:30-18:00, Ort: Audimax ...']
    # ================================================================= #
    registered_for_an_upcoming_exam_at = inner_hash['registered']
    n_ects_points = inner_hash[:ects].to_s.dup
    lva_id        = name_of_the_lecture.split(' ').first.to_s
    lecture_type  = inner_hash[:type]
    already_solved_this_lecture = inner_hash[:already_solved]
    at_this_university = inner_hash[:university].to_sym
    # ================================================================= #
    # Very early on, we will register entries that:
    #
    #   (1) we have NOT yet solved
    #   (2) that do NOT have an entry called exams:
    #   (3) for entries that are not mandatory-attendance, aka
    #       "prüfungsimmanent"
    #
    # ================================================================= #
    unless already_solved_this_lecture
      unless inner_hash.has_key? 'exams'
        unless is_prüfungsimmanent?(lecture_type, :SE) # ← Only ignore seminar-type lectures.
          array_these_courses_have_no_upcoming_exam_entry << 
            # "#{lva_id} #{name_of_the_lecture}"
            "#{name_of_the_lecture}"
        end
      end
    end
    # ================================================================= #
    # If the lva_id does not at the least have two consecutive numbers,
    # we will use another method to guess a lva-id here.
    # ================================================================= #
    unless lva_id =~ /\d{2}/
      lva_id = ::Studium.try_to_guess_the_most_likely_lva_id(
        name_of_the_lecture
      )
    end
    # ================================================================= #
    # Add an "invisible" LVA ID entry next.
    # ================================================================= #
    colourized_lva_id =
      '<span style="color:white; font-weight: bold"> '+lva_id+'</span>'
    case optional_commands
    when :remove_leading_lva_id_entries
      if name_of_the_lecture.include? ' '
        name_of_the_lecture = name_of_the_lecture.split(' ')[1..-1].join(' ').strip
      end
    end
    lecture_has_been_solved_already = false
    # ===================================================================== #
    # The first entry keeps the name of the lecture. The inner hash keeps
    # the associated dataset and will have entries such as remote_url.
    # ===================================================================== #
    if inner_hash.has_key? :next_exam
      the_next_exam = inner_hash[:next_exam]
    elsif inner_hash.has_key? 'exams'
      the_next_exam = inner_hash['exams']
      the_next_exam = the_next_exam.first if the_next_exam.is_a? Array
    end
    if inner_hash.has_key? :already_solved
      lecture_has_been_solved_already = inner_hash[:already_solved]
    end
    # ===================================================================== #
    # Next determine the remote URL. It will be available in the variable
    # called remote_url.
    # ===================================================================== #
    if inner_hash.has_key? :homepage
      remote_url = inner_hash[:homepage] 
    elsif inner_hash.has_key? :remote_url
      remote_url = inner_hash[:remote_url]
    elsif inner_hash.has_key? :url
      remote_url = inner_hash[:url]
    else # else this key does not exist, so we must query beautiful_url
    end
    original_priority = nil
    _priority = inner_hash[:priority] # This is optional.
    original_priority = _priority.to_i if _priority
    # ===================================================================== #
    # if the_next_exam.nil? and !lecture_has_been_solved_already
    #   e 'A nil value was found for '+
    #     Studium::Colours.sfancy(name_of_the_lecture)
    #   pp inner_hash
    # end # ^^^ disabled as of March 2018; may re-consider re-enabling it one day.
    # ===================================================================== #
    if the_next_exam and (!lecture_has_been_solved_already)
      # =================================================================== #
      # The variable the_next_exam can also be an Array such as:
      #   ["01.03.2018, 10:00-13:00"]
      # Hence, the following check has to be used.
      # =================================================================== #
      if the_next_exam.is_a? Array
        the_next_exam = the_next_exam.first
      end
      first_part = the_next_exam
      unless the_next_exam.is_a? Time
        first_part = first_part.split(',').first
        # =================================================================== #
        # Also remove weekend days if it is a String already.
        # =================================================================== #
        if first_part.is_a? String
          first_part.squeeze!(' ')
          first_part = remove_leading_weekday_names_from(first_part)
        end
        # =================================================================== #
        # We may only display exams that are upcoming, not exams that
        # have already been happening. This explains the following code.
        #
        # 12 hours cool-down phase before showing an old exam.
        # =================================================================== #
        if first_part.nil?
          e "There is a problem: #{name_of_the_lecture} has "\
            "invalid time entries. Please fix this."
        end
        unless first_part =~ /\d+/ # Unless it does not have at the least one number
          e 'Something appears to be wrong for the time-format '\
            'of the lecture `'+name_of_the_lecture+'`.'
        end
      end
      twelve_hours_ago = (Time.now - (12 * ONE_HOUR))
      if first_part.is_a? Time
        time_parsed_first_part = first_part
      else
        time_parsed_first_part = Time.parse(first_part)
      end
      if time_parsed_first_part < twelve_hours_ago
        # ================================================================= #
        # This is valid for when the exam is already over. We will
        # add it into an Array. But only with a 23 hour delay or so.
        # ================================================================= #
        array_obsolete_time_entries << lva_id+' '+
                                       name_of_the_lecture+' '+
                                       first_part.to_s.squeeze(' ')
      else
        n_ects_points_can_be_done += n_ects_points.to_f
        we_will_show_n_exams += 1
        inner_counter += 1
        # ================================================================= #
        # Colourize in crimson.
        # ================================================================= #
        if the_next_exam.frozen?
          the_next_exam = the_next_exam.to_s.dup
        end
        unless the_next_exam.is_a? Time
          the_next_exam.lstrip!
          # =============================================================== #
          # The next line will get rid of e. g. "Freitag" and similar strings.
          # =============================================================== #
          the_next_exam = remove_leading_weekday_names_from(the_next_exam)
        end
        if _priority
          case _priority.to_s.strip
          when '1'
            # ============================================================= #
            # High priority entries get the colour blue.
            # ============================================================= #
            _priority = '<b>Priorität: <span style="font-size:xx-large; color: darkblue">'+
              _priority.to_s+
            '</span></b>'+N
          else
            _priority = '<b>Priorität: <span style="font-size:large;">'+
              _priority.to_s+
            '</span></b>'+N
          end
        end
        # ================================================================= #
        # Colourize the next exam with a crimson colour.
        # ================================================================= #
        if the_next_exam.is_a? Time
          the_next_exam = dd_mm_yyyy(the_next_exam)
        end
        crimson_coloured_the_next_exam = the_next_exam.sub(
          /(\d\d.\d\d.\d\d\d\d)/, # See: http://rubular.com/r/qOQqVOjR63
          '<span style="color:crimson">\1</span>'
        )
        # ================================================================= #
        # Add the counter next. And colourize the more important lectures
        # in darkblue. Lectures that are part of the vektor-curriculum
        # get midnightblue in colour and will be larger.
        # ================================================================= #
        possibly_colourized_name_of_the_lecture = name_of_the_lecture.dup
        if Studium.is_part_of_the_vektor_curriculum?(possibly_colourized_name_of_the_lecture)
          possibly_colourized_name_of_the_lecture =
            '<span style="color: midnightblue; text-decoration: underline">'+
            possibly_colourized_name_of_the_lecture+
            '</span>'
        else
          if original_priority == 1 # Then use a darkblue colour for the lecture in this case.
            possibly_colourized_name_of_the_lecture =
              '<span style="color: darkblue">'+
              possibly_colourized_name_of_the_lecture+
              '</span>'
            if registered_for_an_upcoming_exam_at.is_a? Array
              possibly_colourized_name_of_the_lecture =
                '<i style="text-decoration: underline;">'+
                possibly_colourized_name_of_the_lecture+
                '</i>'
            end
          end
        end
        # ================================================================= #
        # Add the name of the lecture next, including a little balloon
        # popup.
        # ================================================================= #
        if original_priority < 6
          add_this_text_for_the_balloon = n_ects_points.to_s.dup
          if registered_for_an_upcoming_exam_at
            add_this_text_for_the_balloon << ' ECTS (registered for this exam)'
          end
          possibly_colourized_name_of_the_lecture_with_balloon_tooltip =
            # ============================================================= #
            # Add the balloon next:
            # ============================================================= #
            add_balloon(
              add_this_text_for_the_balloon,
              possibly_colourized_name_of_the_lecture
            )
          # =============================================================== #
          # Creating the <html>-table's content next. This will make use
          # of a university-logo.
          # =============================================================== #
          if remote_url.is_a? Array
            remote_url = remote_url.first 
          end
          the_html_table << N+N+
                            '<tr>'+N+
                            '<td>'+
                            '<a href ="'+remote_url+'">'+
                            Studium.return_logo_for_this_university(at_this_university).to_s+
                            '</a>'+N+
                            '</td>'+N+
                            '<td>'\
                            '<b>'+' ('+inner_counter.to_s+') '+
                            possibly_colourized_name_of_the_lecture_with_balloon_tooltip+'</b> '+
                            colourized_lva_id+
                            '</td>'+N
        end
        # ================================================================= #
        # We will also add the weekday entry in the following code chunk.
        # ================================================================= #
        use_this_weekday = Studium.return_weekday_of_this_date(
          the_next_exam, :german
        ).strip
        # ================================================================= #
        # Add the amount of ECTS points next.
        # ================================================================= #
        if original_priority < 6
          if registered_for_an_upcoming_exam_at.is_a? Array
            # =============================================================== #
            # This entry point is for exams the user has registered for.
            # =============================================================== #
            the_html_table << '<td><b style="color: navy">' << n_ects_points.to_s << ' ECTS</b></td>'+N
          else
            the_html_table << '<td><b>' << n_ects_points.to_s << ' ECTS</b></td>'+N
          end
          # ================================================================= #
          # Add the next exam to the HTML table next. We will also use
          # the weekday.
          # ================================================================= #
          the_html_table << "<td><b style=\"color: #930522\">#{use_this_weekday}</b> "\
                            "<b>#{crimson_coloured_the_next_exam}</b></span> "\
                            "<span></td>#{N}"
          # ================================================================= #
          # Append the priority but only if the priority is smaller than 6.
          # We will also show the URL here.
          # ================================================================= #
          the_html_table << "<td>#{_priority}"\
                            "<span style=\"font-size:smaller\">"\
                            "#{HtmlTags.a(remote_url.to_s)}</span></td></tr>#{N}"
        end
      end
    else
      # =================================================================== #
      # Ok, so the lecture may have not been solved already. We could
      # report this, but I found this to be too spammy so I disabled it
      # during March 2018.
      # =================================================================== #
      # if !lecture_has_been_solved_already
      #   cliner {
      #     e 'The lecture '+Studium::Colours.sfancy(name_of_the_lecture)+' either '\
      #       'does not have a key called '+Studium::Colours.orange(':next_exam or exams')+
      #       ' - at the least none could be found.'
      #     pp inner_hash
      #     pp the_next_exam
      #   }
      # end
    end
  }
  _ << the_html_table+'</table>'+N # Add the HTML table here.
  # ======================================================================= #
  # Sneak in the timetable-header next.
  # ======================================================================= #
  _[TIMETABLE_DIV.size+1,0] =
    "<div style=\"#{CSS_STYLE_TO_USE_FOR_THE_FIRST_TIMETABLE_DIV}\">#{N}#{N}"\
    "Timetable for the next #{we_will_show_n_exams} upcoming exams:</b>"\
     "#{N}#{N}</div>"
  # ======================================================================= #
  # Report how many ECTS points can be attained through the registered
  # exams listed above.
  # ======================================================================= #
  _ << '<br><span style="margin-left: 2em; font-family: monospace; '\
       'font-size:1.1em">A total of <b style="color:darkblue">'+
       n_ects_points_can_be_done.to_s+' ECTS points</b> '\
       'can be attained through the above exams.</span>'+N
  _ << '</div>' # End the Timetable <div> tag here.
  # ======================================================================= #
  # Add obsolete time entries then.
  # ======================================================================= #
  unless array_obsolete_time_entries.empty?
    string = 'There are some outdated entries:'.dup
    string << "#{N}Consider updating these entries in the file lecture_information.yml#{N}"
    e string
    _ << HtmlTags.h3(string)
    array_obsolete_time_entries.each {|this_lecture|
      this_lecture.squeeze!(' ')
      # =================================================================== #
      # ["182.711", "Betriebssysteme", "04.03.2020"]
      # =================================================================== #
      splitted = this_lecture.split(' ')
      splitted[-1] = "# #{splitted[-1]}"
      this_lecture = splitted.join(' ')
      leading_part = this_lecture.split(' ')[0 .. -2].join(' ')
      e ::Colours.crimson('')+
        ::Colours.orange(this_lecture)
      # =================================================================== #
      # Since as of 29.01.2020 we will also display the remote URL here.
      # =================================================================== #
      if leading_part.end_with? ' #'
        leading_part[-2,2] = '' # Ad-hoc fix.
      end
      remote_url = Studium.return_remote_homepage_of_this_lecture(leading_part)
      _ << "<b>#{this_lecture}</b> → <b><a href=\"#{remote_url}\">"\
           "#{remote_url}</a></b><br>#{N}"
    }
  end
  # ======================================================================= #
  # And report lectures without an upcoming exam entry.
  # ======================================================================= #
  unless array_these_courses_have_no_upcoming_exam_entry.empty?
    n_courses = array_these_courses_have_no_upcoming_exam_entry.size
    _ << '<h4 style="margin-left:1em">The following '+n_courses.to_s+' courses '\
         'have no upcoming exam entry:</h4>'+N
    main_dataset = Studium.main_dataset?
    array_these_courses_have_no_upcoming_exam_entry.each {|entry|
      possible_remote_homepage = Studium.return_remote_homepage_of_this_lecture(entry)
      # =================================================================== #
      # Must expand the name next:
      # =================================================================== #
      entry = Studium.try_to_return_the_expanded_name_of_this_lecture(entry)
      if possible_remote_homepage == entry
        # ================================================================= #
        # In this case try again, but with BeautifulUrl instead.
        # ================================================================= #
        possible_remote_homepage = BeautifulUrl[possible_remote_homepage]
      end
      if possible_remote_homepage.is_a? Array
        possible_remote_homepage = possible_remote_homepage.first
      end
      this_university = main_dataset[entry][:university]
      # =================================================================== #
      # Next insert the picture of the university on the left hand side:
      # =================================================================== #
      case this_university.to_s
      when 'Uni Wien','BOKU','TU Vienna'
        _ << '<a href ="'+possible_remote_homepage+'" style="margin-left:4em">'+
                         Studium.return_logo_for_this_university(this_university).to_s+
                         '</a>'+N
      end
      _ << '<span style="font-weight:bold">'+entry+'</span>'
      _ << ' | <a href="'+possible_remote_homepage+'">'+possible_remote_homepage+'</a>'
      _ << '<br>'
    }
  end
  _ # And return the result here.
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)
#


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
# File 'lib/studium/toplevel_methods/ects_from_lectures.rb', line 49

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
    unless optional_name_of_the_lecture.encoding.to_s.include? ::Studium.main_encoding?
      if optional_name_of_the_lecture.frozen?
        optional_name_of_the_lecture = optional_name_of_the_lecture.dup
      end
      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_file_for_this_curriculum(i = :bachelor_basisblock_biologie) ⇒ Object

#

Studium.return_file_for_this_curriculum

This method will translate from the given input, which should be a Symbol, to the file that will contain the actual curriculum that we are searching for. Note that passing a String is ok, but the default behaviour looks for a Symbol.

Keep in mind that in the following case/when menu the most important entry should come first, right after the “when ” part.

To test this, try:

x = Studium.return_file_for_this_curriculum(:bachelor_ökologie_curriculum)
x = Studium.return_file_for_this_curriculum(:bachelor_vektor_curriculum)
#


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
# File 'lib/studium/constants/return_file_for_this_curriculum.rb', line 29

def self.return_file_for_this_curriculum(
    i = :bachelor_basisblock_biologie
  )
  if i.is_a? Array
    i = i.first
  end
  case i
  # ======================================================================= #
  # === :random
  # ======================================================================= #
  when :random
    i = ARRAY_REGISTERED_CURRICULA.sample
  end
  i = i.dup if i and i.is_a?(String)
  if i.is_a?(String) and !File.exist?(i)
    if i.start_with? '--'
      i.sub!(/^--/, '')
    end
    i.tr!(' ','_') if i.include? ' '
    i.tr!('-','_') if i.include? '-'
    i = i.to_sym # We have to work with a Symbol in this case.
  end
  case i # case tag
  # ======================================================================= #
  # === :bachelor_vektor_curriculum
  #
  # This is the entry that has the :default symbol assigned.
  # ======================================================================= #
  when :bachelor_vektor_curriculum,
       :bachelor_vektorx_curriculum,
       :bachelor_vektoren,
       :bachelor_vector,
       :bachelor_vektorx,
       :bachelor_vektor,
       :bachelorvektorx,
       :bachelorvektor,
       :bachelorvektoren,
       :bachelor_vector_curriculum,
       :bvektorx,
       :bvektor,
       :bvector,
       :bachelor,
       :bvek,
       :bvec,
       :vektor,
       :default,
       :indi1,
       :indi, # ← The main indi entry point.
       :"Bachelorcurriculum Vector-based strategies in Life Sciences, Molecular Medicine and Biotechnology",
       /^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
    FILE_BACHELOR_VEKTORX
  # ======================================================================= #
  # === :master_vektoren_curriculum
  # ======================================================================= #
  when :master_vektoren_curriculum,
       :master_vektoren,
       :master_vektorx,
       :master_vector,
       :master_vektor,
       :master,
       :mvektorx,
       :mvektor,
       :mvector,
       :mastervektor,
       :master_vektor_curriculum,
       :mastermolekularsimulatorischtherapeutischevektoren,
       :mvek,
       :indi5,
       /^mvek$/i,
       /^Mastercurriculum( |_|-)?Vector( |_|-)?based( |_|-)?strategies( |_|-)?in( |_|-)?Life( |_|-)?Sciences\,?( |_|-)?\(?Bio\)?Informatics\,?( |_|-)?Molecular( |_|-)?Medicine( |_|-)?and( |_|-)?Biotechnology$/i
    FILE_MASTER_MOLEKULARSIMULATORISCHE_VEKTOREN
  # ======================================================================= #
  # === :bachelor_technical_chemistry_curriculum
  # ======================================================================= #
  when :bachelor_technical_chemistry_curriculum,
       :technical_chemistry_curriculum,
       :bachelor_technische_chemie_curriculum,
       :bachelor_technische_chemie,
       :tu_wien_chem
    FILE_BACHELOR_TECHNISCHE_CHEMIE_CURRICULUM
  # ======================================================================= #
  # === :bachelor_bioinformatik_und_molekulare_biotechnologie
  #
  # This is the individual curriculum at the BOKU.
  # ======================================================================= #
  when :bachelor_bioinformatik_und_molekulare_biotechnologie,
       :bachelor_bioinformatik_und_biotechnologie,
       :bachelor_bioinformatik_an_der_boku,
       :indi2,
       /^Bachelorcurriculum( |_|-)?\(?Bio\)?( |_|-)?Informatik( |_|-)?und( |_|-)?molekulare( |_|-)?Biotechnologie,( |_|-)?unter( |_|-)?Berücksichtigung( |_|-)?medizinisch( |_|-)?immunologischer( |_|-)?Aspekte$/i,
       /^\(?Bio\)?( |_|-)?Informatik( |_|-)?und( |_|-)?molekulare( |_|-)?Biotechnologie,( |_|-)?unter( |_|-)?Berücksichtigung( |_|-)?medizinisch( |_|-)?immunologischer( |_|-)?Aspekte$/i
    FILE_BACHELOR_BIOINFORMATIK_UND_MOLEKULARE_BIOTECHNOLOGIE_UNTER_BERÜCKSICHTIGUNG_MEDIZINISCH_IMMUNOLOGISCHER_ASPEKTE_CURRICULUM
  # ======================================================================= #
  # === :bachelor_informatik_und_molekulare_biologie
  # ======================================================================= #
  when :bachelor_informatik_und_molekulare_biologie,
       :bachelor_biologische_informatik,
       :indi3,
       :top,
       /^Bachelorcurriculum( |_|-)?Informatik( |_|-)?und( |_|-)?molekulare( |_|-)?Biologie$/i,
       /^Informatik( |_|-)?und( |_|-)?molekulare( |_|-)?Biologie$/i
    FILE_BACHELOR_INFORMATIK_UND_MOLEKULARE_BIOLOGIE
  # ======================================================================= #
  # === :master_bioinformatics_and_molecular_biotechnology
  #
  # This is the individual master-curriculum at the BOKU.
  # ======================================================================= #
  when :master_bioinformatics_and_molecular_biotechnology,
       :master_bioinformatik_an_der_boku,
       :indi4,
       /^Mastercurriculum( |_|-)?Informatik( |_|-)?und( |_|-)?molekulare( |_|-)?Biologie$/i,
       /^Mastercurriculum( |_|-)?\(?Bio\)?Informatics( |_|-)?and( |_|-)?molecular( |_|-)?biotechnology( |_|-)?including( |_|-)?aspects( |_|-)?from( |_|-)?molecular( |_|-)?medicine$/i
    FILE_MASTER_BIOINFORMATICS_AND_MOLECULAR_BIOTECHNOLOGY
  # ======================================================================= #
  # === :bachelor_wirtschaftsinformatik_curriculum
  # ======================================================================= #
  when :bachelor_wirtschaftsinformatik_curriculum,
       :bachelor_wirtschaftsinformatik_033526
    FILE_BACHELOR_TUWIEN_WIRTSCHAFTSINFORMATIK_CURRICULUM
  # ======================================================================= #
  # === :master_dummy_curriculum
  # ======================================================================= #
  when :master_dummy_curriculum,
       :master_dummy,
       :mdummy
    FILE_MASTER_DUMMY_CURRICULUM
  # ======================================================================= #
  # === :bachelor_dummy_curriculum
  # ======================================================================= #
  when :bachelor_dummy_curriculum,
       :bachelor_dummy,
       :dummy
    FILE_BACHELOR_DUMMY_CURRICULUM
  # ======================================================================= #
  # === :bachelor_lmbt_curriculum
  # ======================================================================= #
  when :bachelor_lmbt_curriculum,
       :bachelor_lmbt,
       :bachelor_boku_lmbt_curriculum,
       :bachelor_lbt,
       :lbt
    FILE_BOKU_BACHELOR_LMBT_CURRICULUM
  # ======================================================================= #
  # === :master_lmbt_curriculum
  # ======================================================================= #
  when :master_lmbt_curriculum,
       :master_lmbt,
       :master_biotech,
       :master_lbt,
       :mlbt
    FILE_MASTER_LMBT_CURRICULUM
  # ======================================================================= #
  # === :bachelor_bioinformatik_und_molekulare_biotechnologie
  # ======================================================================= #
  when :bachelor_forstwirtschaft,
       :bachelor_forstwirtschaft_curriculum,
       :forstwirtschaft
    FILE_BACHELOR_FORSTWIRTSCHAFT_CURRICULUM
  # ======================================================================= #
  # === :bachelor_agrarwissenschaften_curriculum
  # ======================================================================= #
  when :bachelor_agrarwissenschaften_curriculum,
       :bachelor_agrarwissenschaften,
       :agrar,
       :Agrarwissenschaften,
       :aw
    FILE_BACHELOR_AGRARWISSENSCHAFTEN_CURRICULUM
  # ======================================================================= #
  # === :bachelor_boku_ubrm_curriculum
  # ======================================================================= #
  when :bachelor_boku_ubrm_curriculum,
       :bachelor_ubrm
    FILE_BACHELOR_UBRM_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,
       :bachelor_master_vektorx,
       :bachelor_master_vektor_curriculum,
       :bachelor_master_x,
       :bachelormastervektor,
       :vectorx,
       :bmvektor,
       :combined
    [
      FILE_BACHELOR_VEKTORX,
      FILE_MASTER_MOLEKULARSIMULATORISCHE_VEKTOREN
    ]
  # ======================================================================= #
  # === :bachelor_molekularbiologie_graz
  # ======================================================================= #
  when :bachelor_molekularbiologie_graz,
       :bachelor_molekularbiologie_graz_curriculum,
       :bachelor_molekularbiologie_curriculum,
       :bachelor_molekularbiologie
    FILE_BACHELOR_MOLEKULARBIOLOGIE_GRAZ_CURRICULUM
  # ======================================================================= #
  # === :bachelor_ernährung_curriculum
  # ======================================================================= #
  when :bachelor_ernährung_curriculum,
       :bachelor_nutrition_science
    FILE_UNI_WIEN_BACHELOR_ERNÄHRUNGSWISSENSCHAFTEN_CURRICULUM
  # ======================================================================= #
  # === :bachelor_genetik_curriculum
  #
  # This one is also a conjugate curriculum, built upon the
  # "basisblock biologie".
  # ======================================================================= #
  when :bachelor_biologie_mikrobiologie_und_genetik,
       :bachelor_genetik_curriculum,
       :bachelor_genetics,
       :bachelor_genetik,
       :genetik_curriculum,
       :bgenetik
    [
      FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE,
      FILE_BACHELOR_GENETIK
    ]
  # ======================================================================= #
  # === :bachelor_verfahrenstechnik_curriculum
  # ======================================================================= #
  when :bachelor_verfahrenstechnik_curriculum,
       :bachelor_verfahrenstechnik,
       :verfahrenstechnik_curriculum,
       :verfahrenstechnik
    FILE_BACHELOR_VERFAHRENSTECHNIK_CURRICULUM
  # ======================================================================= #
  # === :master_genetik_und_entwicklungsbiologie_curriculum
  # ======================================================================= #
  when :master_genetik_und_entwicklungsbiologie_curriculum,
       :master_genetik_und_entwicklungsbiologie,
       :genetik_und_entwicklungsbiologie
    FILE_MASTER_GENETIK_UND_ENTWICKLUNGSBIOLOGIE_CURRICULUM
  # ======================================================================= #
  # === :bachelor_pharmazie_curriculum
  # ======================================================================= #
  when :bachelor_pharmazie_curriculum,
       :bachelor_pharmazie,
       :pharmazie
    FILE_BACHELOR_PHARMAZIE_CURRICULUM
  # ======================================================================= #
  # === :master_pharmazie_curriculum
  # ======================================================================= #
  when :master_pharmazie_curriculum,
       :master_pharmazie,
       :mpharmazie
    FILE_MASTER_PHARMAZIE_CURRICULUM
  # ======================================================================= #
  # === :bachelor_chemie_curriculum
  # ======================================================================= #
  when :bachelor_chemie_curriculum,
       :bachelor_chemie,
       :bachelor_chemistry,
       :bachelor_chemie_uniwien
    FILE_BACHELOR_CHEMIE_CURRICULUM
  # ======================================================================= #
  # === :master_immuno
  # ======================================================================= #
  when :master_immuno,
       :master_immunobiology_curriculum,
       :Immuno
    FILE_MASTER_IMMUNOBIOLOGY_CURRICULUM
  # ======================================================================= #
  # === :master_biologische_chemie_curriculum
  # ======================================================================= #
  when :master_biologische_chemie_curriculum,
       :master_biologische_chemie,
       :Biologische_Chemie,
       :biologische_chemie
    FILE_MASTER_BIOLOGISCHE_CHEMIE_CURRICULUM
  # ======================================================================= #
  # === :bachelor_ktww_curriculum
  # ======================================================================= #
  when :bachelor_ktww_curriculum,
       :bachelor_boku_ktww_curriculum,
       :bachelor_ktww,
       :ktww
    FILE_BACHELOR_BOKU_KTWW_CURRICULUM
  # ======================================================================= #
  # === :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
  # ======================================================================= #
  # === :bachelor_informatik_curriculum,
  # ======================================================================= #
  when :bachelor_informatik_curriculum,
       :bachelor_informatik,
       :binformatik
    FILE_BACHELOR_INFORMATIK_CURRICULUM
  # ======================================================================= #
  # === :master_tu_vienna_biotechnology_curriculum
  # ======================================================================= #
  when :master_tu_vienna_biotechnology_curriculum,
       :master_tu_vienna_biotechnology,
       :master_tuvienna_biotechnology,
       :master_tuwien_biotechnologie
    FILE_TUWIEN_MASTER_BIOTECHNOLOGY_CURRICULUM
  # ======================================================================= #
  # === :bachelor_ökologie_curriculum
  # ======================================================================= #
  when :bachelor_ökologie_curriculum,
       :bachelor_ökologie,
       :bachelor_ecology
    FILE_BACHELOR_ECOLOGY
  # ======================================================================= #
  # === :bachelor_medizinische_informatik
  # ======================================================================= #
  when :bachelor_medizinische_informatik,
       :bachelor_medizinische_informatik_curriculum,
       :medizinische_informatik
    FILE_BACHELOR_MEDIZINISCHE_INFORMATIK_CURRICULUM
  # ======================================================================= #
  # === :master_bioinformatik_curriculum
  # ======================================================================= #
  when :master_bioinformatik_curriculum,
       :master_bioinformatik,
       :master_bioinformatics
    FILE_UNIWIEN_MASTER_BIOINFORMATIK_CURRICULUM
  # ======================================================================= #
  # === :bachelor_botanik_curriculum
  # ======================================================================= #
  when :bachelor_botanik_curriculum,
       :bachelor_botanik
    [
      FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE,
      FILE_BACHELOR_BOTANIK_CURRICULUM
    ]
  # ======================================================================= #
  # === :bachelor_molekulare_biologie_curriculum
  # ======================================================================= #
  when :bachelor_molekulare_biologie_curriculum,
       :bachelor_molekulare_biologie,
       :bachelor_molbio
    [
      FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE,
      FILE_BACHELOR_MOLEKULARE_BIOLOGIE
    ]
  # ======================================================================= #
  # === :master_molbio_curriculum
  # ======================================================================= #
  when :master_molbio_curriculum,
       :master_molbio
    FILE_MASTER_MOLBIO
  # ======================================================================= #
  # === :bachelor_basisblock_biologie,
  # ======================================================================= #
  when :bachelor_basisblock_biologie,
       :bachelor_biologie_basisblock_curriculum
    FILE_UNIWIEN_BACHELOR_BASISBLOCK_BIOLOGIE
  # ======================================================================= #
  # === :master_boku_individuell
  # ======================================================================= #
  when :master_boku_individuell
    FILE_MASTER_BOKU_INDIVIDUELLES_CURRICULUM_BIOINFORMATIK_UND_BIOANALYTIK
  # ======================================================================= #
  # === :bachelor_boku_individuell
  # ======================================================================= #
  when :bachelor_boku_individuell
    FILE_BACHELOR_BOKU_INDIVIDUELLES_CURRICULUM_BIOINFORMATIK_UND_BIOANALYTIK
  # ======================================================================= #
  # === :bachelor_master_tu_wien
  # ======================================================================= #
  when :bachelor_master_tu_wien
    FILE_BACHELOR_MASTER_TU_WIEN_INDIVIDUELLES_STUDIUM
  end
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.

#


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/studium/toplevel_methods/return_hash_of_already_solved_lectures.rb', line 21

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

#


13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# File 'lib/studium/toplevel_methods/return_last_exam_question.rb', line 13

def self.return_last_exam_question
  _ = ENV['HOME'].to_s+'/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>/,'')
    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)
#


445
446
447
448
449
450
451
452
453
454
455
456
457
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 445

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/"
#


34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/studium/toplevel_methods/return_local_path_of_this_pwdstud.rb', line 34

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 = ensure_main_encoding(dataset[key]).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.

#


3226
3227
3228
3229
3230
# File 'lib/studium/toplevel_methods/find_exam_topic_and_exam_title.rb', line 3226

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 "#{::Studium.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.

#


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
# File 'lib/studium/constants/image_constants.rb', line 41

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) ⇒ 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'
#


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
# File 'lib/studium/toplevel_methods/lva_numbers.rb', line 232

def self.return_lva_number_of_this_curriculum(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(FILE_CURRICULA)
  reverse_dataset = dataset.invert # Must get rid of two strings.
  _ = {}
  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
      e 'The curriculum '+Studium::Colours.simp(i)+' corresponds '\
        'to the number `'+
        Studium::Colours.sfancy(reverse_dataset[i])+'`.'
    else
      e 'The curriculum for '+Studium::Colours.sfancy(i)+' does not appear to be registered.'
      e '  '+Studium::Colours.sfile(FILE_CURRICULA)
    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"
#


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
# File 'lib/studium/toplevel_methods/return_lva_number_of_this_lecture.rb', line 24

def self.return_lva_number_of_this_lecture(
    this_lecture
  )
  require 'studium/utility_scripts/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”.

#


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
# File 'lib/studium/toplevel_methods/lva_numbers.rb', line 28

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
  )
  # ======================================================================= #
  # 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

#


98
99
100
101
102
103
# File 'lib/studium/constants/image_constants.rb', line 98

def self.return_meduni_logo_image
  img(
    "#{IMG_DIRECTORY}studium/MEDUNI_LOGO_IMAGE.png",
    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
# 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 two variants:
    #
    #   1) a variant that goes like "5.0 ECTS" or something like that
    #   2) a variant that supports "n ECTS:   4.0"
    #
    # ===================================================================== #
    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.

#


193
194
195
# File 'lib/studium/ects/return_n_ects_from_this_url.rb', line 193

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

#


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

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”.

#


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
# File 'lib/studium/curricula/modules/return_n_ects_in_this_module.rb', line 21

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')
#


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
# File 'lib/studium/toplevel_methods/ects_from_lectures.rb', line 125

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(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
  # ======================================================================= #
  # Next, fix the encoding.
  # ======================================================================= #
  if !name_of_the_lecture.encoding.to_s.include?(::Studium.main_encoding?)
    if name_of_the_lecture.frozen?
      name_of_the_lecture = name_of_the_lecture.dup
    end
    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_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).

#


161
162
163
# File 'lib/studium/toplevel_methods/report.rb', line 161

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
#


75
76
77
78
79
# File 'lib/studium/toplevel_methods/return_n_percent_solved_from_this_topic.rb', line 75

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

#


97
98
99
# File 'lib/studium/toplevel_methods/report_nquestions_of.rb', line 97

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
#


131
132
133
# File 'lib/studium/toplevel_methods/report.rb', line 131

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

#


50
51
52
# File 'lib/studium/toplevel_methods/return_n_questions_were_answered_for_this_topic.rb', line 50

def self.return_n_questions_were_answered_for_this_topic(i)
  ::Studium::Exams.return_n_questions_were_answered_for_this_topic(i)
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.

#


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
# File 'lib/studium/toplevel_methods/return_proper_university_image.rb', line 23

def self.return_proper_university_image(i)
  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

#


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

def self.return_pwd
  "#{Dir.pwd}/".squeeze('/')
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.')
#


1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
# File 'lib/studium/exams/exam_question/exam_question.rb', line 1103

def self.return_question_answer_as_array(
    topic = 'random_topic',
    &block
  )
  _ = ::Studium::Exams::ExamQuestion.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?.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 can also, optionally, remove all tags in that String, before it is returned.

#


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
# File 'lib/studium/toplevel_methods/return_question_answer_string_from_this_topic.rb', line 25

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)
    end
  end
  result
end

.return_random_curriculumObject

#

Studium.return_random_curriculum

This method will return a random curriculum.

#


464
465
466
467
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 464

def self.return_random_curriculum
  require 'studium/constants/return_file_for_this_curriculum.rb'
  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.

#


149
150
151
# File 'lib/studium/constants/misc.rb', line 149

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
# File 'lib/studium/utility_scripts/return_remote_homepage_of_this_lecture.rb', line 16

def self.return_remote_homepage_of_this_lecture(i)
  case i # case tag
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "120.055 Geologie und Landformenkunde"
  # ======================================================================= #
  when /^120\.?055(-|_| )?Geologie(-|_| )?und(-|_| )?Landformenkunde$/i,
       /^Geologie(-|_| )?und(-|_| )?Landformenkunde$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=5781&dsrid=701&courseNr=120055&semester=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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.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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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 "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=3911&dsrid=265&courseNr=184737&semester=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=5157&dsrid=745&courseNr=166691&semester=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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 "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=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=2021S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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?dswid=5144&dsrid=330&courseNr=163185&semester=2021W"
  # ======================================================================= #
  # === rf "188.995 Datenorientierte Programmierparadigmen"
  # ======================================================================= #
  when /^188\.?995(-|_| )?Datenorientierte(-|_| )?Programmierparadigmen$/i,
       /^Datenorientierte(-|_| )?Programmierparadigmen$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=9103&dsrid=67&courseNr=188995&semester=2020W"
  # ======================================================================= #
  # === 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 "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=2020W"
  # ======================================================================= #
  # === 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=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=2020W"
  # ======================================================================= #
  # === 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?dswid=6003&dsrid=957&courseNr=184700&semester=2022S"
  # ======================================================================= #
  # === 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=7670&dsrid=348&courseNr=184701&semester=2020W"
  # ======================================================================= #
  # === 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 "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=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=2022S"
  # ======================================================================= #
  # === 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 "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=2020W"
  # ======================================================================= #
  # === 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 "253.118 Ringvorlesung Ökologie"
  # ======================================================================= #
  when /^253\.?118(-|_| )?Ringvorlesung(-|_| )?Ökologie$/i,
       /^Ringvorlesung(-|_| )?Ökologie$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=5783&dsrid=132&courseNr=253118&semester=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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 "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 "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=2020W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "166.164 Bioverfahrenstechnik"
  # ======================================================================= #
  when /^166\.?164(-|_| )?Bioverfahrenstechnik$/i,
       /^Bioverfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3521&dsrid=721&courseNr=166164&semester=2021S"
  # ======================================================================= #
  # === 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=2567&dsrid=355&courseNr=175024&semester=2020W"
  # ======================================================================= #
  # === 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.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=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=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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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 "166.605 Biopharmazeutische Prozesstechnologie"
  # ======================================================================= #
  when /^166\.?605(-|_| )?Biopharmazeutische(-|_| )?Prozesstechnologie$/i,
       /^Biopharmazeutische(-|_| )?Prozesstechnologie$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1805&dsrid=599&courseNr=166605&semester=2021S"
  # ======================================================================= #
  # === 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=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=2020W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=9822&dsrid=172&courseNr=164178&semester=2021S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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 "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=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=2020W"
  # ======================================================================= #
  # === 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 "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=5286&dsrid=830&courseNr=194077&semester=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2020S&dsrid=860"
  # ======================================================================= #
  # === 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 "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=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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=7413&dsrid=575&courseNr=317530&semester=2020W"
  # ======================================================================= #
  # === 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 "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=2021S"
  # ======================================================================= #
  # === 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 "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=2021S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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 "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 "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.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=3359&dsrid=664&courseNr=138053&semester=2020S"
  # ======================================================================= #
  # === 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 "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 "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=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=2021S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === rf "134.209 Molekulare Biophysik"
  # ======================================================================= #
  when /^134\.?209(-|_| )?Molekulare(-|_| )?Biophysik$/i,
       /^Molekulare(-|_| )?Biophysik$/i
    "https://tiss.tuwien.ac.at/course/educationDetails.xhtml?dswid=6417&dsrid=822&courseNr=134209&semester=2021W"
  # ======================================================================= #
  # === 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 "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=6431&dsrid=224&courseNr=107254&semester=2019W"
  # ======================================================================= #
  # === rf "362.156 Programmierpraktikum"
  # ======================================================================= #
  when /^362\.?156(-|_| )?Programmierpraktikum$/i,
       /^Programmierpraktikum$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=8730&dsrid=893&courseNr=362156&semester=2020S&dsrid=944"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === rf "184.702 Machine Learning"
  # ======================================================================= #
  when /^184\.?702(-|_| )?Machine(-|_| )?Learning$/i,
       /^Machine(-|_| )?Learning$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=3015&dsrid=171&courseNr=184702&semester=2019W"
  # ======================================================================= #
  # === 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 "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 "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=2021W"
  # ======================================================================= #
  # === rf "166.229 Angewandte Bioinformatik"
  # ======================================================================= #
  when /^166\.?229(-|_| )?Angewandte(-|_| )?Bioinformatik$/i,
       /^Angewandte(-|_| )?Bioinformatik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1716&dsrid=11&courseNr=166229&semester=2020W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === rf "351.027 Biomedical Sensors and Signals"
  # ======================================================================= #
  when /^351\.?027(-|_| )?Biomedical(-|_| )?Sensors(-|_| )?and(-|_| )?Signals$/i,
       /^Biomedical(-|_| )?Sensors(-|_| )?and(-|_| )?Signals$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=1633&dsrid=202&courseNr=351027&semester=2020W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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 "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=2021S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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 "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=2020W"
  # ======================================================================= #
  # === 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 "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=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=2021W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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 "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=2020S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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.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 "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=2019W"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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 "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=2021W"
  # ======================================================================= #
  # === 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=6426&dsrid=673&courseNr=163172&semester=2019W"
  # ======================================================================= #
  # === 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 "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?dswid=5895&dsrid=365&courseNr=164303&semester=2020W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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.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=2019S"
  # ======================================================================= #
  # === 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.339 Qualitatives Analytisches Praktikum"
  # ======================================================================= #
  when /^164\.?339(-|_| )?Qualitatives(-|_| )?Analytisches(-|_| )?Praktikum$/i,
       /^Qualitatives(-|_| )?Analytisches(-|_| )?Praktikum$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=4888&dsrid=542&courseNr=164339&semester=2019S"
  # ======================================================================= #
  # === 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.603 Bioverfahrenstechnik"
  # ======================================================================= #
  when /^166\.?603(-|_| )?Bioverfahrenstechnik$/i,
       /^Bioverfahrenstechnik$/i
    "https://tiss.tuwien.ac.at/course/courseDetails.xhtml?dswid=2742&dsrid=291&courseNr=166603&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 "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 "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 "851106 Statistik Übungen (LBT)"
  # ======================================================================= #
  when /^851106(-|_| )?Statistik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i,
       /^Statistik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297757"
  # ======================================================================= #
  # === 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 "790116 Mikrobielle Physiologie"
  # ======================================================================= #
  when /^790116(-|_| )?Mikrobielle(-|_| )?Physiologie$/i,
       /^Mikrobielle(-|_| )?Physiologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298265"
  # ======================================================================= #
  # === 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=297788"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=296607"
  # ======================================================================= #
  # === 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 "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=298887"
  # ======================================================================= #
  # === 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=296926"
  # ======================================================================= #
  # === rf "754104 Betriebswirtschaft und Betriebsorganisation"
  # ======================================================================= #
  when /^754104(-|_| )?Betriebswirtschaft(-|_| )?und(-|_| )?Betriebsorganisation$/i,
       /^Betriebswirtschaft(-|_| )?und(-|_| )?Betriebsorganisation$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298463"
  # ======================================================================= #
  # === 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=296819"
  # ======================================================================= #
  # === 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=298863"
  # ======================================================================= #
  # === 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=297092"
  # ======================================================================= #
  # === 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=303242"
  # ======================================================================= #
  # === 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=297530"
  # ======================================================================= #
  # === rf "754349 Hygiene Übungen"
  # ======================================================================= #
  when /^754349(-|_| )?Hygiene(-|_| )?Übungen$/i,
       /^Hygiene(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297306"
  # ======================================================================= #
  # === 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=297652"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=296718"
  # ======================================================================= #
  # === rf "772112 Biochemische Übungen I"
  # ======================================================================= #
  when /^772112(-|_| )?Biochemische(-|_| )?Übungen(-|_| )?I$/i,
       /^Biochemische(-|_| )?Übungen(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297587"
  # ======================================================================= #
  # === 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=296574"
  # ======================================================================= #
  # === rf "790044 Sicherheit am Arbeitsplatz"
  # ======================================================================= #
  when /^790044(-|_| )?Sicherheit(-|_| )?am(-|_| )?Arbeitsplatz$/i,
       /^Sicherheit(-|_| )?am(-|_| )?Arbeitsplatz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298788"
  # ======================================================================= #
  # === 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 "770152 Allgemeine Chemie"
  # ======================================================================= #
  when /^770152(-|_| )?Allgemeine(-|_| )?Chemie$/i,
       /^Allgemeine(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296597"
  # ======================================================================= #
  # === 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=297395"
  # ======================================================================= #
  # === 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=298823"
  # ======================================================================= #
  # === rf "831138 Forstbotanik"
  # ======================================================================= #
  when /^831138(-|_| )?Forstbotanik$/i,
       /^Forstbotanik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296950"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=297170"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=297308"
  # ======================================================================= #
  # === rf "772306 Proteomics (in Eng.)"
  # ======================================================================= #
  when /^772306(-|_| )?Proteomics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Proteomics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297015"
  # ======================================================================= #
  # === 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=296620"
  # ======================================================================= #
  # === rf "892102 Agrarphysik"
  # ======================================================================= #
  when /^892102(-|_| )?Agrarphysik$/i,
       /^Agrarphysik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297281"
  # ======================================================================= #
  # === rf "790109 Biologische Sicherheit"
  # ======================================================================= #
  when /^790109(-|_| )?Biologische(-|_| )?Sicherheit$/i,
       /^Biologische(-|_| )?Sicherheit$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296801"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=293677"
  # ======================================================================= #
  # === 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=298804"
  # ======================================================================= #
  # === rf "940108 Zellbiologische Übungen"
  # ======================================================================= #
  when /^940108(-|_| )?Zellbiologische(-|_| )?Übungen$/i,
       /^Zellbiologische(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297090"
  # ======================================================================= #
  # === 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=292541"
  # ======================================================================= #
  # === rf "911102 Bodenkunde (AW)"
  # ======================================================================= #
  when /^911102(-|_| )?Bodenkunde(-|_| )?\(?AW\)?$/i,
       /^Bodenkunde(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297613"
  # ======================================================================= #
  # === 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=297803"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=299094"
  # ======================================================================= #
  # === rf "790122 Allgemeine Mykologie"
  # ======================================================================= #
  when /^790122(-|_| )?Allgemeine(-|_| )?Mykologie$/i,
       /^Allgemeine(-|_| )?Mykologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296914"
  # ======================================================================= #
  # === 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=299065"
  # ======================================================================= #
  # === rf "772108 Grundlagen der Biochemie"
  # ======================================================================= #
  when /^772108(-|_| )?Grundlagen(-|_| )?der(-|_| )?Biochemie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Biochemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298113"
  # ======================================================================= #
  # === rf "734100 Allgemeine Betriebswirtschaftslehre"
  # ======================================================================= #
  when /^734100(-|_| )?Allgemeine(-|_| )?Betriebswirtschaftslehre$/i,
       /^Allgemeine(-|_| )?Betriebswirtschaftslehre$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=299078"
  # ======================================================================= #
  # === 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=298850"
  # ======================================================================= #
  # === 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=298743"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=297488"
  # ======================================================================= #
  # === 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 "872100 Geologie"
  # ======================================================================= #
  when /^872100(-|_| )?Geologie$/i,
       /^Geologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297980"
  # ======================================================================= #
  # === rf "932104 Tierhaltung"
  # ======================================================================= #
  when /^932104(-|_| )?Tierhaltung$/i,
       /^Tierhaltung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298738"
  # ======================================================================= #
  # === rf "932102 Tierzucht"
  # ======================================================================= #
  when /^932102(-|_| )?Tierzucht$/i,
       /^Tierzucht$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298739"
  # ======================================================================= #
  # === 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=298307"
  # ======================================================================= #
  # === 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=298740"
  # ======================================================================= #
  # === 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=298741"
  # ======================================================================= #
  # === 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=297660"
  # ======================================================================= #
  # === 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=296565"
  # ======================================================================= #
  # === 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=298689"
  # ======================================================================= #
  # === 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 "790128 Allgemeine Mikrobiologie Übungen"
  # ======================================================================= #
  when /^790128(-|_| )?Allgemeine(-|_| )?Mikrobiologie(-|_| )?Übungen$/i,
       /^Allgemeine(-|_| )?Mikrobiologie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296593"
  # ======================================================================= #
  # === 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=297715"
  # ======================================================================= #
  # === rf "736112 Grundlagen des Rechts"
  # ======================================================================= #
  when /^736112(-|_| )?Grundlagen(-|_| )?des(-|_| )?Rechts$/i,
       /^Grundlagen(-|_| )?des(-|_| )?Rechts$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298751"
  # ======================================================================= #
  # === rf "772307 Glycobiology (in Eng.)"
  # ======================================================================= #
  when /^772307(-|_| )?Glycobiology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Glycobiology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293047"
  # ======================================================================= #
  # === rf "754110 Qualitätsmanagement II"
  # ======================================================================= #
  when /^754110(-|_| )?Qualitätsmanagement(-|_| )?II$/i,
       /^Qualitätsmanagement(-|_| )?II$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297205"
  # ======================================================================= #
  # === rf "754101 Mikrobiologie (AW)"
  # ======================================================================= #
  when /^754101(-|_| )?Mikrobiologie(-|_| )?\(?AW\)?$/i,
       /^Mikrobiologie(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298428"
  # ======================================================================= #
  # === 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 "772114 Biochemie des Stoffwechsels"
  # ======================================================================= #
  when /^772114(-|_| )?Biochemie(-|_| )?des(-|_| )?Stoffwechsels$/i,
       /^Biochemie(-|_| )?des(-|_| )?Stoffwechsels$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297586"
  # ======================================================================= #
  # === 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 "735101 Agrarmärkte"
  # ======================================================================= #
  when /^735101(-|_| )?Agrarmärkte$/i,
       /^Agrarmärkte$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297957"
  # ======================================================================= #
  # === 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=298284"
  # ======================================================================= #
  # === rf "851111 Statistik (AW)"
  # ======================================================================= #
  when /^851111(-|_| )?Statistik(-|_| )?\(?AW\)?$/i,
       /^Statistik(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297028"
  # ======================================================================= #
  # === 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=292317"
  # ======================================================================= #
  # === rf "752120 Lebensmitteltechnologische Grundverfahren"
  # ======================================================================= #
  when /^752120(-|_| )?Lebensmitteltechnologische(-|_| )?Grundverfahren$/i,
       /^Lebensmitteltechnologische(-|_| )?Grundverfahren$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=299051"
  # ======================================================================= #
  # === 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=299003"
  # ======================================================================= #
  # === 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=291629"
  # ======================================================================= #
  # === rf "941319 Cell and molecular biology I (in Eng.)"
  # ======================================================================= #
  when /^941319(-|_| )?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=298301"
  # ======================================================================= #
  # === 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=293076"
  # ======================================================================= #
  # === rf "831114 Pflanzenphysiologie"
  # ======================================================================= #
  when /^831114(-|_| )?Pflanzenphysiologie$/i,
       /^Pflanzenphysiologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292932"
  # ======================================================================= #
  # === 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=292721"
  # ======================================================================= #
  # === 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 "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=297104"
  # ======================================================================= #
  # === rf "931103 Grundlagen der Landtechnik"
  # ======================================================================= #
  when /^931103(-|_| )?Grundlagen(-|_| )?der(-|_| )?Landtechnik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Landtechnik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298082"
  # ======================================================================= #
  # === rf "892105 Physik (UBRM)"
  # ======================================================================= #
  when /^892105(-|_| )?Physik(-|_| )?\(?UBRM\)?$/i,
       /^Physik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291830"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=296878"
  # ======================================================================= #
  # === 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 "893103 Thermodynamik"
  # ======================================================================= #
  when /^893103(-|_| )?Thermodynamik$/i,
       /^Thermodynamik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292314"
  # ======================================================================= #
  # === 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=298387"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=296727"
  # ======================================================================= #
  # === 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=291740"
  # ======================================================================= #
  # === 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=297050"
  # ======================================================================= #
  # === 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=297694"
  # ======================================================================= #
  # === rf "932112 Nutztierethologie"
  # ======================================================================= #
  when /^932112(-|_| )?Nutztierethologie$/i,
       /^Nutztierethologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292379"
  # ======================================================================= #
  # === 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=297085"
  # ======================================================================= #
  # === 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=292545"
  # ======================================================================= #
  # === rf "790108 Bioethik"
  # ======================================================================= #
  when /^790108(-|_| )?Bioethik$/i,
       /^Bioethik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296656"
  # ======================================================================= #
  # === rf "892104 Physik (LBT)"
  # ======================================================================= #
  when /^892104(-|_| )?Physik(-|_| )?\(?LBT\)?$/i,
       /^Physik(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292706"
  # ======================================================================= #
  # === 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=296957"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=293075"
  # ======================================================================= #
  # === rf "790107 Bachelorseminar"
  # ======================================================================= #
  when /^790107(-|_| )?Bachelorseminar$/i,
       /^Bachelorseminar$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292327"
  # ======================================================================= #
  # === rf "790120 Grundlagen der Bioprozesstechnik"
  # ======================================================================= #
  when /^790120(-|_| )?Grundlagen(-|_| )?der(-|_| )?Bioprozesstechnik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Bioprozesstechnik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297951"
  # ======================================================================= #
  # === rf "771108 Analytische Chemie"
  # ======================================================================= #
  when /^771108(-|_| )?Analytische(-|_| )?Chemie$/i,
       /^Analytische(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291814"
  # ======================================================================= #
  # === 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=293762"
  # ======================================================================= #
  # === 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 "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/wbLv.wbShowLVDetail?pStpSpNr=292318"
  # ======================================================================= #
  # === rf "851110 Statistik (UBRM)"
  # ======================================================================= #
  when /^851110(-|_| )?Statistik(-|_| )?\(?UBRM\)?$/i,
       /^Statistik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292172"
  # ======================================================================= #
  # === 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=293049"
  # ======================================================================= #
  # === 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=293760"
  # ======================================================================= #
  # === rf "851109 Statistik (UBRM)"
  # ======================================================================= #
  when /^851109(-|_| )?Statistik(-|_| )?\(?UBRM\)?$/i,
       /^Statistik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292454"
  # ======================================================================= #
  # === 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=298851"
  # ======================================================================= #
  # === rf "802312 Microbiology and disease (in Eng.)"
  # ======================================================================= #
  when /^802312(-|_| )?Microbiology(-|_| )?and(-|_| )?disease(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Microbiology(-|_| )?and(-|_| )?disease(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297532"
  # ======================================================================= #
  # === rf "958118 Obst- und Weinbau"
  # ======================================================================= #
  when /^958118(-|_| )?Obst(-|_)?(-|_| )?und(-|_| )?Weinbau$/i,
       /^Obst(-|_)?(-|_| )?und(-|_| )?Weinbau$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291682"
  # ======================================================================= #
  # === rf "790105 Angewandte Mikrobiologie Übungen"
  # ======================================================================= #
  when /^790105(-|_| )?Angewandte(-|_| )?Mikrobiologie(-|_| )?Übungen$/i,
       /^Angewandte(-|_| )?Mikrobiologie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293070"
  # ======================================================================= #
  # === rf "940101 Molekularbiologie Übungen I"
  # ======================================================================= #
  when /^940101(-|_| )?Molekularbiologie(-|_| )?Übungen(-|_| )?I$/i,
       /^Molekularbiologie(-|_| )?Übungen(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291732"
  # ======================================================================= #
  # === rf "731101 Projektmanagement"
  # ======================================================================= #
  when /^731101(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296789"
  # ======================================================================= #
  # === 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=297017"
  # ======================================================================= #
  # === 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=293074"
  # ======================================================================= #
  # === 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=298355"
  # ======================================================================= #
  # === 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 "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=293981"
  # ======================================================================= #
  # === 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 "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 "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=293033"
  # ======================================================================= #
  # === rf "851105 Statistik (LBT)"
  # ======================================================================= #
  when /^851105(-|_| )?Statistik(-|_| )?\(?LBT\)?$/i,
       /^Statistik(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297772"
  # ======================================================================= #
  # === 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=299116"
  # ======================================================================= #
  # === 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=298703"
  # ======================================================================= #
  # === rf "754109 Qualitätsmanagement I"
  # ======================================================================= #
  when /^754109(-|_| )?Qualitätsmanagement(-|_| )?I$/i,
       /^Qualitätsmanagement(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291519"
  # ======================================================================= #
  # === rf "754117 Mikrobiologie - Übungen (AW)"
  # ======================================================================= #
  when /^754117(-|_| )?Mikrobiologie(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?AW\)?$/i,
       /^Mikrobiologie(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293264"
  # ======================================================================= #
  # === 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=297541"
  # ======================================================================= #
  # === 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=293573"
  # ======================================================================= #
  # === 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 "875110 Werkstoff- und Materialkunde"
  # ======================================================================= #
  when /^875110(-|_| )?Werkstoff(-|_)?(-|_| )?und(-|_| )?Materialkunde$/i,
       /^Werkstoff(-|_)?(-|_| )?und(-|_| )?Materialkunde$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292419"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=298333"
  # ======================================================================= #
  # === 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 "831135 Allgemeine Botanik"
  # ======================================================================= #
  when /^831135(-|_| )?Allgemeine(-|_| )?Botanik$/i,
       /^Allgemeine(-|_| )?Botanik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298368"
  # ======================================================================= #
  # === 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=291527"
  # ======================================================================= #
  # === 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 "752324 Food biotechnology (in Eng.)"
  # ======================================================================= #
  when /^752324(-|_| )?Food(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Food(-|_| )?biotechnology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287576"
  # ======================================================================= #
  # === rf "731115 Grundlagen der Ökonomie"
  # ======================================================================= #
  when /^731115(-|_| )?Grundlagen(-|_| )?der(-|_| )?Ökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Ökonomie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293200"
  # ======================================================================= #
  # === 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 "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=292542"
  # ======================================================================= #
  # === rf "731121 Projektmanagement (AW)"
  # ======================================================================= #
  when /^731121(-|_| )?Projektmanagement(-|_| )?\(?AW\)?$/i,
       /^Projektmanagement(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291536"
  # ======================================================================= #
  # === rf "752339 Protein engineering (in Eng.)"
  # ======================================================================= #
  when /^752339(-|_| )?Protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298595"
  # ======================================================================= #
  # === 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=292315"
  # ======================================================================= #
  # === rf "911000 Umweltmikrobiologie"
  # ======================================================================= #
  when /^911000(-|_| )?Umweltmikrobiologie$/i,
       /^Umweltmikrobiologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293446"
  # ======================================================================= #
  # === 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=293072"
  # ======================================================================= #
  # === 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 "831110 Botanik (AW)"
  # ======================================================================= #
  when /^831110(-|_| )?Botanik(-|_| )?\(?AW\)?$/i,
       /^Botanik(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298902"
  # ======================================================================= #
  # === rf "949321 Plant molecular biology (in Eng.)"
  # ======================================================================= #
  when /^949321(-|_| )?Plant(-|_| )?molecular(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Plant(-|_| )?molecular(-|_| )?biology(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291745"
  # ======================================================================= #
  # === rf "835103 Mathematik (AW)"
  # ======================================================================= #
  when /^835103(-|_| )?Mathematik(-|_| )?\(?AW\)?$/i,
       /^Mathematik(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293153"
  # ======================================================================= #
  # === rf "951104 Pflanzenbau"
  # ======================================================================= #
  when /^951104(-|_| )?Pflanzenbau$/i,
       /^Pflanzenbau$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292032"
  # ======================================================================= #
  # === rf "814102 Meteorologie"
  # ======================================================================= #
  when /^814102(-|_| )?Meteorologie$/i,
       /^Meteorologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292981"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=298722"
  # ======================================================================= #
  # === 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=291587"
  # ======================================================================= #
  # === 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=298982"
  # ======================================================================= #
  # === 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=298666"
  # ======================================================================= #
  # === 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 "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 "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=291564"
  # ======================================================================= #
  # === 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=289357"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=298997"
  # ======================================================================= #
  # === rf "770102 Chemische Übungen (AW)"
  # ======================================================================= #
  when /^770102(-|_| )?Chemische(-|_| )?Übungen(-|_| )?\(?AW\)?$/i,
       /^Chemische(-|_| )?Übungen(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296765"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=297811"
  # ======================================================================= #
  # === 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=291627"
  # ======================================================================= #
  # === rf "731113 Allgemeine und Agrarsoziologie"
  # ======================================================================= #
  when /^731113(-|_| )?Allgemeine(-|_| )?und(-|_| )?Agrarsoziologie$/i,
       /^Allgemeine(-|_| )?und(-|_| )?Agrarsoziologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288882"
  # ======================================================================= #
  # === 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 "833114 Humanökologie"
  # ======================================================================= #
  when /^833114(-|_| )?Humanökologie$/i,
       /^Humanökologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288800"
  # ======================================================================= #
  # === rf "731120 Regionalplanung (AW)"
  # ======================================================================= #
  when /^731120(-|_| )?Regionalplanung(-|_| )?\(?AW\)?$/i,
       /^Regionalplanung(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288888"
  # ======================================================================= #
  # === 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 "831133 Allgemeine Botanik"
  # ======================================================================= #
  when /^831133(-|_| )?Allgemeine(-|_| )?Botanik$/i,
       /^Allgemeine(-|_| )?Botanik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292938"
  # ======================================================================= #
  # === rf "790368 Biological therapeutics (in Eng.)"
  # ======================================================================= #
  when /^790368(-|_| )?Biological(-|_| )?therapeutics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biological(-|_| )?therapeutics(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292119"
  # ======================================================================= #
  # === rf "791373 Compulsory Internship Seminar"
  # ======================================================================= #
  when /^791373(-|_| )?Compulsory(-|_| )?Internship(-|_| )?Seminar$/i,
       /^Compulsory(-|_| )?Internship(-|_| )?Seminar$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292284"
  # ======================================================================= #
  # === 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=292117"
  # ======================================================================= #
  # === 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 "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=297228"
  # ======================================================================= #
  # === rf "941107 Einführung in die Zellbiologie und Genetik Übungen"
  # ======================================================================= #
  when /^941107(-|_| )?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=293726"
  # ======================================================================= #
  # === 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=292928"
  # ======================================================================= #
  # === rf "771105 Analytische Chemie Übungen"
  # ======================================================================= #
  when /^771105(-|_| )?Analytische(-|_| )?Chemie(-|_| )?Übungen$/i,
       /^Analytische(-|_| )?Chemie(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297002"
  # ======================================================================= #
  # === 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=288503"
  # ======================================================================= #
  # === rf "835100 Mathematik (LBT)"
  # ======================================================================= #
  when /^835100(-|_| )?Mathematik(-|_| )?\(?LBT\)?$/i,
       /^Mathematik(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298465"
  # ======================================================================= #
  # === 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=291977"
  # ======================================================================= #
  # === 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=291565"
  # ======================================================================= #
  # === rf "773120 Organische Chemie"
  # ======================================================================= #
  when /^773120(-|_| )?Organische(-|_| )?Chemie$/i,
       /^Organische(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296975"
  # ======================================================================= #
  # === 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=298631"
  # ======================================================================= #
  # === 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 "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=287735"
  # ======================================================================= #
  # === rf "892101 Materialkunde"
  # ======================================================================= #
  when /^892101(-|_| )?Materialkunde$/i,
       /^Materialkunde$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287516"
  # ======================================================================= #
  # === 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 "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=287779"
  # ======================================================================= #
  # === rf "957106 Pflanzenzüchtung"
  # ======================================================================= #
  when /^957106(-|_| )?Pflanzenzüchtung$/i,
       /^Pflanzenzüchtung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284237"
  # ======================================================================= #
  # === rf "970307 Mikrobiologie"
  # ======================================================================= #
  when /^970307(-|_| )?Mikrobiologie$/i,
       /^Mikrobiologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287250"
  # ======================================================================= #
  # === rf "951107 Grünlandbewirtschaftung"
  # ======================================================================= #
  when /^951107(-|_| )?Grünlandbewirtschaftung$/i,
       /^Grünlandbewirtschaftung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287695"
  # ======================================================================= #
  # === 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=288052"
  # ======================================================================= #
  # === 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=288713"
  # ======================================================================= #
  # === 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=293212"
  # ======================================================================= #
  # === 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=287379"
  # ======================================================================= #
  # === 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=298470"
  # ======================================================================= #
  # === rf "915180 Projektmanagement"
  # ======================================================================= #
  when /^915180(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289219"
  # ======================================================================= #
  # === rf "831123 Botany (UBRM) (in Eng.)"
  # ======================================================================= #
  when /^831123(-|_| )?Botany(-|_| )?\(?UBRM\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Botany(-|_| )?\(?UBRM\)?(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298401"
  # ======================================================================= #
  # === 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=287395"
  # ======================================================================= #
  # === 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=288847"
  # ======================================================================= #
  # === 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 "791327 Practical course in plant biotechnology (in Eng.)"
  # ======================================================================= #
  when /^791327(-|_| )?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=288753"
  # ======================================================================= #
  # === 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=299019"
  # ======================================================================= #
  # === rf "940085 Molekulargenetik"
  # ======================================================================= #
  when /^940085(-|_| )?Molekulargenetik$/i,
       /^Molekulargenetik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297436"
  # ======================================================================= #
  # === 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 "853109 Natur- und Landschaftsschutz"
  # ======================================================================= #
  when /^853109(-|_| )?Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i,
       /^Natur(-|_)?(-|_| )?und(-|_| )?Landschaftsschutz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288510"
  # ======================================================================= #
  # === 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=291737"
  # ======================================================================= #
  # === 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 "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/wbLv.wbShowLVDetail?pStpSpNr=289428"
  # ======================================================================= #
  # === 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=289391"
  # ======================================================================= #
  # === 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 "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 "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 "300078 Hominidenevolution"
  # ======================================================================= #
  when /^300078(-|_| )?Hominidenevolution$/i,
       /^Hominidenevolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300078&semester=2019W"
  # ======================================================================= #
  # === 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=293241"
  # ======================================================================= #
  # === rf "831104 Botanik (UBRM)"
  # ======================================================================= #
  when /^831104(-|_| )?Botanik(-|_| )?\(?UBRM\)?$/i,
       /^Botanik(-|_| )?\(?UBRM\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=283696"
  # ======================================================================= #
  # === rf "771118 Chemisches Rechnen I"
  # ======================================================================= #
  when /^771118(-|_| )?Chemisches(-|_| )?Rechnen(-|_| )?I$/i,
       /^Chemisches(-|_| )?Rechnen(-|_| )?I$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288714"
  # ======================================================================= #
  # === 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 "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=289427"
  # ======================================================================= #
  # === 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=292115"
  # ======================================================================= #
  # === 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=296977"
  # ======================================================================= #
  # === rf "754103 Qualitätsmanagement Übungen"
  # ======================================================================= #
  when /^754103(-|_| )?Qualitätsmanagement(-|_| )?Übungen$/i,
       /^Qualitätsmanagement(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288961"
  # ======================================================================= #
  # === 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=298291"
  # ======================================================================= #
  # === rf "941106 Einführung in die Zellbiologie und Genetik"
  # ======================================================================= #
  when /^941106(-|_| )?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=293984"
  # ======================================================================= #
  # === 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=289077"
  # ======================================================================= #
  # === 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=293728"
  # ======================================================================= #
  # === rf "754100 Hygiene"
  # ======================================================================= #
  when /^754100(-|_| )?Hygiene$/i,
       /^Hygiene$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293262"
  # ======================================================================= #
  # === 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=291902"
  # ======================================================================= #
  # === 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=298214"
  # ======================================================================= #
  # === 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=288769"
  # ======================================================================= #
  # === 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 "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=289022"
  # ======================================================================= #
  # === 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=288000"
  # ======================================================================= #
  # === rf "875117 Getting Started in Programming for KTWW (in Eng.)"
  # ======================================================================= #
  when /^875117(-|_| )?Getting(-|_| )?Started(-|_| )?in(-|_| )?Programming(-|_| )?for(-|_| )?KTWW(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Getting(-|_| )?Started(-|_| )?in(-|_| )?Programming(-|_| )?for(-|_| )?KTWW(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=297206%20#%202022S"
  # ======================================================================= #
  # === 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=293025"
  # ======================================================================= #
  # === 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=287173"
  # ======================================================================= #
  # === rf "951109 Bachelorseminar Pflanzliche Produktion"
  # ======================================================================= #
  when /^951109(-|_| )?Bachelorseminar(-|_| )?Pflanzliche(-|_| )?Produktion$/i,
       /^Bachelorseminar(-|_| )?Pflanzliche(-|_| )?Produktion$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287698"
  # ======================================================================= #
  # === 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=285738"
  # ======================================================================= #
  # === rf "933101 Ökologische Landwirtschaft"
  # ======================================================================= #
  when /^933101(-|_| )?Ökologische(-|_| )?Landwirtschaft$/i,
       /^Ökologische(-|_| )?Landwirtschaft$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287171"
  # ======================================================================= #
  # === rf "976104 Tierernährung"
  # ======================================================================= #
  when /^976104(-|_| )?Tierernährung$/i,
       /^Tierernährung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288924"
  # ======================================================================= #
  # === rf "951115 Pflanzenernährung"
  # ======================================================================= #
  when /^951115(-|_| )?Pflanzenernährung$/i,
       /^Pflanzenernährung$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284246"
  # ======================================================================= #
  # === 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=285381"
  # ======================================================================= #
  # === 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=285375"
  # ======================================================================= #
  # === 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 "892110 Biomaterials (in Eng.)"
  # ======================================================================= #
  when /^892110(-|_| )?Biomaterials(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Biomaterials(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287150"
  # ======================================================================= #
  # === rf "931100 Verfahrenstechnik Pflanzliche Produktion"
  # ======================================================================= #
  when /^931100(-|_| )?Verfahrenstechnik(-|_| )?Pflanzliche(-|_| )?Produktion$/i,
       /^Verfahrenstechnik(-|_| )?Pflanzliche(-|_| )?Produktion$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=284160"
  # ======================================================================= #
  # === rf "941104 Molekularbiologie für Agrarwissenschaften"
  # ======================================================================= #
  when /^941104(-|_| )?Molekularbiologie(-|_| )?für(-|_| )?Agrarwissenschaften$/i,
       /^Molekularbiologie(-|_| )?für(-|_| )?Agrarwissenschaften$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291735"
  # ======================================================================= #
  # === rf "872104 Geologie (AW)"
  # ======================================================================= #
  when /^872104(-|_| )?Geologie(-|_| )?\(?AW\)?$/i,
       /^Geologie(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287557"
  # ======================================================================= #
  # === rf "872105 Gesteinskunde - Übungen (AW)"
  # ======================================================================= #
  when /^872105(-|_| )?Gesteinskunde(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?AW\)?$/i,
       /^Gesteinskunde(-|_| )?(-|_)?(-|_| )?Übungen(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=298506"
  # ======================================================================= #
  # === 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=284239"
  # ======================================================================= #
  # === 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=284784"
  # ======================================================================= #
  # === 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=284320"
  # ======================================================================= #
  # === 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=288224"
  # ======================================================================= #
  # === 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=298421"
  # ======================================================================= #
  # === 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=287844"
  # ======================================================================= #
  # === 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=288213"
  # ======================================================================= #
  # === rf "976103 Technologie tierischer Lebensmittel"
  # ======================================================================= #
  when /^976103(-|_| )?Technologie(-|_| )?tierischer(-|_| )?Lebensmittel$/i,
       /^Technologie(-|_| )?tierischer(-|_| )?Lebensmittel$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293238"
  # ======================================================================= #
  # === rf "735102 Rhetorik und Präsentationstechniken (AW)"
  # ======================================================================= #
  when /^735102(-|_| )?Rhetorik(-|_| )?und(-|_| )?Präsentationstechniken(-|_| )?\(?AW\)?$/i,
       /^Rhetorik(-|_| )?und(-|_| )?Präsentationstechniken(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287180"
  # ======================================================================= #
  # === 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 "835101 Mathematik Übungen (LBT)"
  # ======================================================================= #
  when /^835101(-|_| )?Mathematik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i,
       /^Mathematik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288833"
  # ======================================================================= #
  # === rf "736102 Rechtsgrundlagen"
  # ======================================================================= #
  when /^736102(-|_| )?Rechtsgrundlagen$/i,
       /^Rechtsgrundlagen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=293193"
  # ======================================================================= #
  # === rf "750103 Verfahrenstechnisches Praktikum"
  # ======================================================================= #
  when /^750103(-|_| )?Verfahrenstechnisches(-|_| )?Praktikum$/i,
       /^Verfahrenstechnisches(-|_| )?Praktikum$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285495"
  # ======================================================================= #
  # === 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=293987"
  # ======================================================================= #
  # === rf "791113 Pflichtpraxisseminar"
  # ======================================================================= #
  when /^791113(-|_| )?Pflichtpraxisseminar$/i,
       /^Pflichtpraxisseminar$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=283694"
  # ======================================================================= #
  # === rf "893121 Allgemeine Prozesstechnik"
  # ======================================================================= #
  when /^893121(-|_| )?Allgemeine(-|_| )?Prozesstechnik$/i,
       /^Allgemeine(-|_| )?Prozesstechnik$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=296928"
  # ======================================================================= #
  # === 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=285290"
  # ======================================================================= #
  # === 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 "941112 Genetik (AW)"
  # ======================================================================= #
  when /^941112(-|_| )?Genetik(-|_| )?\(?AW\)?$/i,
       /^Genetik(-|_| )?\(?AW\)?$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=283711"
  # ======================================================================= #
  # === rf "953100 Pflanzenschutz"
  # ======================================================================= #
  when /^953100(-|_| )?Pflanzenschutz$/i,
       /^Pflanzenschutz$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=283901"
  # ======================================================================= #
  # === 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=287330"
  # ======================================================================= #
  # === 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=287600"
  # ======================================================================= #
  # === 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=293724"
  # ======================================================================= #
  # === 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 "733309 Landwirtschaftliche Betriebswirtschaftslehre Übungen"
  # ======================================================================= #
  when /^733309(-|_| )?Landwirtschaftliche(-|_| )?Betriebswirtschaftslehre(-|_| )?Übungen$/i,
       /^Landwirtschaftliche(-|_| )?Betriebswirtschaftslehre(-|_| )?Übungen$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=289036"
  # ======================================================================= #
  # === rf "733107 Landwirtschaftliche Betriebswirtschaftslehre"
  # ======================================================================= #
  when /^733107(-|_| )?Landwirtschaftliche(-|_| )?Betriebswirtschaftslehre$/i,
       /^Landwirtschaftliche(-|_| )?Betriebswirtschaftslehre$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=285616"
  # ======================================================================= #
  # === 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 "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=297758"
  # ======================================================================= #
  # === rf "831330 Ökologie"
  # ======================================================================= #
  when /^831330(-|_| )?Ökologie$/i,
       /^Ökologie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=292585"
  # ======================================================================= #
  # === 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=297557"
  # ======================================================================= #
  # === 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=297531"
  # ======================================================================= #
  # === 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=298787"
  # ======================================================================= #
  # === 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=293900"
  # ======================================================================= #
  # === 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 "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=289279"
  # ======================================================================= #
  # === 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 "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=288885"
  # ======================================================================= #
  # === 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 "736180 Grundlagen des Rechts"
  # ======================================================================= #
  when /^736180(-|_| )?Grundlagen(-|_| )?des(-|_| )?Rechts$/i,
       /^Grundlagen(-|_| )?des(-|_| )?Rechts$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=288895"
  # ======================================================================= #
  # === 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 der KTWW"
  # ======================================================================= #
  when /^850110(-|_| )?Ausgewählte(-|_| )?Kapitel(-|_| )?aus(-|_| )?der(-|_| )?KTWW$/i,
       /^Ausgewählte(-|_| )?Kapitel(-|_| )?aus(-|_| )?der(-|_| )?KTWW$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=287738"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "300017 Sexualbiologie"
  # ======================================================================= #
  when /^300017(-|_| )?Sexualbiologie$/i,
       /^Sexualbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300025&semester=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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 "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=2022S"
  # ======================================================================= #
  # === 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=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=2021W"
  # ======================================================================= #
  # === rf "250008 Mathematisches Programmieren"
  # ======================================================================= #
  when /^250008(-|_| )?Mathematisches(-|_| )?Programmieren$/i,
       /^Mathematisches(-|_| )?Programmieren$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250008&semester=2022S"
  # ======================================================================= #
  # === rf "250066 Programmierpraktikum"
  # ======================================================================= #
  when /^250066(-|_| )?Programmierpraktikum$/i,
       /^Programmierpraktikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=250066&semester=2021S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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 "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=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 "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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "270093 Probenvorbereitungstechnik"
  # ======================================================================= #
  when /^270093(-|_| )?Probenvorbereitungstechnik$/i,
       /^Probenvorbereitungstechnik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270193&semester=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=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=2022S"
  # ======================================================================= #
  # === 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 "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=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=2022S"
  # ======================================================================= #
  # === 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 "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=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=2021W"
  # ======================================================================= #
  # === rf "301123 Genexpression"
  # ======================================================================= #
  when /^301123(-|_| )?Genexpression$/i,
       /^Genexpression$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301123&semester=2022S"
  # ======================================================================= #
  # === 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 "270041 Posttranslationale Modifikation von Proteinen"
  # ======================================================================= #
  when /^270041(-|_| )?Posttranslationale(-|_| )?Modifikation(-|_| )?von(-|_| )?Proteinen$/i,
       /^Posttranslationale(-|_| )?Modifikation(-|_| )?von(-|_| )?Proteinen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270045&semester=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === rf "053531 Softwareentwicklungsprojekt Bioinformatik"
  # ======================================================================= #
  when /^053531(-|_| )?Softwareentwicklungsprojekt(-|_| )?Bioinformatik$/i,
       /^Softwareentwicklungsprojekt(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=053531&semester=2021W"
  # ======================================================================= #
  # === 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 "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 "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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === rf "301284 Biochemie"
  # ======================================================================= #
  when /^301284(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301284&semester=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "300178 Mikrob. Lebensgemeinschaften"
  # ======================================================================= #
  when /^300178(-|_| )?Mikrob\.?(-|_| )?Lebensgemeinschaften$/i,
       /^Mikrob\.?(-|_| )?Lebensgemeinschaften$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300178&semester=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "051010 Programmierung 1"
  # ======================================================================= #
  when /^051010(-|_| )?Programmierung(-|_| )?1$/i,
       /^Programmierung(-|_| )?1$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051010&semester=2020W"
  # ======================================================================= #
  # === rf "301407 Molekulare Pathologie"
  # ======================================================================= #
  when /^301407(-|_| )?Molekulare(-|_| )?Pathologie$/i,
       /^Molekulare(-|_| )?Pathologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301407&semester=2022S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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=2020W"
  # ======================================================================= #
  # === 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 "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 "270155 (Introduction to) Network analysis with Python"
  # ======================================================================= #
  when /^270155(-|_| )?\(?Introduction(-|_| )?to\)?(-|_| )?Network(-|_| )?analysis(-|_| )?with(-|_| )?Python$/i,
       /^\(?Introduction(-|_| )?to\)?(-|_| )?Network(-|_| )?analysis(-|_| )?with(-|_| )?Python$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270155&semester=2022S"
  # ======================================================================= #
  # === 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 "270066 Molekülspektroskopie"
  # ======================================================================= #
  when /^270066(-|_| )?Molekülspektroskopie$/i,
       /^Molekülspektroskopie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270066&semester=2021S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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 "270165 Nucleic Acid Biotechnology"
  # ======================================================================= #
  when /^270165(-|_| )?Nucleic(-|_| )?Acid(-|_| )?Biotechnology$/i,
       /^Nucleic(-|_| )?Acid(-|_| )?Biotechnology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270165&semester=2022S"
  # ======================================================================= #
  # === 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 "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=2020W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === rf "442706 Bioanalytische Methoden zur Identifikation und Evaluierung von Biomarkern"
  # ======================================================================= #
  when /^442706(-|_| )?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=442706&semester=2020S"
  # ======================================================================= #
  # === rf "051020 Programmierung 2"
  # ======================================================================= #
  when /^051020(-|_| )?Programmierung(-|_| )?2$/i,
       /^Programmierung(-|_| )?2$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051020&semester=2020S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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 "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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "300133 Evolution"
  # ======================================================================= #
  when /^300133(-|_| )?Evolution$/i,
       /^Evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300133&semester=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === rf "301322 Neurobiologie"
  # ======================================================================= #
  when /^301322(-|_| )?Neurobiologie$/i,
       /^Neurobiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301322&semester=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === rf "301707 Molekulare Infektionsbiologie"
  # ======================================================================= #
  when /^301707(-|_| )?Molekulare(-|_| )?Infektionsbiologie$/i,
       /^Molekulare(-|_| )?Infektionsbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301707&semester=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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 "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=2020W"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "300484 Practical Course in Molecular Microbiology, Microbial Ecology and Immunobiology"
  # ======================================================================= #
  when /^300484(-|_| )?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=300484&semester=2020W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === rf "270010 Elektrophoretische und Chromatographische Trennmethoden"
  # ======================================================================= #
  when /^270010(-|_| )?Elektrophoretische(-|_| )?und(-|_| )?Chromatographische(-|_| )?Trennmethoden$/i,
       /^Elektrophoretische(-|_| )?und(-|_| )?Chromatographische(-|_| )?Trennmethoden$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270010&semester=2020W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === rf "300005 Primatologie"
  # ======================================================================= #
  when /^300005(-|_| )?Primatologie$/i,
       /^Primatologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300005&semester=2020W"
  # ======================================================================= #
  # === 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 "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 "300205 Grundlagen der Theoretischen Biologie und Evolutionstheorie"
  # ======================================================================= #
  when /^300205(-|_| )?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=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=2020W"
  # ======================================================================= #
  # === 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 "270154 Cellular energetics"
  # ======================================================================= #
  when /^270154(-|_| )?Cellular(-|_| )?energetics$/i,
       /^Cellular(-|_| )?energetics$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270154&semester=2020W"
  # ======================================================================= #
  # === 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 "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 "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 "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=2022S"
  # ======================================================================= #
  # === rf "270035 Massenspektrometrie"
  # ======================================================================= #
  when /^270035(-|_| )?Massenspektrometrie$/i,
       /^Massenspektrometrie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270035&semester=2020W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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 "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 "270095 Enzyme - Mechanismen und Anwendungen"
  # ======================================================================= #
  when /^270095(-|_| )?Enzyme(-|_| )?(-|_)?(-|_| )?Mechanismen(-|_| )?und(-|_| )?Anwendungen$/i,
       /^Enzyme(-|_| )?(-|_)?(-|_| )?Mechanismen(-|_| )?und(-|_| )?Anwendungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270095&semester=2020W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === rf "270052 Chemische Biologie"
  # ======================================================================= #
  when /^270052(-|_| )?Chemische(-|_| )?Biologie$/i,
       /^Chemische(-|_| )?Biologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270052&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 "270069 Informatische Grundlagen für Chemie und Biologie"
  # ======================================================================= #
  when /^270069(-|_| )?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=270069&semester=2021W"
  # ======================================================================= #
  # === 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 "330015 Wissenschaftliches Arbeiten"
  # ======================================================================= #
  when /^330015(-|_| )?Wissenschaftliches(-|_| )?Arbeiten$/i,
       /^Wissenschaftliches(-|_| )?Arbeiten$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330015&semester=2019W"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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 "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 "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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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 "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=2020S"
  # ======================================================================= #
  # === rf "051022 Betriebssysteme"
  # ======================================================================= #
  when /^051022(-|_| )?Betriebssysteme$/i,
       /^Betriebssysteme$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051022&semester=2020S"
  # ======================================================================= #
  # === 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 "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 "300496 Meereskunde"
  # ======================================================================= #
  when /^300496(-|_| )?Meereskunde$/i,
       /^Meereskunde$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300496&semester=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "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://ufind.univie.ac.at/de/course.html?lv=300311&semester=2021W"
  # ======================================================================= #
  # === rf "300181 Current topics in bioinformatics and computational systems biology"
  # ======================================================================= #
  when /^300181(-|_| )?Current(-|_| )?topics(-|_| )?in(-|_| )?bioinformatics(-|_| )?and(-|_| )?computational(-|_| )?systems(-|_| )?biology$/i,
       /^Current(-|_| )?topics(-|_| )?in(-|_| )?bioinformatics(-|_| )?and(-|_| )?computational(-|_| )?systems(-|_| )?biology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300181&semester=2020S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "300058 Stadtökologie"
  # ======================================================================= #
  when /^300058(-|_| )?Stadtökologie$/i,
       /^Stadtökologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300058&semester=2020W"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === rf "300036 Molecular Evolution"
  # ======================================================================= #
  when /^300036(-|_| )?Molecular(-|_| )?Evolution$/i,
       /^Molecular(-|_| )?Evolution$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300036&semester=2022S"
  # ======================================================================= #
  # === 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 "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=2020S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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=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 "323101 Pharmacoinformatics - MPS5"
  # ======================================================================= #
  when /^323101(-|_| )?Pharmacoinformatics(-|_| )?(-|_)?(-|_| )?MPS5$/i,
       /^Pharmacoinformatics(-|_| )?(-|_)?(-|_| )?MPS5$/i
    "https://ufind.univie.ac.at/de/course.html?lv=323101&semester=2020S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "330019 Biochemie"
  # ======================================================================= #
  when /^330019(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330019&semester=2020W"
  # ======================================================================= #
  # === 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 "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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === rf "321015 Pathophysiologie - B8"
  # ======================================================================= #
  when /^321015(-|_| )?Pathophysiologie(-|_| )?(-|_)?(-|_| )?B8$/i,
       /^Pathophysiologie(-|_| )?(-|_)?(-|_| )?B8$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321015&semester=2020S"
  # ======================================================================= #
  # === 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 "300115 DNA-Barcoding"
  # ======================================================================= #
  when /^300115(-|_| )?DNA(-|_)?Barcoding$/i,
       /^DNA(-|_)?Barcoding$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300115&semester=2022S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === rf "301617 Strukturbiologie I"
  # ======================================================================= #
  when /^301617(-|_| )?Strukturbiologie(-|_| )?I$/i,
       /^Strukturbiologie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301617&semester=2021W"
  # ======================================================================= #
  # === rf "301618 Strukturbiologie II"
  # ======================================================================= #
  when /^301618(-|_| )?Strukturbiologie(-|_| )?II$/i,
       /^Strukturbiologie(-|_| )?II$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301618&semester=2022S"
  # ======================================================================= #
  # === 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 "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 "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 "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 "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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "301599 Praktikum Bioinformatik"
  # ======================================================================= #
  when /^301599(-|_| )?Praktikum(-|_| )?Bioinformatik$/i,
       /^Praktikum(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301599&semester=2021W"
  # ======================================================================= #
  # === 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 "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 "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=2021S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === rf "301609 Molekulare Entwicklungsbiologie"
  # ======================================================================= #
  when /^301609(-|_| )?Molekulare(-|_| )?Entwicklungsbiologie$/i,
       /^Molekulare(-|_| )?Entwicklungsbiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301609&semester=2019W"
  # ======================================================================= #
  # === 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 "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=2021S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "270128 Biotechnologie Praktikum"
  # ======================================================================= #
  when /^270128(-|_| )?Biotechnologie(-|_| )?Praktikum$/i,
       /^Biotechnologie(-|_| )?Praktikum$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270128&semester=2022S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "301151 UE in Fluoreszenz und Konfokalmikroskopie inkl.Übungen zur Bild-bearbeitung/analyse"
  # ======================================================================= #
  when /^301151(-|_| )?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=301151&semester=2020W"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "330048 Organische Chemie"
  # ======================================================================= #
  when /^330048(-|_| )?Organische(-|_| )?Chemie$/i,
       /^Organische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330048&semester=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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 "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=2021W"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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=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=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === rf "300014 Einführung in die Entwicklung der Tiere"
  # ======================================================================= #
  when /^300014(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Entwicklung(-|_| )?der(-|_| )?Tiere$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Entwicklung(-|_| )?der(-|_| )?Tiere$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300014&semester=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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 "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=234571&eq=05-3511&semester=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === rf "053520 Algorithmische Bioinformatik"
  # ======================================================================= #
  when /^053520(-|_| )?Algorithmische(-|_| )?Bioinformatik$/i,
       /^Algorithmische(-|_| )?Bioinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=053520&semester=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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=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=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "300495 Ökophysiologie"
  # ======================================================================= #
  when /^300495(-|_| )?Ökophysiologie$/i,
       /^Ökophysiologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300495&semester=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === rf "300269 Paläobiogeographie"
  # ======================================================================= #
  when /^300269(-|_| )?Paläobiogeographie$/i,
       /^Paläobiogeographie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300269&semester=2022S"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "051013 Theoretische Informatik"
  # ======================================================================= #
  when /^051013(-|_| )?Theoretische(-|_| )?Informatik$/i,
       /^Theoretische(-|_| )?Informatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051013&semester=2019S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=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 "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=2020W"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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 "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=2020W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === rf "300025 Grundlagen der Limnologie"
  # ======================================================================= #
  when /^300025(-|_| )?Grundlagen(-|_| )?der(-|_| )?Limnologie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Limnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300025&semester=2019S"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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=2018W"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "301250 Genetisches Seminar"
  # ======================================================================= #
  when /^301250(-|_| )?Genetisches(-|_| )?Seminar$/i,
       /^Genetisches(-|_| )?Seminar$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301250&semester=2021W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "300433 Medizinische Parasitologie"
  # ======================================================================= #
  when /^300433(-|_| )?Medizinische(-|_| )?Parasitologie$/i,
       /^Medizinische(-|_| )?Parasitologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300433&semester=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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 "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 "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=2022S"
  # ======================================================================= #
  # === rf "300314 Erneuerbare Energien"
  # ======================================================================= #
  when /^300314(-|_| )?Erneuerbare(-|_| )?Energien$/i,
       /^Erneuerbare(-|_| )?Energien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300314&semester=2019W"
  # ======================================================================= #
  # === 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/de/course.html?lv=301236&semester=2022S"
  # ======================================================================= #
  # === rf "301380 Fachliteraturseminar Biochemie"
  # ======================================================================= #
  when /^301380(-|_| )?Fachliteraturseminar(-|_| )?Biochemie$/i,
       /^Fachliteraturseminar(-|_| )?Biochemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301380&semester=2019S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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 "300101 Bodenkunde für Ökologen"
  # ======================================================================= #
  when /^300101(-|_| )?Bodenkunde(-|_| )?für(-|_| )?Ökologen$/i,
       /^Bodenkunde(-|_| )?für(-|_| )?Ökologen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300101&semester=2021W"
  # ======================================================================= #
  # === 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 "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=2021W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === rf "301288 Molekulare Biophysik"
  # ======================================================================= #
  when /^301288(-|_| )?Molekulare(-|_| )?Biophysik$/i,
       /^Molekulare(-|_| )?Biophysik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301288&semester=2022S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=234572"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=330019&semester=2019S"
  # ======================================================================= #
  # === rf "270312 Toxikologie"
  # ======================================================================= #
  when /^270312(-|_| )?Toxikologie$/i,
       /^Toxikologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270312&semester=2020S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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=2019S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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=2021W"
  # ======================================================================= #
  # === rf "301370 Physikalische Chemie"
  # ======================================================================= #
  when /^301370(-|_| )?Physikalische(-|_| )?Chemie$/i,
       /^Physikalische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301370&semester=2020W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === rf "051035 Netzwerktechnologien"
  # ======================================================================= #
  when /^051035(-|_| )?Netzwerktechnologien$/i,
       /^Netzwerktechnologien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051035&semester=2019W"
  # ======================================================================= #
  # === 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 "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=2019S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2020S"
  # ======================================================================= #
  # === 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 "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=2018W"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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=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 "322073 Pharmazeutische Nanotechnologie - M7/M14"
  # ======================================================================= #
  when /^322073(-|_| )?Pharmazeutische(-|_| )?Nanotechnologie(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Pharmazeutische(-|_| )?Nanotechnologie(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322073&semester=2020W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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=2019S"
  # ======================================================================= #
  # === 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=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=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=2021W"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === rf "051021 Betriebssysteme"
  # ======================================================================= #
  when /^051021(-|_| )?Betriebssysteme$/i,
       /^Betriebssysteme$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051021&semester=2019S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "330018 Biochemische Übungen"
  # ======================================================================= #
  when /^330018(-|_| )?Biochemische(-|_| )?Übungen$/i,
       /^Biochemische(-|_| )?Übungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330018&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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === rf "330098 Biostatistik"
  # ======================================================================= #
  when /^330098(-|_| )?Biostatistik$/i,
       /^Biostatistik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330098&semester=2019W"
  # ======================================================================= #
  # === rf "300003 Physik für Biologinnen und Biologen und LA-BU"
  # ======================================================================= #
  when /^300003(-|_| )?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=300003&semester=2018W"
  # ======================================================================= #
  # === 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=2021W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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 "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 "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=2019W"
  # ======================================================================= #
  # === rf "270043 Bioanorganische Chemie"
  # ======================================================================= #
  when /^270043(-|_| )?Bioanorganische(-|_| )?Chemie$/i,
       /^Bioanorganische(-|_| )?Chemie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270043&semester=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === rf "321013 Arzneistoffsynthese - B7"
  # ======================================================================= #
  when /^321013(-|_| )?Arzneistoffsynthese(-|_| )?(-|_)?(-|_| )?B7$/i,
       /^Arzneistoffsynthese(-|_| )?(-|_)?(-|_| )?B7$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321013&semester=2019W"
  # ======================================================================= #
  # === 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 "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=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 "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=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=2019S"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=321012&semester=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=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=2019W"
  # ======================================================================= #
  # === rf "270099 Lebensmittelanalytik I"
  # ======================================================================= #
  when /^270099(-|_| )?Lebensmittelanalytik(-|_| )?I$/i,
       /^Lebensmittelanalytik(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270099&semester=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "300189 Verhaltensgenetik"
  # ======================================================================= #
  when /^300189(-|_| )?Verhaltensgenetik$/i,
       /^Verhaltensgenetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300189&semester=2022S"
  # ======================================================================= #
  # === 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 "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=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === rf "300056 Pflanzenanatomie Übungen"
  # ======================================================================= #
  when /^300056(-|_| )?Pflanzenanatomie(-|_| )?Übungen$/i,
       /^Pflanzenanatomie(-|_| )?Übungen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=300056&semester=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2021S"
  # ======================================================================= #
  # === rf "051034 Netzwerktechnologien"
  # ======================================================================= #
  when /^051034(-|_| )?Netzwerktechnologien$/i,
       /^Netzwerktechnologien$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051034&semester=2019W"
  # ======================================================================= #
  # === rf "270116 Labortechnik"
  # ======================================================================= #
  when /^270116(-|_| )?Labortechnik$/i,
       /^Labortechnik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270116&semester=2019S"
  # ======================================================================= #
  # === 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=2018W"
  # ======================================================================= #
  # === 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=301852&semester=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "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=2020W"
  # ======================================================================= #
  # === 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=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=2019S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "270149 Praktikum: Immunanalytische Methoden"
  # ======================================================================= #
  when /^270149(-|_| )?Praktikum:(-|_| )?Immunanalytische(-|_| )?Methoden$/i,
       /^Praktikum:(-|_| )?Immunanalytische(-|_| )?Methoden$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270149&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 "300156 Spezielle Techniken in der Elektronenmikroskopie und Ultrastrukturforschung"
  # ======================================================================= #
  when /^300156(-|_| )?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=300156&semester=2019S"
  # ======================================================================= #
  # === 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 "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=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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === rf "301449 Angewandte Makromolekulare Kristallographie"
  # ======================================================================= #
  when /^301449(-|_| )?Angewandte(-|_| )?Makromolekulare(-|_| )?Kristallographie$/i,
       /^Angewandte(-|_| )?Makromolekulare(-|_| )?Kristallographie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301449&semester=2019W"
  # ======================================================================= #
  # === 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 "301327 Vertiefungsseminar Epigenetik"
  # ======================================================================= #
  when /^301327(-|_| )?Vertiefungsseminar(-|_| )?Epigenetik$/i,
       /^Vertiefungsseminar(-|_| )?Epigenetik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301327&semester=2019W"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === rf "301581 Scientific Practice in Immunobiology"
  # ======================================================================= #
  when /^301581(-|_| )?Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Immunobiology$/i,
       /^Scientific(-|_| )?Practice(-|_| )?in(-|_| )?Immunobiology$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301849&semester=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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 "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=2019W"
  # ======================================================================= #
  # === 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 "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 "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 "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 "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=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=2019W"
  # ======================================================================= #
  # === 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 "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=2019S"
  # ======================================================================= #
  # === 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 "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 "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=300182&semester=2019S"
  # ======================================================================= #
  # === 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 "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=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=2019S"
  # ======================================================================= #
  # === 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 "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=2019S"
  # ======================================================================= #
  # === 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 "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=2019S"
  # ======================================================================= #
  # === 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 "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=2019S"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=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 "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=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=2019W"
  # ======================================================================= #
  # === 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 "270161 UE Physikalische Chemie I"
  # ======================================================================= #
  when /^270161(-|_| )?UE(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?I$/i,
       /^UE(-|_| )?Physikalische(-|_| )?Chemie(-|_| )?I$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270161&semester=2018S"
  # ======================================================================= #
  # === 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=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 "051023 Modellierung"
  # ======================================================================= #
  when /^051023(-|_| )?Modellierung$/i,
       /^Modellierung$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051023&semester=2019S"
  # ======================================================================= #
  # === rf "051061 Informationssicherheit"
  # ======================================================================= #
  when /^051061(-|_| )?Informationssicherheit$/i,
       /^Informationssicherheit$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051061&semester=2019S"
  # ======================================================================= #
  # === 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=2018W"
  # ======================================================================= #
  # === rf "051031 Datenbanksysteme"
  # ======================================================================= #
  when /^051031(-|_| )?Datenbanksysteme$/i,
       /^Datenbanksysteme$/i
    "https://ufind.univie.ac.at/de/course.html?lv=051031&semester=2018W"
  # ======================================================================= #
  # === 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 "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=2018W"
  # ======================================================================= #
  # === rf "270152 Mathematik Grundlagen"
  # ======================================================================= #
  when /^270152(-|_| )?Mathematik(-|_| )?Grundlagen$/i,
       /^Mathematik(-|_| )?Grundlagen$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270152&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=2019S"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === rf "321036 Drogenanalyse - B19"
  # ======================================================================= #
  when /^321036(-|_| )?Drogenanalyse(-|_| )?(-|_)?(-|_| )?B19$/i,
       /^Drogenanalyse(-|_| )?(-|_)?(-|_| )?B19$/i
    "https://ufind.univie.ac.at/de/course.html?lv=321036&semester=2019S"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === rf "322072 Zielgerichtete Arzneiformen - Drug Targeting - M7/M14"
  # ======================================================================= #
  when /^322072(-|_| )?Zielgerichtete(-|_| )?Arzneiformen(-|_| )?(-|_)?(-|_| )?Drug(-|_| )?Targeting(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i,
       /^Zielgerichtete(-|_| )?Arzneiformen(-|_| )?(-|_)?(-|_| )?Drug(-|_| )?Targeting(-|_| )?(-|_)?(-|_| )?M7\/?M14$/i
    "https://ufind.univie.ac.at/de/course.html?lv=322072&semester=2018W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === 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 "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=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 "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=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 "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 "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 "280446 VU Informatik (PI)"
  # ======================================================================= #
  when /^280446(-|_| )?VU(-|_| )?Informatik(-|_| )?\(?PI\)?$/i,
       /^VU(-|_| )?Informatik(-|_| )?\(?PI\)?$/i
    "https://ufind.univie.ac.at/de/course.html?lv=280446&semester=2019S"
  # ======================================================================= #
  # === 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 "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=2019S"
  # ======================================================================= #
  # === rf "270037 Chemieinformatik"
  # ======================================================================= #
  when /^270037(-|_| )?Chemieinformatik$/i,
       /^Chemieinformatik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270037&semester=2019S"
  # ======================================================================= #
  # === rf "270008 High performance Computing in Chemistry"
  # ======================================================================= #
  when /^270008(-|_| )?High(-|_| )?performance(-|_| )?Computing(-|_| )?in(-|_| )?Chemistry$/i,
       /^High(-|_| )?performance(-|_| )?Computing(-|_| )?in(-|_| )?Chemistry$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270008&semester=2019S"
  # ======================================================================= #
  # === 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=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 "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=2019S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === rf "330049 Lebensmitteltechnologie"
  # ======================================================================= #
  when /^330049(-|_| )?Lebensmitteltechnologie$/i,
       /^Lebensmitteltechnologie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330049&semester=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2019W"
  # ======================================================================= #
  # === 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 "301577 Biomolekulare Simulation"
  # ======================================================================= #
  when /^301577(-|_| )?Biomolekulare(-|_| )?Simulation$/i,
       /^Biomolekulare(-|_| )?Simulation$/i
    "https://ufind.univie.ac.at/de/course.html?lv=301577&semester=2020S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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 "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=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 "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 "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 "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=2019W"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2022S"
  # ======================================================================= #
  # === 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=2020W"
  # ======================================================================= #
  # === 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 "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=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 "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=2018W"
  # ======================================================================= #
  # === rf "330065 Mikrobiologie und Hygiene"
  # ======================================================================= #
  when /^330065(-|_| )?Mikrobiologie(-|_| )?und(-|_| )?Hygiene$/i,
       /^Mikrobiologie(-|_| )?und(-|_| )?Hygiene$/i
    "https://ufind.univie.ac.at/de/course.html?lv=330065&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=2022S"
  # ======================================================================= #
  # === rf "270051 Chemie in der Technik"
  # ======================================================================= #
  when /^270051(-|_| )?Chemie(-|_| )?in(-|_| )?der(-|_| )?Technik$/i,
       /^Chemie(-|_| )?in(-|_| )?der(-|_| )?Technik$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270051&semester=2018W"
  # ======================================================================= #
  # === 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=2019S"
  # ======================================================================= #
  # === rf "270016 Massenspektrometrie"
  # ======================================================================= #
  when /^270016(-|_| )?Massenspektrometrie$/i,
       /^Massenspektrometrie$/i
    "https://ufind.univie.ac.at/de/course.html?lv=270016&semester=2019S"
  # ======================================================================= #
  # === rf "500109 Molekularbiologische Übungen"
  # ======================================================================= #
  when /^500109(-|_| )?Molekularbiologische(-|_| )?Übungen$/i,
       /^Molekularbiologische(-|_| )?Übungen$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64665"
  # ======================================================================= #
  # === rf "500128 Bioanalytische Übungen"
  # ======================================================================= #
  when /^500128(-|_| )?Bioanalytische(-|_| )?Übungen$/i,
       /^Bioanalytische(-|_| )?Übungen$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64562"
  # ======================================================================= #
  # === 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=64956"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=65118"
  # ======================================================================= #
  # === 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=64524"
  # ======================================================================= #
  # === 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 "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=66173"
  # ======================================================================= #
  # === 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=66151"
  # ======================================================================= #
  # === 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=64589"
  # ======================================================================= #
  # === 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=64661"
  # ======================================================================= #
  # === 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=65235"
  # ======================================================================= #
  # === rf "500209 Vergleichende Genomanalyse"
  # ======================================================================= #
  when /^500209(-|_| )?Vergleichende(-|_| )?Genomanalyse$/i,
       /^Vergleichende(-|_| )?Genomanalyse$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=66013"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=65358"
  # ======================================================================= #
  # === 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=65030"
  # ======================================================================= #
  # === 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=65007"
  # ======================================================================= #
  # === rf "658112014U Medizinische Biochemie"
  # ======================================================================= #
  when /^658112014U(-|_| )?Medizinische(-|_| )?Biochemie$/i,
       /^Medizinische(-|_| )?Biochemie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=65776"
  # ======================================================================= #
  # === 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=65947"
  # ======================================================================= #
  # === 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 "500116 Biomedizinische Laborübungen"
  # ======================================================================= #
  when /^500116(-|_| )?Biomedizinische(-|_| )?Laborübungen$/i,
       /^Biomedizinische(-|_| )?Laborübungen$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64747"
  # ======================================================================= #
  # === 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=64602"
  # ======================================================================= #
  # === 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=63026"
  # ======================================================================= #
  # === 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=63235"
  # ======================================================================= #
  # === rf "500129 Molekularbiologische Methoden"
  # ======================================================================= #
  when /^500129(-|_| )?Molekularbiologische(-|_| )?Methoden$/i,
       /^Molekularbiologische(-|_| )?Methoden$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=62709"
  # ======================================================================= #
  # === 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=63360"
  # ======================================================================= #
  # === 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=65054"
  # ======================================================================= #
  # === 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=64613"
  # ======================================================================= #
  # === 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=62686"
  # ======================================================================= #
  # === 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=63406"
  # ======================================================================= #
  # === rf "500157 Populationsgenetik"
  # ======================================================================= #
  when /^500157(-|_| )?Populationsgenetik$/i,
       /^Populationsgenetik$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=65834"
  # ======================================================================= #
  # === 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=65637"
  # ======================================================================= #
  # === 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 "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=63297"
  # ======================================================================= #
  # === 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=63167"
  # ======================================================================= #
  # === 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 "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 "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=62509"
  # ======================================================================= #
  # === 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=64948"
  # ======================================================================= #
  # === rf "500050 Biochemie"
  # ======================================================================= #
  when /^500050(-|_| )?Biochemie$/i,
       /^Biochemie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=64987"
  # ======================================================================= #
  # === 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=65616"
  # ======================================================================= #
  # === rf "500144 Molekularbiologie"
  # ======================================================================= #
  when /^500144(-|_| )?Molekularbiologie$/i,
       /^Molekularbiologie$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=62507"
  # ======================================================================= #
  # === 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=63146"
  # ======================================================================= #
  # === 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=62720"
  # ======================================================================= #
  # === 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 "500207 Vertebrate Biomodelle"
  # ======================================================================= #
  when /^500207(-|_| )?Vertebrate(-|_| )?Biomodelle$/i,
       /^Vertebrate(-|_| )?Biomodelle$/i
    "https://online.vu-wien.ac.at/VUWonline/wbLv.wbShowLVDetail?pStpSpNr=60169"
  # ======================================================================= #
  # === 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=65499"
  # ======================================================================= #
  # === rf "MOL.301_1UF Präsentationstechnik"
  # ======================================================================= #
  when /^MOL\.?301_1UF(-|_| )?Präsentationstechnik$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=259216"
  # ======================================================================= #
  # === rf "MOL.601_1UF Molekularbiologische Übungen II"
  # ======================================================================= #
  when /^MOL\.?601_1UF(-|_| )?Molekularbiologische(-|_| )?Übungen(-|_| )?II$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=236420"
  # ======================================================================= #
  # === rf "MOL.202UB EDV II - Informationssysteme"
  # ======================================================================= #
  when /^MOL\.?202UB(-|_| )?EDV(-|_| )?II(-|_| )?(-|_)?(-|_| )?Informationssysteme$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLvDetail?pStpSpNr=576839"
  # ======================================================================= #
  # === rf "MOL.404UF Einführung in Biotechnologie"
  # ======================================================================= #
  when /^MOL\.?404UF(-|_| )?Einführung(-|_| )?in(-|_| )?Biotechnologie$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=226014"
  # ======================================================================= #
  # === rf "MOL.603UB Molekulare Virologie"
  # ======================================================================= #
  when /^MOL\.?603UB(-|_| )?Molekulare(-|_| )?Virologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=582477"
  # ======================================================================= #
  # === rf "MOL.406UF Immunologische Methoden"
  # ======================================================================= #
  when /^MOL\.?406UF(-|_| )?Immunologische(-|_| )?Methoden$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=223903"
  # ======================================================================= #
  # === rf "MOL.407UF Immunologische Methoden"
  # ======================================================================= #
  when /^MOL\.?407UF(-|_| )?Immunologische(-|_| )?Methoden$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=225228"
  # ======================================================================= #
  # === rf "MOL.102UB Einführung in die Laboratoriumspraxis"
  # ======================================================================= #
  when /^MOL\.?102UB(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Laboratoriumspraxis$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=583008"
  # ======================================================================= #
  # === 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=582899"
  # ======================================================================= #
  # === rf "MOL.105UB Einführung in Physik"
  # ======================================================================= #
  when /^MOL\.?105UB(-|_| )?Einführung(-|_| )?in(-|_| )?Physik$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=582936"
  # ======================================================================= #
  # === 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.103_1UF Erste Hilfe"
  # ======================================================================= #
  when /^MOL\.?103_1UF(-|_| )?Erste(-|_| )?Hilfe$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=223315"
  # ======================================================================= #
  # === 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/wbLv.wbShowLvDetail?pStpSpNr=582654"
  # ======================================================================= #
  # === 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/wbLv.wbShowLVDetail?pStpSpNr=226248"
  # ======================================================================= #
  # === rf "MOL.101UB Einführung in das Studium"
  # ======================================================================= #
  when /^MOL\.?101UB(-|_| )?Einführung(-|_| )?in(-|_| )?das(-|_| )?Studium$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=575724"
  # ======================================================================= #
  # === 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 "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 "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.506UF Bioprozesstechnik"
  # ======================================================================= #
  when /^MOL\.?506UF(-|_| )?Bioprozesstechnik$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLVDetail?pStpSpNr=239073"
  # ======================================================================= #
  # === 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=625947"
  # ======================================================================= #
  # === 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=582897"
  # ======================================================================= #
  # === 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/wbLv.wbShowLvDetail?pStpSpNr=581365"
  # ======================================================================= #
  # === rf "MOL.201UB Mathematik für MolekularbiologInnen"
  # ======================================================================= #
  when /^MOL\.?201UB(-|_| )?Mathematik(-|_| )?für(-|_| )?MolekularbiologInnen$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=575725"
  # ======================================================================= #
  # === 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=583275"
  # ======================================================================= #
  # === rf "MOL.106UB Naturwissenschaftliches Rechnen"
  # ======================================================================= #
  when /^MOL\.?106UB(-|_| )?Naturwissenschaftliches(-|_| )?Rechnen$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLvDetail?pStpSpNr=583336"
  # ======================================================================= #
  # === 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=222748"
  # ======================================================================= #
  # === 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=579248"
  # ======================================================================= #
  # === rf "MOL.405UB Biochemische Übungen"
  # ======================================================================= #
  when /^MOL\.?405UB(-|_| )?Biochemische(-|_| )?Übungen$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=580147"
  # ======================================================================= #
  # === 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.501_1UF Molekularbiologische Übungen I"
  # ======================================================================= #
  when /^MOL\.?501_1UF(-|_| )?Molekularbiologische(-|_| )?Übungen(-|_| )?I$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLvDetail?pStpSpNr=222300"
  # ======================================================================= #
  # === rf "MOL.505UB Molekulare Zellbiologie"
  # ======================================================================= #
  when /^MOL\.?505UB(-|_| )?Molekulare(-|_| )?Zellbiologie$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=525931"
  # ======================================================================= #
  # === rf "MOL.508UB Zellkultur"
  # ======================================================================= #
  when /^MOL\.?508UB(-|_| )?Zellkultur$/i
    "https://online.uni-graz.at/kfu_online/wbLv.wbShowLVDetail?pStpSpNr=525791"
  # ======================================================================= #
  # === rf "MOL.104UF EDV Basiswissen"
  # ======================================================================= #
  when /^MOL\.?104UF(-|_| )?EDV(-|_| )?Basiswissen$/i
    "https://online.tugraz.at/tug_online/wbLv.wbShowLvDetail?pStpSpNr=215650"
  # ======================================================================= #
  # === 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=517958"
  # ======================================================================= #
  # === 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=338825"
  # ======================================================================= #
  # === 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 "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=335413"
  # ======================================================================= #
  # === 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 "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 "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 "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/wbLv.wbShowLVDetail?pStpSpNr=334872"
  # ======================================================================= #
  # === 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.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/wbLv.wbShowLVDetail?pStpSpNr=337485"
  # ======================================================================= #
  # === 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 "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 "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 "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=335985"
  # ======================================================================= #
  # === 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=337242"
  # ======================================================================= #
  # === 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=335125"
  # ======================================================================= #
  # === 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 "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=336476"
  # ======================================================================= #
  # === 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=336621"
  # ======================================================================= #
  # === 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 "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 "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
# File 'lib/studium/utility_scripts/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 "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 "164.216 Technische Elektrochemie"
  # ======================================================================= #
  when /^164\.?216(-|_| )?Technische(-|_| )?Elektrochemie$/i,
       /^Technische(-|_| )?Elektrochemie$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=41973"
  # ======================================================================= #
  # === 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?idnumber=163189-2021W"
  # ======================================================================= #
  # === 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 "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 "308.119 Biomaterials"
  # ======================================================================= #
  when /^308\.?119(-|_| )?Biomaterials$/i,
       /^Biomaterials$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=47929"
  # ======================================================================= #
  # === 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 "226.065 Bodenkunde"
  # ======================================================================= #
  when /^226\.?065(-|_| )?Bodenkunde$/i,
       /^Bodenkunde$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=45082"
  # ======================================================================= #
  # === 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 "187.B12 Denkweisen der Informatik"
  # ======================================================================= #
  when /^187\.?B12(-|_| )?Denkweisen(-|_| )?der(-|_| )?Informatik$/i,
       /^Denkweisen(-|_| )?der(-|_| )?Informatik$/i
    ""
  # ======================================================================= #
  # === 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=20314"
  # ======================================================================= #
  # === 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 "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 "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 "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=21169"
  # ======================================================================= #
  # === 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 "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 "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 "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 "253.118 Ringvorlesung Ökologie"
  # ======================================================================= #
  when /^253\.?118(-|_| )?Ringvorlesung(-|_| )?Ökologie$/i,
       /^Ringvorlesung(-|_| )?Ökologie$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=44398"
  # ======================================================================= #
  # === 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 "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 "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 "185.A06 Formale Modellierung"
  # ======================================================================= #
  when /^185\.?A06(-|_| )?Formale(-|_| )?Modellierung$/i,
       /^Formale(-|_| )?Modellierung$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=18991"
  # ======================================================================= #
  # === 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 "188.391 Objektorientierte Modellierung"
  # ======================================================================= #
  when /^188\.?391(-|_| )?Objektorientierte(-|_| )?Modellierung$/i,
       /^Objektorientierte(-|_| )?Modellierung$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=18982"
  # ======================================================================= #
  # === 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://www.dmg.tuwien.ac.at/gittenberger/ana.html"
  # ======================================================================= #
  # === 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 "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 "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 "384.061 Objektorientiertes Programmieren"
  # ======================================================================= #
  when /^384\.?061(-|_| )?Objektorientiertes(-|_| )?Programmieren$/i,
       /^Objektorientiertes(-|_| )?Programmieren$/i
    "https://tuwel.tuwien.ac.at/course/view.php?id=21121"
  # ======================================================================= #
  # === 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 "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 "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 "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=32580"
  # ======================================================================= #
  # === moodle "754104 Betriebswirtschaft und Betriebsorganisation"
  # ======================================================================= #
  when /^754104(-|_| )?Betriebswirtschaft(-|_| )?und(-|_| )?Betriebsorganisation$/i,
       /^Betriebswirtschaft(-|_| )?und(-|_| )?Betriebsorganisation$/i
    "https://learn.boku.ac.at/course/view.php?id=28920"
  # ======================================================================= #
  # === 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=29475"
  # ======================================================================= #
  # === 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=24173"
  # ======================================================================= #
  # === moodle "772112 Biochemische Übungen I"
  # ======================================================================= #
  when /^772112(-|_| )?Biochemische(-|_| )?Übungen(-|_| )?I$/i,
       /^Biochemische(-|_| )?Übungen(-|_| )?I$/i
    "https://learn.boku.ac.at/course/view.php?id=34629"
  # ======================================================================= #
  # === 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 "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/course/view.php?id=20873"
  # ======================================================================= #
  # === 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=34419"
  # ======================================================================= #
  # === 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 "892102 Agrarphysik"
  # ======================================================================= #
  when /^892102(-|_| )?Agrarphysik$/i,
       /^Agrarphysik$/i
    "https://learn.boku.ac.at/course/view.php?id=32499"
  # ======================================================================= #
  # === 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=36915"
  # ======================================================================= #
  # === 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 "911102 Bodenkunde (AW)"
  # ======================================================================= #
  when /^911102(-|_| )?Bodenkunde(-|_| )?\(?AW\)?$/i,
       /^Bodenkunde(-|_| )?\(?AW\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=6145"
  # ======================================================================= #
  # === 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 "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 "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=38625"
  # ======================================================================= #
  # === 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 "872100 Geologie"
  # ======================================================================= #
  when /^872100(-|_| )?Geologie$/i,
       /^Geologie$/i
    "https://learn.boku.ac.at/course/view.php?id=31971"
  # ======================================================================= #
  # === 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 "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=33804"
  # ======================================================================= #
  # === 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 "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 "790116 Mikrobielle Physiologie"
  # ======================================================================= #
  when /^790116(-|_| )?Mikrobielle(-|_| )?Physiologie$/i,
       /^Mikrobielle(-|_| )?Physiologie$/i
    "https://learn.boku.ac.at/course/view.php?id=29358"
  # ======================================================================= #
  # === 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 "851111 Statistik (AW)"
  # ======================================================================= #
  when /^851111(-|_| )?Statistik(-|_| )?\(?AW\)?$/i,
       /^Statistik(-|_| )?\(?AW\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=31131"
  # ======================================================================= #
  # === 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 "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/course/view.php?id=33825"
  # ======================================================================= #
  # === 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=31134"
  # ======================================================================= #
  # === moodle "892105 Physik (UBRM)"
  # ======================================================================= #
  when /^892105(-|_| )?Physik(-|_| )?\(?UBRM\)?$/i,
       /^Physik(-|_| )?\(?UBRM\)?$/i
    "https://learn.boku.ac.at/enrol/index.php?id=32508"
  # ======================================================================= #
  # === 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 "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=29151"
  # ======================================================================= #
  # === 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 "790108 Bioethik"
  # ======================================================================= #
  when /^790108(-|_| )?Bioethik$/i,
       /^Bioethik$/i
    "https://learn.boku.ac.at/course/view.php?id=38400"
  # ======================================================================= #
  # === moodle "892104 Physik (LBT)"
  # ======================================================================= #
  when /^892104(-|_| )?Physik(-|_| )?\(?LBT\)?$/i,
       /^Physik(-|_| )?\(?LBT\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=32502"
  # ======================================================================= #
  # === 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/course/view.php?id=29106"
  # ======================================================================= #
  # === 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 "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 "771108 Analytische Chemie"
  # ======================================================================= #
  when /^771108(-|_| )?Analytische(-|_| )?Chemie$/i,
       /^Analytische(-|_| )?Chemie$/i
    "https://online.boku.ac.at/BOKUonline/wbLv.wbShowLVDetail?pStpSpNr=291814"
  # ======================================================================= #
  # === moodle "851106 Statistik Übungen (LBT)"
  # ======================================================================= #
  when /^851106(-|_| )?Statistik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i,
       /^Statistik(-|_| )?Übungen(-|_| )?\(?LBT\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=40143"
  # ======================================================================= #
  # === moodle "851110 Statistik (UBRM)"
  # ======================================================================= #
  when /^851110(-|_| )?Statistik(-|_| )?\(?UBRM\)?$/i,
       /^Statistik(-|_| )?\(?UBRM\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=35923"
  # ======================================================================= #
  # === moodle "851109 Statistik (UBRM)"
  # ======================================================================= #
  when /^851109(-|_| )?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 "958118 Obst- und Weinbau"
  # ======================================================================= #
  when /^958118(-|_| )?Obst(-|_)?(-|_| )?und(-|_| )?Weinbau$/i,
       /^Obst(-|_)?(-|_| )?und(-|_| )?Weinbau$/i
    "https://learn.boku.ac.at/course/view.php?id=18850"
  # ======================================================================= #
  # === moodle "731101 Projektmanagement"
  # ======================================================================= #
  when /^731101(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://learn.boku.ac.at/course/view.php?id=18518"
  # ======================================================================= #
  # === 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 "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 "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 "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 "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 "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 "831135 Allgemeine Botanik"
  # ======================================================================= #
  when /^831135(-|_| )?Allgemeine(-|_| )?Botanik$/i,
       /^Allgemeine(-|_| )?Botanik$/i
    "https://learn.boku.ac.at/course/view.php?id=30618"
  # ======================================================================= #
  # === 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 "731115 Grundlagen der Ökonomie"
  # ======================================================================= #
  when /^731115(-|_| )?Grundlagen(-|_| )?der(-|_| )?Ökonomie$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Ökonomie$/i
    "https://learn.boku.ac.at/course/view.php?id=27912"
  # ======================================================================= #
  # === moodle "752339 Protein engineering (in Eng.)"
  # ======================================================================= #
  when /^752339(-|_| )?Protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i,
       /^Protein(-|_| )?engineering(-|_| )?\(?in(-|_| )?Eng\.?\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=28866"
  # ======================================================================= #
  # === moodle "831110 Botanik (AW)"
  # ======================================================================= #
  when /^831110(-|_| )?Botanik(-|_| )?\(?AW\)?$/i,
       /^Botanik(-|_| )?\(?AW\)?$/i
    "https://learn.boku.ac.at/course/view.php?id=30585"
  # ======================================================================= #
  # === moodle "814102 Meteorologie"
  # ======================================================================= #
  when /^814102(-|_| )?Meteorologie$/i,
       /^Meteorologie$/i
    "https://learn.boku.ac.at/course/view.php?id=17610"
  # ======================================================================= #
  # === 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 "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=291948"
  # ======================================================================= #
  # === 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 "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 "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 "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 "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 "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 "915180 Projektmanagement"
  # ======================================================================= #
  when /^915180(-|_| )?Projektmanagement$/i,
       /^Projektmanagement$/i
    "https://learn.boku.ac.at/course/view.php?id=24647"
  # ======================================================================= #
  # === 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 "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 "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 "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 "330030 Angewandte Genetik und Molekularbiologie"
  # ======================================================================= #
  when /^330030(-|_| )?Angewandte(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i,
       /^Angewandte(-|_| )?Genetik(-|_| )?und(-|_| )?Molekularbiologie$/i
    "https://moodle.univie.ac.at/mod/folder/view.php?id=3222635"
  # ======================================================================= #
  # === 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 "300309 Mikrobielle Genomplastizität"
  # ======================================================================= #
  when /^300309(-|_| )?Mikrobielle(-|_| )?Genomplastizität$/i,
       /^Mikrobielle(-|_| )?Genomplastizität$/i
    "https://moodle.univie.ac.at/course/view.php?id=118473"
  # ======================================================================= #
  # === moodle "250066 Programmierpraktikum"
  # ======================================================================= #
  when /^250066(-|_| )?Programmierpraktikum$/i,
       /^Programmierpraktikum$/i
    "https://moodle.univie.ac.at/course/view.php?id=77906"
  # ======================================================================= #
  # === 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=116857"
  # ======================================================================= #
  # === 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=88798"
  # ======================================================================= #
  # === 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 "300178 Mikrob. Lebensgemeinschaften"
  # ======================================================================= #
  when /^300178(-|_| )?Mikrob\.?(-|_| )?Lebensgemeinschaften$/i,
       /^Mikrob\.?(-|_| )?Lebensgemeinschaften$/i
    "https://moodle.univie.ac.at/course/view.php?id=108148"
  # ======================================================================= #
  # === moodle "301407 Molekulare Pathologie"
  # ======================================================================= #
  when /^301407(-|_| )?Molekulare(-|_| )?Pathologie$/i,
       /^Molekulare(-|_| )?Pathologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=102193"
  # ======================================================================= #
  # === moodle "270281 Immunanalytische Methoden"
  # ======================================================================= #
  when /^270281(-|_| )?Immunanalytische(-|_| )?Methoden$/i,
       /^Immunanalytische(-|_| )?Methoden$/i
    "https://moodle.univie.ac.at/course/view.php?id=89905"
  # ======================================================================= #
  # === 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=87239"
  # ======================================================================= #
  # === moodle "442706 Bioanalytische Methoden zur Identifikation und Evaluierung von Biomarkern"
  # ======================================================================= #
  when /^442706(-|_| )?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 "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=116248"
  # ======================================================================= #
  # === 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 "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 "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=92444"
  # ======================================================================= #
  # === 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 "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 "321018 Pharmazeutische Biotechnologie - B10"
  # ======================================================================= #
  when /^321018(-|_| )?Pharmazeutische(-|_| )?Biotechnologie(-|_| )?(-|_)?(-|_| )?B10$/i,
       /^Pharmazeutische(-|_| )?Biotechnologie(-|_| )?(-|_)?(-|_| )?B10$/i
    "https://moodle.univie.ac.at/course/view.php?id=146590"
  # ======================================================================= #
  # === moodle "270035 Massenspektrometrie"
  # ======================================================================= #
  when /^270035(-|_| )?Massenspektrometrie$/i,
       /^Massenspektrometrie$/i
    "https://moodle.univie.ac.at/course/view.php?id=89880"
  # ======================================================================= #
  # === 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 "270095 Enzyme - Mechanismen und Anwendungen"
  # ======================================================================= #
  when /^270095(-|_| )?Enzyme(-|_| )?(-|_)?(-|_| )?Mechanismen(-|_| )?und(-|_| )?Anwendungen$/i,
       /^Enzyme(-|_| )?(-|_)?(-|_| )?Mechanismen(-|_| )?und(-|_| )?Anwendungen$/i
    "https://moodle.univie.ac.at/course/view.php?id=128735"
  # ======================================================================= #
  # === 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 "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=116336"
  # ======================================================================= #
  # === 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 "301586 Molekulare Medizin 2"
  # ======================================================================= #
  when /^301586(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?2$/i,
       /^Molekulare(-|_| )?Medizin(-|_| )?2$/i
    "https://moodle.univie.ac.at/course/view.php?id=116821"
  # ======================================================================= #
  # === moodle "301585 Molekulare Medizin 1"
  # ======================================================================= #
  when /^301585(-|_| )?Molekulare(-|_| )?Medizin(-|_| )?1$/i,
       /^Molekulare(-|_| )?Medizin(-|_| )?1$/i
    "https://moodle.univie.ac.at/enrol/index.php?id=102209"
  # ======================================================================= #
  # === 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=116725"
  # ======================================================================= #
  # === 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=74316"
  # ======================================================================= #
  # === 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=102147"
  # ======================================================================= #
  # === 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=122984"
  # ======================================================================= #
  # === moodle "300036 Molecular Evolution"
  # ======================================================================= #
  when /^300036(-|_| )?Molecular(-|_| )?Evolution$/i,
       /^Molecular(-|_| )?Evolution$/i
    "https://moodle.univie.ac.at/course/view.php?id=109697"
  # ======================================================================= #
  # === 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 "301037 Cell Biology I"
  # ======================================================================= #
  when /^301037(-|_| )?Cell(-|_| )?Biology(-|_| )?I$/i,
       /^Cell(-|_| )?Biology(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=102121"
  # ======================================================================= #
  # === 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 "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 "321014 Anatomie und Physiologie - B8"
  # ======================================================================= #
  when /^321014(-|_| )?Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?(-|_)?(-|_| )?B8$/i,
       /^Anatomie(-|_| )?und(-|_| )?Physiologie(-|_| )?(-|_)?(-|_| )?B8$/i
    "https://moodle.univie.ac.at/enrol/index.php?id=130131"
  # ======================================================================= #
  # === moodle "321015 Pathophysiologie - B8"
  # ======================================================================= #
  when /^321015(-|_| )?Pathophysiologie(-|_| )?(-|_)?(-|_| )?B8$/i,
       /^Pathophysiologie(-|_| )?(-|_)?(-|_| )?B8$/i
    "https://moodle.univie.ac.at/course/view.php?id=113669"
  # ======================================================================= #
  # === moodle "301617 Strukturbiologie I"
  # ======================================================================= #
  when /^301617(-|_| )?Strukturbiologie(-|_| )?I$/i,
       /^Strukturbiologie(-|_| )?I$/i
    "https://moodle.univie.ac.at/course/view.php?id=116701"
  # ======================================================================= #
  # === moodle "301618 Strukturbiologie II"
  # ======================================================================= #
  when /^301618(-|_| )?Strukturbiologie(-|_| )?II$/i,
       /^Strukturbiologie(-|_| )?II$/i
    "https://moodle.univie.ac.at/course/view.php?id=132012"
  # ======================================================================= #
  # === 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 "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 "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 "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 "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 "300038 The Human Microbiome"
  # ======================================================================= #
  when /^300038(-|_| )?The(-|_| )?Human(-|_| )?Microbiome$/i,
       /^The(-|_| )?Human(-|_| )?Microbiome$/i
    "https://moodle.univie.ac.at/course/view.php?id=106620"
  # ======================================================================= #
  # === 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=102012"
  # ======================================================================= #
  # === 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=112008"
  # ======================================================================= #
  # === 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 "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=124093"
  # ======================================================================= #
  # === 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=88732"
  # ======================================================================= #
  # === 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 "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 "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 "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=116784"
  # ======================================================================= #
  # === 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 "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=108788"
  # ======================================================================= #
  # === 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 "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=119980"
  # ======================================================================= #
  # === 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=116722"
  # ======================================================================= #
  # === 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 "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 "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=122644"
  # ======================================================================= #
  # === 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=88758"
  # ======================================================================= #
  # === 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=110051"
  # ======================================================================= #
  # === moodle "300014 Einführung in die Entwicklung der Tiere"
  # ======================================================================= #
  when /^300014(-|_| )?Einführung(-|_| )?in(-|_| )?die(-|_| )?Entwicklung(-|_| )?der(-|_| )?Tiere$/i,
       /^Einführung(-|_| )?in(-|_| )?die(-|_| )?Entwicklung(-|_| )?der(-|_| )?Tiere$/i
    "https://moodle.univie.ac.at/course/view.php?id=124476"
  # ======================================================================= #
  # === 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 "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=118559"
  # ======================================================================= #
  # === 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 "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 "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 "300495 Ökophysiologie"
  # ======================================================================= #
  when /^300495(-|_| )?Ökophysiologie$/i,
       /^Ökophysiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=110201"
  # ======================================================================= #
  # === 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=127000"
  # ======================================================================= #
  # === 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=93093"
  # ======================================================================= #
  # === moodle "300269 Paläobiogeographie"
  # ======================================================================= #
  when /^300269(-|_| )?Paläobiogeographie$/i,
       /^Paläobiogeographie$/i
    "https://moodle.univie.ac.at/course/view.php?id=111769"
  # ======================================================================= #
  # === 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 "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 "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 "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=116840"
  # ======================================================================= #
  # === 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 "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=117858"
  # ======================================================================= #
  # === 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 "051210 Grundlagen der Wirtschaftsinformatik"
  # ======================================================================= #
  when /^051210(-|_| )?Grundlagen(-|_| )?der(-|_| )?Wirtschaftsinformatik$/i,
       /^Grundlagen(-|_| )?der(-|_| )?Wirtschaftsinformatik$/i
    "https://moodle.univie.ac.at/course/view.php?id=124528"
  # ======================================================================= #
  # === moodle "301288 Molekulare Biophysik"
  # ======================================================================= #
  when /^301288(-|_| )?Molekulare(-|_| )?Biophysik$/i,
       /^Molekulare(-|_| )?Biophysik$/i
    "https://moodle.univie.ac.at/course/view.php?id=116787"
  # ======================================================================= #
  # === 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 "270312 Toxikologie"
  # ======================================================================= #
  when /^270312(-|_| )?Toxikologie$/i,
       /^Toxikologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=105475"
  # ======================================================================= #
  # === moodle "301370 Physikalische Chemie"
  # ======================================================================= #
  when /^301370(-|_| )?Physikalische(-|_| )?Chemie$/i,
       /^Physikalische(-|_| )?Chemie$/i
    "https://moodle.univie.ac.at/course/view.php?id=116786"
  # ======================================================================= #
  # === 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 "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=111570"
  # ======================================================================= #
  # === moodle "270194 Molekulare Zellbiologie"
  # ======================================================================= #
  when /^270194(-|_| )?Molekulare(-|_| )?Zellbiologie$/i,
       /^Molekulare(-|_| )?Zellbiologie$/i
    "https://moodle.univie.ac.at/course/view.php?id=116889"
  # ======================================================================= #
  # === moodle "051021 Betriebssysteme"
  # ======================================================================= #
  when /^051021(-|_| )?Betriebssysteme$/i,
       /^Betriebssysteme$/i
    "https://moodle.univie.ac.at/course/view.php?id=103592"
  # ======================================================================= #
  # === 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=88838"
  # ======================================================================= #
  # === 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=92720"
  # ======================================================================= #
  # === moodle "300189 Verhaltensgenetik"
  # ======================================================================= #
  when /^300189(-|_| )?Verhaltensgenetik$/i,
       /^Verhaltensgenetik$/i
    "https://moodle.univie.ac.at/course/view.php?id=112066"
  # ======================================================================= #
  # === 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 "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 "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 "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=_4941_1&content_id=_186400_1&mode=reset"
  # ======================================================================= #
  # === moodle "500128 Bioanalytische Übungen"
  # ======================================================================= #
  when /^500128(-|_| )?Bioanalytische(-|_| )?Übungen$/i,
       /^Bioanalytische(-|_| )?Übungen$/i
    "https://vetucation.vetmeduni.ac.at/webapps/blackboard/execute/announcement?method=search&context=course_entry&course_id=_5298_1&handle=announcements_entry&mode=view"
  # ======================================================================= #
  # === 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 "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 "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/execute/announcement?method=search&context=course_entry&course_id=_4547_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 "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 "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 "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 "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 "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 "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 "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 "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 "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"
  # ======================================================================= #
  # === 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"
  else
    i
  end
end

.return_string_how_many_exam_questions_are_already_answeredObject

#

Studium.return_string_how_many_exam_questions_are_already_answered

#


38
39
40
41
42
43
44
45
# File 'lib/studium/toplevel_methods/return_n_questions_were_answered_for_this_topic.rb', line 38

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.

#


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

def self.return_theme_of_the_next_upcoming_exam
  _ = ::Studium.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

#


472
473
474
475
476
477
478
479
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 472

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

#


13
14
15
16
17
18
19
# File 'lib/studium/toplevel_methods/word_wrap.rb', line 13

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.

Usage example:

Studium.return_title_from_this_curriculum_file(:bachelor_vektor) # => "Bachelorcurriculum Vector-based strategies in Life Sciences, (Bio)Informatics, Molecular Medicine and Biotechnology"
#


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
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 628

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
    i = i.first
  end
  case also_remove_the_bachelor_master_attribution_at_the_start
  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?
  case i.to_sym
  # ======================================================================= #
  # === bvektor
  # ======================================================================= #
  when :bvektor,
       :bvector,
       :bvec,
       :bvek,
       :bachelor_vektor
    i = FILE_BACHELOR_VEKTORX
  # ======================================================================= #
  # === mvektor
  # ======================================================================= #
  when :mvektor,
       :mvector,
       :mvec
    i = FILE_MASTER_VEKTORX
  # ======================================================================= #
  # === :default_input_file
  # ======================================================================= #
  when :default_input_file
    i = FILE_MASTER_VEKTORX
  end
  if File.exist? i
    # ===================================================================== #
    # If the file exists, we can read it in.
    # ===================================================================== #
    dataset = File.readlines(i, encoding: ::Studium.main_encoding?)
    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+'`.'
  end
  nil # Default return-value.
end

.return_tu_vienna_logo_imageObject

#

Studium.return_tu_vienna_logo_image

#


196
197
198
199
200
201
# File 'lib/studium/constants/image_constants.rb', line 196

def self.return_tu_vienna_logo_image
  img(
    "#{IMG_DIRECTORY}studium/TU_VIENNA_LOGO.png",
    css_style: @use_this_css_style_for_the_logo_images
  )
end

.return_university_of_vienna_logo_imageObject

#

Studium.return_university_of_vienna_logo_image

#


179
180
181
182
183
184
# File 'lib/studium/constants/image_constants.rb', line 179

def self.return_university_of_vienna_logo_image
  img(
    "#{IMG_DIRECTORY}studium/UNIVERSITY_OF_VIENNA_LOGO_IMAGE.png",
    css_style: @use_this_css_style_for_the_logo_images
  )
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

#


88
89
90
91
92
93
# File 'lib/studium/constants/image_constants.rb', line 88

def self.return_vetmed_logo_image
  img(
    "#{IMG_DIRECTORY}studium/VETMED_LOGO_IMAGE.png",
    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')
#


173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
# File 'lib/studium/toplevel_methods/time.rb', line 173

def self.return_weekday_of_this_date(
    i                      = '01.01.2017',
    return_names_in_german = false
  )
  case return_names_in_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

.rinstall2(&block) ⇒ Object

#

Studium.rinstall2

The following method will only work on my home system.

#


18
19
20
21
22
23
24
25
26
27
28
# File 'lib/studium/toplevel_methods/rinstall2.rb', line 18

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

#


491
492
493
494
# File 'lib/studium/colours/colours.rb', line 491

def self.royalblue(i)
  return ::Studium::Colours.royalblue(i) if Colours.use_colours?
  i
end

.rti_conflict(i) ⇒ Object

#

Studium.rti_conflict

#


12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/studium/toplevel_methods/rti_conflict.rb', line 12

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)


115
116
117
# File 'lib/studium/constants/roebe.rb', line 115

def self.ruby_src_dir_at_home?
  RUBY_SRC_DIR
end

.runmode?Boolean

#

Studium.runmode?

There are two basic runmodes for the Studium project:

:commandline
:www

The default will be @commandline. If you need to modify it, use the method Studium.set_runmode()

#

Returns:

  • (Boolean)


28
29
30
# File 'lib/studium/toplevel_methods/runmode.rb', line 28

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.

#


490
491
492
493
494
495
496
497
498
499
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 490

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'.

#


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
# File 'lib/studium/toplevel_methods/sanitize_this_theme_topic.rb', line 22

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.

#


57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/studium/toplevel_methods/url.rb', line 57

def self.sanitize_url(
    i, optional_return_as_string = nil
  )
  case optional_return_as_string
  when :return_string, :return_a_string
    optional_return_as_string = true
  end
  unless Studium.respond_to? :is_this_url_registered?
    require 'studium/utility_scripts/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 = 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.

#


28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/studium/toplevel_methods/sanitized_dataset_from_file_passed_exams_per_month.rb', line 28

def self.sanitized_dataset_from_file_passed_exams_per_month(
    i                 = 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.

#


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/toplevel_methods/save_all_registered_upcoming_exams.rb', line 21

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
end

.save_this_delay_between_questions_and_answers(i, be_verbose = true) ⇒ Object

#

Studium.save_this_delay_between_questions_and_answers

#


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
# File 'lib/studium/toplevel_methods/save_this_delay_between_questions_and_answers.rb', line 17

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, file_mode_to_be_used = 'w+', permission_to_use = 0755) ⇒ Object

#

Studium.save_what_into

#


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/toplevel_methods/save_file.rb', line 22

def self.save_what_into(
    what,
    into_where,
    file_mode_to_be_used = 'w+',
    permission_to_use    = 0755
  )
  if what.is_a? Array
    what = what.join
  end
  begin
    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
    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) ⇒ Object

#

Studium.sdir

#


536
537
538
# File 'lib/studium/colours/colours.rb', line 536

def self.sdir(i)
  return ::Studium::Colours.sdir(i)
end

.set_exam_topics(i = EXAM_TOPICS) ⇒ Object

#

Studium.set_exam_topics

Note that this will point to a directory.

#


79
80
81
82
83
84
# File 'lib/studium/constants/exam_topics.rb', line 79

def self.set_exam_topics(
    i = EXAM_TOPICS
  )
  i << '/' unless i.end_with? '/' # Ensure trailing '/' here.
  @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'.

#


60
61
62
# File 'lib/studium/constants/file_constants.rb', line 60

def self.set_file_exams(i = FILE_EXAMS)
  @file_exams = i
end

.set_file_lecture_information(i) ⇒ Object

#

Studium.set_file_lecture_information

#


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

def self.set_file_lecture_information(i)
  @file_lecture_information = i
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.

#


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
# File 'lib/studium/toplevel_methods/set_last_file_for_exam_questions.rb', line 23

def self.set_last_file_for_exam_questions(
    file_path,
    be_verbose = false
  )
  into = 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

#


40
41
42
# File 'lib/studium/toplevel_methods/main_dataset.rb', line 40

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)
#


53
54
55
56
57
58
59
60
61
62
63
# File 'lib/studium/toplevel_methods/runmode.rb', line 53

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.
#


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
# File 'lib/studium/toplevel_methods/set_this_cd_alias_to.rb', line 31

def self.set_this_cd_alias_to(
    this_cd_alias,
    new_content,
    be_verbose = :default
  )
  case be_verbose # By default, we will be verbose.
  when :default
    be_verbose = true
  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?
    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

#


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

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) ⇒ Object

#

Studium.sfancy

#


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

def self.sfancy(i)
  return ::Studium::Colours.sfancy(i)
end

.sfile(i) ⇒ Object

#

Studium.sfile

#


31
32
33
# File 'lib/studium/colours/sfile.rb', line 31

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)


23
24
25
# File 'lib/studium/constants/unicode.rb', line 23

def self.shall_we_make_use_of_unicode_symbols?
  MAKE_USE_OF_UNICODE_SYMBOLS_WHENEVER_POSSIBLE
end

.show_exam_statisticsObject

#

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
# 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, 'davon waren '+crimson('\\1')+' 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')+' Fragen')
    # ===================================================================== #
    # Colourize the date.
    # ===================================================================== #
    use_this_regex = /Am (\d{1,2}.\d{1,2}.\d{4}) /
    dataset.gsub!(use_this_regex, 'Am '+slateblue('\\1')+' ')
    # ===================================================================== #
    # Next, modify the % percentage value.
    # ===================================================================== #
    use_this_regex = /(\d{1,2}\.\d{1,2}%)/
    dataset.gsub!(use_this_regex, turquoise('\\1'))
    # ===================================================================== #
    # 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'))
    e; e dataset; e
  else
    e "No file exists at #{Colours.sfile(_)}"
  end
end

.show_important_filesObject

#

Studium.show_important_files

Show some of the important files.

Invocation example:

studium --show_important_files
#


147
148
149
150
151
152
153
# File 'lib/studium/toplevel_methods/methods_related_to_files.rb', line 147

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

#


146
147
148
# File 'lib/studium/utility_scripts/show_lectures_on_this_day.rb', line 146

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

#


163
164
165
166
167
168
169
# File 'lib/studium/utility_scripts/show_lva_dates_of_this_lecture.rb', line 163

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.

#


371
372
373
# File 'lib/studium/exams/last_exams/last_exams.rb', line 371

def self.show_n_last_exams(i = ARGV)
  Studium::Exams::LastExams.new(i)
end

.show_outdated_lva_datesObject

#

Studium.show_outdated_lva_dates

#


210
211
212
# File 'lib/studium/utility_scripts/show_outdated_lva_dates.rb', line 210

def self.show_outdated_lva_dates
  Studium::ShowOutdatedLvaDates.new
end

.show_passed_credits_per_curriculum(i = ARGV) ⇒ Object

#

Studium.show_passed_credits_per_curriculum

#


269
270
271
# File 'lib/studium/ects/show_passed_credits_per_curriculum.rb', line 269

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

#


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
# File 'lib/studium/toplevel_methods/curriculum_related_code.rb', line 834

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.

#


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

def self.show_passed_exams(i = ARGV)
  ::Studium::Exams.show_passed_exams(i)
end

.show_passed_exams_having_this_grade(i = ARGV) ⇒ Object

#

Studium.show_passed_exams_having_this_grade

Pass in the grade to this method, such as 1,2,3,4 or 5. The method will then report all exams that were successfully passed with that particular grade at hand.

#


17
18
19
20
21
# File 'lib/studium/toplevel_methods/show_passed_exams_having_this_grade.rb', line 17

def self.show_passed_exams_having_this_grade(i = ARGV)
  i = i.first if i.is_a? Array
  i = 4 if i.to_i > 4 # We do not keep grade 5 or higher.
  ::Studium::Exams::LastExams.new("--grade=#{i}")    
end

.show_questions_per_yearObject

#

Studium.show_questions_per_year

#


145
146
147
# File 'lib/studium/exams/new_questions_per_year.rb', line 145

def self.show_questions_per_year
  Studium::Exams::NewQuestionsPerYear.new
end

.show_upcoming_exams(show_n_exams = :all_of_them) ⇒ Object

#

Studium.show_upcoming_exams

#


449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
# File 'lib/studium/exams/show_upcoming_exams/show_upcoming_exams.rb', line 449

def self.show_upcoming_exams(
    show_n_exams = :all_of_them
  )
  _ = Studium::ShowUpcomingExams.new(show_n_exams, :do_not_run_yet) {{
    show_n_upcoming_exams: show_n_exams
  }}
  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

#


36
37
38
# File 'lib/studium/colours/simp.rb', line 36

def self.simp(i)
  return ::Studium::Colours.simp(i)
end

.slateblue(i) ⇒ Object

#

Studium.slateblue

#


451
452
453
454
# File 'lib/studium/colours/colours.rb', line 451

def self.slateblue(i)
  return ::Studium::Colours.slateblue(i) if Colours.use_colours?
  i
end

.spacerObject

#

Studium.spacer

This is similar to cliner() - but simpler.

#


14
15
16
# File 'lib/studium/toplevel_methods/spacer.rb', line 14

def self.spacer
  puts '-' * 80
end

.start_sinatra_interfaceObject

#

Studium.start_sinatra_interface

This method can be used to start the sinatra interface.

#


222
223
224
# File 'lib/studium/sinatra/app.rb', line 222

def self.start_sinatra_interface
  ::Studium::Sinatra.run!
end

.statistics(i = nil) ⇒ Object

#

Studium.statistics

#


469
470
471
# File 'lib/studium/statistics/report_how_many_exam_questions_were_answered.rb', line 469

def self.statistics(i = nil)
  Statistics::ReportHowManyExamQuestionsWereAnswered.new(i)
end

.studium_at_home_dir?Boolean

#

Studium.studium_at_home_dir?

This method will return a String such as “/home/x/studium/”.

#

Returns:

  • (Boolean)


144
145
146
# File 'lib/studium/constants/roebe.rb', line 144

def self.studium_at_home_dir?
  ROEBE_STUDIUM_DIR
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.

#


62
63
64
# File 'lib/studium/toplevel_methods/total_ects_points_passed.rb', line 62

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.

#


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
# File 'lib/studium/toplevel_methods/try_to_guess_the_most_likely_lva_id.rb', line 20

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
    ::Studium.set_main_dataset(dataset)
  else
    dataset = ::Studium.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.

#


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
# File 'lib/studium/toplevel_methods/regexes.rb', line 27

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 = "#{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.

#


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
# File 'lib/studium/toplevel_methods/try_to_return_the_expanded_name_of_this_lecture.rb', line 26

def self.try_to_return_the_expanded_name_of_this_lecture(
    i = ARGV,
    use_this_dataset = :infer
  )
  case use_this_dataset
  # ======================================================================= #
  # === :infer
  # ======================================================================= #
  when :infer
    require 'studium/toplevel_methods/main_dataset.rb'
    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

#


475
476
477
478
# File 'lib/studium/colours/colours.rb', line 475

def self.turquoise(i)
  return ::Studium::Colours.turquoise(i) if Colours.use_colours?
  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
#


29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/studium/toplevel_methods/unfinished.rb', line 29

def self.unfinished(i = ARGV)
  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

.unsolve_all_questions_from_this_topic(this_topic) ⇒ Object

#

Studium::Exams.unsolve_all_questions_from_this_topic

#


162
163
164
# File 'lib/studium/exams/unsolve_all_questions_from_this_topic.rb', line 162

def self.unsolve_all_questions_from_this_topic(this_topic)
  new(this_topic)
end

.update_max_ever_exam_questions_answeredObject

#

Studium.update_max_ever_exam_questions_answered

#


377
378
379
# File 'lib/studium/exams/questions_solved_from_day_to_day.rb', line 377

def self.update_max_ever_exam_questions_answered
  Studium::Exams::QuestionsSolvedFromDayToDay.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
#


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
# File 'lib/studium/toplevel_methods/handle_archive_of_the_exam_questions.rb', line 95

def self.upload_archive_of_the_exam_questions(
    this_file_has_to_be_uploaded = FILE_EXAM_TOPICS_ARCHIVE
  )
  # ======================================================================= #
  # 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.

#


339
340
341
342
343
344
345
346
347
348
349
350
351
# File 'lib/studium/exams/upload_exam_topics.rb', line 339

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

#


301
302
303
304
305
# File 'lib/studium/pdf/create_pdf_file_for_this_exam_topic.rb', line 301

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)


519
520
521
# File 'lib/studium/colours/colours.rb', line 519

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
# 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
    i = 'UTF-8'
  # ======================================================================= #
  # === iso1
  # ======================================================================= #
  when 'iso1'
    i = 'ISO-8859-1'
  end
  @use_this_encoding = i
  if also_save_the_new_encoding
    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

#


81
82
83
84
# File 'lib/studium/toplevel_methods/runmode.rb', line 81

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)


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

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

#


12
13
14
15
16
17
18
19
# File 'lib/studium/toplevel_methods/verbose_truth.rb', line 12

def self.verbose_truth(i)
  case i.to_s
  when 'yes','y','ja','t','true'
    return true
  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)


27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# File 'lib/studium/toplevel_methods/when_was_this_lecture_passed.rb', line 27

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)


94
95
96
# File 'lib/studium/toplevel_methods/time.rb', line 94

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.

#


31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/studium/toplevel_methods/word_wrap.rb', line 31

def self.word_wrap(
    text,
    line_width = 75
  )
  # ======================================================================= #
  # 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.

#


72
73
74
# File 'lib/studium/toplevel_methods/runmode.rb', line 72

def self.www_runmode
  set_runmode(:www)
end

.yes_or_no(i) ⇒ Object

#

Studium.yes_or_no

#


12
13
14
15
16
17
18
19
# File 'lib/studium/toplevel_methods/yes_or_no_ja_oder_nein.rb', line 12

def self.yes_or_no(i)
  case i.to_s
  when 'true'
    'Yes'
  else
    '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

#


83
84
85
# File 'lib/studium/toplevel_methods/url.rb', line 83

def sanitize_url(i)
  BeautifulUrl::BeautifulUrl.new(i)
end