Jakub Glapa 2012-06-18, 11:14
Jakub -- The MATCHES operator accepts regexes as input. You can add a NOT
to invert the logic.
On Mon, Jun 18, 2012 at 7:14 AM, Jakub Glapa <[EMAIL PROTECTED]> wrote:
> Hi all,
> I found in pig latin a 'matches' operator for pattern matching.
> I didn't find it in documentation but maybe there exists something similar
> but for searching?
> Basically in java world I would want to get the result of the
> Matcher.find() method not Matcher.matches().
> Will I have to end up writing my own UDF for that?
> Thanks for help.
> I'm trying to filter out strings with consecutive repeated characters. I've
> constructed a regexp that detects them.
> Now I just have to apply it somehow.
> Jakub Glapa
Jakub Glapa 2012-06-18, 19:31
Norbert Burger 2012-06-19, 00:22
Jakub Glapa 2012-06-19, 10:56