use regular expression  for `expr A : B`