Hello,
I am trying to color code comma separated text files. and for better readability, want to use colors. I have had success with the language modules, and color matching, but its matching far too many numbers than required. example below.
Typical Line from file: (fields separated by comma)
Sofia,Parley,12343,32348,42118,52232
Matching Pattern from .plist file:
<key>String Pattern</key>
<string><![CDATA[
(?:
(\d+,\d+$)
)
]]></string>
Todo: Match the 5th position value (2nd from end) and color code.
the pattern I am using color codes 42118,52232 while I only need 42118 to be in color.
I am thinking I need to use sub patterns here; but there is minimal to no help in the bbedit manual.
your help is greatly appreciated.
thanks.