idea: filter with regular expression
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 13.6k
- Forks
- 2.6k
- PR merge metrics
- No merged PRs in 30d
Description
It may be useful to be able to use a regular expression to accept or reject candidates in place of external filter. Such feature could replace List.External:Filter_Alnumspace, Filter_Alnum, Filter_LowerNum, and so on. But it will not be able to replace List.External:Filter_LM_ASCII that does uppercase.
Realistic use-case may be the following: we run incremental mode but pick only candidates with a substring (or of some complicated form). It may be impossible to make good incremental picking by substring before creation of charset file, so we might generate charset from full set of cracks and then pick candidates. Pair option to reject candidates by substring may be used to try remaining candidates on other machine.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing List.External:Filter_Alnumspace, Filter_Alnum, Filter_LowerNum, and Filter_LM_ASCII options, then trace how incremental mode generates candidates and uses charset files. The issue is done when regular-expression acceptance and rejection are defined and usable for the described incremental-candidate workflow, with behavior and option details established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100