Skip to main content
100%

CSV Syntax Definition

✓ Published0🌍 Public
Mmbostock
Last edited Aug 13, 2012
Created on Aug 13, 2012

This example defines a TextMate grammar for syntax highlighting Comma-Separated Values (CSV) files. It specifies patterns to recognize quoted strings, escaped double quotes, and comma separators, assigning distinct scope names like `string.quoted.csv` and `keyword.operator.comma.csv`. The grammar is written in the plist-based `CSV.tmLanguage` format, intended for use with editors and highlighters that support TextMate language definitions. The rules show how to match field boundaries while preserving escaped characters within quoted sections.

AI-generated description

Similar vizzes