fix reqular expression parsing in kanban, clean up nb a bit