accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-720) Add option to egrep and RegExFilter for subsequence matching
Date Tue, 07 Aug 2012 14:44:08 GMT
Keith Turner created ACCUMULO-720:
-------------------------------------

             Summary: Add option to egrep and RegExFilter for subsequence matching
                 Key: ACCUMULO-720
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-720
             Project: Accumulo
          Issue Type: Improvement
            Reporter: Keith Turner
             Fix For: 1.5.0


Egrep and RegExfilter use java Matcher.match() which only returns true if the expression matches
the entire string.  Matcher.find() can detect when an expression matches a subsequence of
the string.  Need an option to use find in egrep and RegexFilter.

This issue was created based on discussion in the following two mailing list threads.

 * [egrep usage - 1.3.4|http://mail-archives.apache.org/mod_mbox/accumulo-user/201207.mbox/%3CCAP19eqypCNAueE4z6TPU-Jt3g-%3DL2ptLVo9%2Bc_HC_LVA0LOTog%40mail.gmail.com%3E]
July
 * [Re: egrep usage - 1.3.4|http://mail-archives.apache.org/mod_mbox/accumulo-user/201208.mbox/%3CCAGgKvPkHOQ0XVeuvobBD-G6tzR2pb-OSkZPjnsT_qEiSvzY%2Bew%40mail.gmail.com%3E]
 August

Based on this discussion, -g and --global seem like good candidates for the options to add
to egrep.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message