Fix schema.zh-cn.md

This commit is contained in:
Milo Yip 2016-10-05 09:21:01 +08:00
parent ba56498d10
commit a3300bf4b1

View File

@ -157,7 +157,7 @@ JSON Schema 支持 [`$ref` 关键字](http://spacetelescope.github.io/understand
~~~ ~~~
class MyRemoteSchemaDocumentProvider : public IRemoteSchemaDocumentProvider { class MyRemoteSchemaDocumentProvider : public IRemoteSchemaDocumentProvider {
public: public:
virtual const SchemaDocument* GetRemoteDocument(const char* uri, SizeTyp length) { virtual const SchemaDocument* GetRemoteDocument(const char* uri, SizeType length) {
// Resolve the uri and returns a pointer to that schema. // Resolve the uri and returns a pointer to that schema.
} }
}; };
@ -185,7 +185,7 @@ RapidJSON 实现了一个简单的 NFA 正则表达式引擎,并预设使用
|语法|描述| |语法|描述|
|------|-----------| |------|-----------|
|`ab` | 串联 | |`ab` | 串联 |
|`a|b` | 交替 | |<code>a&#124;b</code> | 交替 |
|`a?` | 零或一次 | |`a?` | 零或一次 |
|`a*` | 零或多次 | |`a*` | 零或多次 |
|`a+` | 一或多次 | |`a+` | 一或多次 |
@ -202,7 +202,7 @@ RapidJSON 实现了一个简单的 NFA 正则表达式引擎,并预设使用
|`[^abc]` | 字符组取反 | |`[^abc]` | 字符组取反 |
|`[^a-c]` | 字符组范围取反 | |`[^a-c]` | 字符组范围取反 |
|`[\b]` | 退格符 (U+0008) | |`[\b]` | 退格符 (U+0008) |
|`\|`, `\\`, ... | 转义字符 | |<code>\\&#124;</code>, `\\`, ... | 转义字符 |
|`\f` | 馈页 (U+000C) | |`\f` | 馈页 (U+000C) |
|`\n` | 馈行 (U+000A) | |`\n` | 馈行 (U+000A) |
|`\r` | 回车 (U+000D) | |`\r` | 回车 (U+000D) |