Fixes on cardinality in regex

Signed-off-by: Daniel Stamer <daniel.stamer@uni-oldenburg.de>