progit / progit2

Pro Git 2nd Edition
Other
5.69k stars 1.88k forks source link

Regular expression syntax #1951

Open nnlkcncff opened 1 month ago

nnlkcncff commented 1 month ago

General overview of your idea.

There is no explanation of the regular expression syntax used by git (e.g. what syntax must be used for url.<base>.InsteadOf?). The only mention is:

diff.wordRegex A POSIX Extended Regular Expression used to determine what is a "word" when performing word-by-word difference calculations. Character sequences that match the regular expression are "words", all other characters are ignorable whitespace.

It's not clear if the POSIX Extended Regular Expression is used everywhere in git. That information should be added somewhere in the documentation.

What problem will this solve?

Git regular expression syntax will be explained.

Have you thought about other solutions?

No response

Do you want to help with this enhancement idea?

No