I am trying to detect missing groups from my Java regex, but it seems like there isn\'t a way to do it.
Pattern pattern = Pattern.compile("(from)