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.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or need technical support, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <https://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/b2be3c2f-b49d-4e0e-84d9-46277e40376c%40googlegroups.com.

Reply via email to