fga-eps-mds / 2022-2-ez-docs

A simple and versatile python template-based package to doc generation, originally concepted for academic purposes.
https://fga-eps-mds.github.io/2022-2-ez-docs/
MIT License
6 stars 4 forks source link

New regex patterns #125

Closed gitbmvb closed 11 months ago

gitbmvb commented 11 months ago

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:

python3 src/ez_docs/main.py examples/example1.md examples/example1.csv NAME --patterns "##&key&##" "@&key&@"

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: