Add regex and size