You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Kristopher Kane (JIRA)" <ji...@apache.org> on 2012/10/03 04:14:07 UTC
[jira] [Commented] (ACCUMULO-720) Add option to egrep and
RegExFilter for subsequence matching
[ https://issues.apache.org/jira/browse/ACCUMULO-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468262#comment-13468262 ]
Kristopher Kane commented on ACCUMULO-720:
------------------------------------------
Is this the file? core/src/main/java/org/apache/accumulo/core/iterators/user/RegExFilter.java
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira