camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From duro <durowr...@yahoo.com>
Subject Tokenize with regex grouping has a small bug
Date Tue, 13 Oct 2015 13:48:50 GMT
Looks like a copy/paste error is preventing the grouping functionality to be
executed by the helper class.
group should be passed to the delegates tokenize method.

    /**
     * Evaluates a token expression on the message body
     *
     * @param token the token
     * @param regex whether the token is a regular expression or not
     * @param group to group by the given number
     * @return the builder to continue processing the DSL
     */
    public T tokenize(String token, boolean regex, int group) {
        return delegate.tokenize(token, regex);
    }




--
View this message in context: http://camel.465427.n5.nabble.com/Tokenize-with-regex-grouping-has-a-small-bug-tp5772616.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message