in reply to Long regexp un multiple lines

6==grep {/^[\da-f]{2}$/} split ':'