title: Is csv format regular grammar or context-free grammar?
body: <p>I am currently writing a csv parser. The definition of csv format is given by <a href="https://www.rfc-editor.org/rfc/rfc4180" rel="nofollow noreferrer">RFC4180</a> which is defined by ABNF. So the definition of csv is absolutely a contex-free grammar. However, I would like to know if csv is regular grammar? So that I could parse it with just a finite state machine. Furthermore, if it is exactly a regular grammar and can be parsed by finite state machine, does that mean it can be also parsed by regular expression?</p>