Skip to content

Commit

Permalink
改进:
Browse files Browse the repository at this point in the history
- 1.5,为东周时的“万乘之国”增加了《孟子》中的例子。
- 1.7,增加了《中国文化史》的引文。
- 2.3,为“齐之以刑”补充了《史记》的引文;为“无耻”补充了《新五代史》、《日知录》的引文。
- 3.2,6.14,细化了堂、室的解释。
- 3.5,增加了“不如”的解释。
- 3.11,为“其如示诸斯乎”补充了《三国演义》庞统掌上观文的例子。
- 4.15,为“忠恕”增加了蒋梦麟《西潮》的引文。
- 7.12,略调整了“执鞭之士”的解释,补充了《三国演义》的例句。
- 10.10,增加了《孟子》齐君召孟子称病不往的事例。
- 12.20,补充了“下人”的解释。
- 13.8,为“善居室”增加了阮咸的例子。
- 15.7,为“卷而怀之”增加了王戎的例子。
- 17.5,补充了公山弗扰在吴国的情况。
- 17.6,明确了“问仁”的范畴。
- 17.16,为“矜”增加了《三国志》注的引文。
- 18.9,补充了“入”的解释。

修正:

- Python 3.6兼容性:autocharacters.py、 rawblobs.py 中的正则表达式。
  • Loading branch information
abolybook committed Jan 8, 2017
1 parent 91a9b49 commit ac209db
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 48 deletions.
2 changes: 1 addition & 1 deletion autocharacters.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_charname_blobs(content):
CHAPTER_PREFIX = r'\chapter'
BLOB_PREFIX = r'\lyblob'
BLOB_TEMPLATE = '%d.%d'
CHARNAME_PAT = re.compile(r'\lycharlink\{(.+?)\}\{.+?\}')
CHARNAME_PAT = re.compile(r'\\lycharlink\{(.+?)\}\{.+?\}')
chapter_count = 0
blob_count = 0

Expand Down
Loading

0 comments on commit ac209db

Please sign in to comment.