Help system: "brackets/braces" usage isn't conventional

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Slavic
Senior Member
Senior Member
Posts: 290
Joined: 2006-02-26, 15:41 UTC
Location: Montenegro

Help system: "brackets/braces" usage isn't conventional

Post by *Slavic »

(a minor bug related to the terminology in the TOTALCMD.CHM file)

From the Regular expressions article:
...Alternatives are put in round braces, and are separated by a vertical dash.
...Text parts in round braces are taken as subexpressions.
...Here $1 means the text in the first brace, and $2 the text in the second brace.
In all these cases the word "brace" or "round braces" in fact means brackets: ( ). Usage of the name "brace" is less conventional; moreover, "braces" may be used as a synonym of the "curly brackets" { }, rather than round ones. In the grammar and typography areas the round brackets are also called "parentheses". I would suggest to replace the terms "braces", "round braces" in the Help with "round brackets".

BTW, the term "square bracket" is used correctly.

See also the Wikipedia article: https://en.wikipedia.org/wiki/Bracket
Desktop: Windows 11 Pro 23H2, TC 11.03(RC). Mobile: Pixel 5a, Android 14, TC 3.42b5
Slavic
Senior Member
Senior Member
Posts: 290
Joined: 2006-02-26, 15:41 UTC
Location: Montenegro

Re: Help system: "brackets/braces" usage isn't conventional

Post by *Slavic »

TC 9.50b2. Most "braces" are fixed, but a few still remain. They are round ( ) too.
Search for: (.*) - (.*)\.mp3
Replace by: $2 - $1.mp3
Here $1 means the text in the first brace, and $2 the text in the second brace.
Desktop: Windows 11 Pro 23H2, TC 11.03(RC). Mobile: Pixel 5a, Android 14, TC 3.42b5
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48232
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Help system: "brackets/braces" usage isn't conventional

Post by *ghisler(Author) »

Sorry, I only used search+replace for "braces", not "brace".
Author of Total Commander
https://www.ghisler.com
Post Reply