class VariableNameExtractor {

    public Optional<String> extract() {
        Matcher matcher = VARIABLE_NAME_PATTERN.matcher(expression);
        if (!matcher.matches()) {
            return Optional.empty();
        }
        return Optional.of(matcher.group(1));
    }

    public  VariableNameExtractor(String expression);

}