在MSDN中用于定义的语法是什么?如何理解它?
connection-string ::= empty-string[;] | attribute[;] | attribute; connection-string
empty-string ::=attribute ::= attribute-keyword=attribute-value | DRIVER=[{]attribute-value[}]
attribute-keyword ::= DSN | UID | PWD | driver-defined-attribute-keyword
attribute-value ::= character-string
driver-defined-attribute-keyword ::= identifier这是某种正则表达式吗?
发布于 2014-10-29 01:21:19
这就是Backus-Naur Form (BNF),一种非常适合描述语言产品的元语言。
https://stackoverflow.com/questions/26614539
复制相似问题