Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reference #4515
I this PR, I am trying to add an
extra-phrase
maker in rules. Thisextra-phrase
like[[6]]
is inserted between the testNeither the name of
andthe names of its
. I am doing using another repo i.e https://github.com/alok1304/mark-extra-phrase, i also explained in this repo readme how to use this also i added tests on this repo. Like How we add/markextra-phrase
.I am doing three things, like where we insert
extra-phrase
:Replace text between markers according to rules: (eg. between text
Neither the name of
andthe names of its
)1. If
extra_phrase
already present then do nothing2. If empty then insert
extra_phrase
3. If words present then replace with
extra_phrase
Tasks
Run tests locally to check for errors.
Signed-off-by: Alok Kumar [email protected]