Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: pncdaspropagandas on August 25, 2017, 18:51:03

Title: MultiDataViewer - comma Color Syntax Formating
Post by: pncdaspropagandas on August 25, 2017, 18:51:03
Is there a way to format commas in Color Syntax Formating. Since it is used as separator, I tried to escape with \, to use RegEx, but couldn't make it work. I want to format commas on CSV files.

Thanks
Title: Re: MultiDataViewer - comma Color Syntax Formating
Post by: Mathias (Author) on August 25, 2017, 19:49:15
Im not good with regex so I don't know with regex.. But can't you just match "," and do match type of substring or word ?
Title: Re: MultiDataViewer - comma Color Syntax Formating
Post by: pncdaspropagandas on August 25, 2017, 20:26:28
Well, I tried "," as in the attachment but it doen't work. If instead, I use "a" it works for a letter, so I think it may be something specific to comma as it is used for separating parameters in the list.

Title: Re: MultiDataViewer - comma Color Syntax Formating
Post by: pncdaspropagandas on August 31, 2017, 19:43:02
Found a solution!  :)

If you use ,,, instead of , or "," it works!!!
Title: Re: MultiDataViewer - comma Color Syntax Formating
Post by: Mathias (Author) on August 31, 2017, 19:52:56
Great