RFC quoted-string definition

Posted by Jacco on Stack Overflow See other posts from Stack Overflow or by Jacco
Published on 2010-03-18T15:49:52Z Indexed on 2010/03/18 15:51 UTC
Read the original article Hit count: 616

Filed under:
|

Hello,

In RFCs there are references to quoted-string now I understand that this means a string contained in quotes.

However, I'm unable to find the definition of what exactly is a valid quoted string.

/"[^"]"/ = a correctly quoted string.
/'[^']'/ = is this also a correctly quoted string?

In other words, are both ' and " allowed as quotes when an RFC specifies quoted-string?

Bonus points: In what document is this specified?

© Stack Overflow or respective owner

Related posts about rfc

Related posts about syntax