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

        

Reply via email to