<?php
'Klas HV1',
'Klas HV1 vak AK1',
'Klas HV1 vak GH1',
'Klas HV1 vak WI1',
'Klas HV1 vak NA1',
'Klas HV1 vak FR',
'Leerling Klas HV1 vak AK1',
'Leerling Klas HV1 vak GH1',
'Leerling Klas HV1 vak WI1',
'Leerling Klas HV1 vak NA1',
'Leerling Klas HV1 vak FR',
'Les science1',
'Les project',
'Les BNI'
);
foreach($groups as $group){
/*/ START code for in "getGroupMapping" /*/
if (preg_match('/^Leerling Klas (?<KLAS>[^ ]+) vak (?<VAK>.+)$/', $group, $matches)) { //alle klassen met vakken $result[] = 'LL-Klas-'.$matches['KLAS'];
$result[] = 'LL-Klasvak-'.$matches['VAK'];
}
/*/ END code for in "getGroupMapping" /*/
}
PD9waHAKCiRncm91cHMgPSBhcnJheSgKICAnS2xhcyBIVjEnLAogICdLbGFzIEhWMSB2YWsgQUsxJywKICAnS2xhcyBIVjEgdmFrIEdIMScsCiAgJ0tsYXMgSFYxIHZhayBXSTEnLAogICdLbGFzIEhWMSB2YWsgTkExJywKICAnS2xhcyBIVjEgdmFrIEZSJywKICAnTGVlcmxpbmcgS2xhcyBIVjEgdmFrIEFLMScsCiAgJ0xlZXJsaW5nIEtsYXMgSFYxIHZhayBHSDEnLAogICdMZWVybGluZyBLbGFzIEhWMSB2YWsgV0kxJywKICAnTGVlcmxpbmcgS2xhcyBIVjEgdmFrIE5BMScsCiAgJ0xlZXJsaW5nIEtsYXMgSFYxIHZhayBGUicsCiAgJ0xlcyBzY2llbmNlMScsCiAgJ0xlcyBwcm9qZWN0JywKICAnTGVzIEJOSScKKTsKCiRyZXN1bHQ9YXJyYXkoKTsKCmZvcmVhY2goJGdyb3VwcyBhcyAkZ3JvdXApewoJLyovIFNUQVJUIGNvZGUgZm9yIGluICJnZXRHcm91cE1hcHBpbmciIC8qLwoJaWYgKHByZWdfbWF0Y2goJy9eTGVlcmxpbmcgS2xhcyAoPzxLTEFTPlteIF0rKSB2YWsgKD88VkFLPi4rKSQvJywgJG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