Hi, I have a bunch of documents that look like this:
Moscow,Moscow.+N+NProp+Top+Lang=en#comment Москве,Москва.+N+NProp+Top+Lang=ru#comment So, the structure is very clear and easily capturable with regular expressions. The word form is: ^([^,]*), The lemma is: ,([^\.]*). Properties are: \+([^+#]*) And comments: #([^.]*)$ Now, I would like to create a custom highlighting syntax that would let me color words, lemmas, properties and comments (the values captured by the regex, i.e. only the portions between parentheses) each in different color. That would leave the delimiters (, . + and #) unstyled. I've looked at the documentation for writing a codeless language syntax, but haven't been able to make any sense of it. Given that I have the regular expressions that I need, could somebody point me in the right direction, i.e. give me an example of how to embed one of these regexes into the language syntax plist? I will be much obliged. All best, Toma -- This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group. Follow @bbedit on Twitter: <http://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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/bbedit.
