You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2012/08/07 16:44:08 UTC

[jira] [Created] (ACCUMULO-720) Add option to egrep and RegExFilter for subsequence matching

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

        

[jira] [Updated] (ACCUMULO-720) Add option to egrep and RegExFilter for subsequence matching

Posted by "John Vines (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACCUMULO-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Vines updated ACCUMULO-720:
--------------------------------

    Labels: newbie  (was: )
    
> 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
>              Labels: newbie
>             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