Author Topic: MultiDataViewer - comma Color Syntax Formating  (Read 13931 times)

pncdaspropagandas

  • Contributor
  • Active Member
  • *****
  • Posts: 93
    • View Profile
MultiDataViewer - comma Color Syntax Formating
« 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

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4489
    • View Profile
    • Multi Commander
Re: MultiDataViewer - comma Color Syntax Formating
« Reply #1 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 ?

pncdaspropagandas

  • Contributor
  • Active Member
  • *****
  • Posts: 93
    • View Profile
Re: MultiDataViewer - comma Color Syntax Formating
« Reply #2 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.


pncdaspropagandas

  • Contributor
  • Active Member
  • *****
  • Posts: 93
    • View Profile
Re: MultiDataViewer - comma Color Syntax Formating
« Reply #3 on: August 31, 2017, 19:43:02 »
Found a solution!  :)

If you use ,,, instead of , or "," it works!!!

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4489
    • View Profile
    • Multi Commander
Re: MultiDataViewer - comma Color Syntax Formating
« Reply #4 on: August 31, 2017, 19:52:56 »
Great