[
https://issues.apache.org/jira/browse/ACCUMULO-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Bennight updated ACCUMULO-720:
------------------------------------
Affects Version/s: 1.5.0
Status: Patch Available (was: Open)
Path adds the -g / --global option to egrep in the shell. Adds overload to the
RegExFilter.setRegexs method with new matchSubstring parameter. Old signature
now calls new signature with matchSubstring defaulting to false to maintain
previous behaviour.
> 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
> Affects Versions: 1.5.0
> Reporter: Keith Turner
> Labels: hackathon, 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