Open
Conversation
97b4e8b to
abc1e7f
Compare
(Notepad++) 檔案: game/game/*.htm (不包含子資料夾) 尋找: <div style="text-align:\s*center;\s*color:\s*#800000;\s*font-family:\s*標楷體;">\s*<b><big><big>((?:(?!</).)*)</big></big></b>\s*</div>\s*((?:<small>\s*)?<table[^<>]*>) 取代為: $2\n<caption style="text-align:center; color:#800000; font:bold 1.8em 標楷體;">$1</caption> (\n 或須改為 \r\n) 取消修改 game/game/list-1.htm
(Notepad++) 檔案: game/game/*.htm (不包含子資料夾) 尋找: <p>\s*(<small>) 取代為: <p></p>\n\n\1 (\n 或須改為 \r\n)
(Notepad++)
檔案: game/game/*.htm (不包含子資料夾)
尋找: (\d+CD(?:/\d+DVD)? \()([\d.]+)(?:\/([\d.]+))?\)
取代為: $1<data>$2</data>(?{3}/<data>${3}</data>)\)
取消修改 game/game/list-1.htm
(Notepad++) 檔案: game/game/*.htm (不包含子資料夾) 尋找: (\d+CD(?:/\d+DVD)?)(?=$|<) 取代為: $1<data> 取消修改 game/game/list-1.htm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
試做了一個自動產生遊戲總表的功能,來提案看看:
分類是根據載入的頁面和表格順序自動產生,由於文字比較長,因此用序號表示,滑鼠移過會顯示完整名稱。
補充說明:
list.htm頁面,不影響其他頁面。未來若不想用直接刪除即可,非常綠色。刪除時找個瀏覽器把產生排序好的總表的HTML碼複製出來再稍作整理,即可得到排序好的手工總表。class="toc"。<data>值</data>或<data value="值">顯示文字</data>標記用於機器排序的值。(不改也行,但有些項目就會排序錯誤)--allow-file-access-from-files。about:config,搜尋security.fileuri.strict_origin_policy將值改為false。目前只是初版,如有細節需要改善或調整,都還可以再研究。