Fix regex for lesson's assignments and keys