I'm introducing a new feature!!
Use flag --patterns arg1 arg2 arg3 to recognize new regular expressions in file processing! Default is "<< key >>".
E.g. Suppose you have a markdown file like this: "Hello, ##&NAME&## @&SURNAME&@". Now just type into the command line:
python3 src/ez_docs/main.py examples/example1.md examples/example1.csv NAME --patterns "##&key&##" "@&key&@"
Attention! These patterns must meet some requirements:
String must have only one occurrence of sub string "key";
Right and left delimiters must both have length = 2 or length = 3;
Right and left delimiters are palindromes.
Fixes #123
Type of change
Please delete options that are not relevant.
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
[x] Unit tests using pytest.
Checklist:
[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
Description
I'm introducing a new feature!! Use flag
--patterns arg1 arg2 arg3
to recognize new regular expressions in file processing! Default is "<< key >>".E.g. Suppose you have a markdown file like this: "Hello, ##&NAME&## @&SURNAME&@". Now just type into the command line:
Attention! These patterns must meet some requirements:
Fixes #123
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: