0 票
260 次瀏覽

親愛的 Paratext 使用者們:

我們正在進行一個專案,需要透過正規表示式(regex)將節首的小寫字母改為大寫字母。如果有人能協助處理此事,我將不勝感激。

例如:

\v 15 and let them be for lights in the firmament of the heaven to give light upon the earth: and it was so.
\p
\v 16 And God made two great lights; the greater light to rule the day, and the lesser light to rule the night: \add he made\add* the stars also.
\p
\v 17 And God set them in the firmament of the heaven to give light upon the earth,
\p
\v 18 and to rule over the day and over the night, and to divide the light from the darkness: and God saw that \add it was\add* good.

感謝致意,

Thiyagarajan

機器翻譯自 English
Paratext 由 (112 點) 提出 | 260 次瀏覽

1 個回答

0 票
這可以透過使用 RegEx Pal 的清單功能來完成。相關討論請見:

https://support.bible/9271/using-a-list-for-replacing-in-regex-pal?show=9271#q9271

或者您可以搜尋「Using a list for replacing in RegEx Pal」

您的表示式清單可能如下:

(?<=(\\v \d+ ))a-->A

(?<=(\\v \d+ ))b-->B

(?<=(\\v \d+ ))e-->E

(?<=(\\v \d+ ))i-->I

(?<=(\\v \d+ ))p-->P

這表示尋找位於 \v 數字和空格之後的小寫字母,並將其改為大寫。
機器翻譯自 English
由 (9.9k 點) 提出

非常感謝您如此迅速地回覆我。在檢查這些正規表示式規則後,我很高興地報告說,它們似乎能按預期運作。

機器翻譯自 English

相關問題

0 票
2 個回答 587 次瀏覽
我收到一位譯者的這封電子郵件 我雖然能寫出基礎的正則表達式,但認為我可能會遺漏一些可能作為句子結尾的標點符號 請問有沒有人能幫忙? 我希望進行一次最終標點檢查,這不在 Paratext 的標準檢查範圍內 具體來說,我想確 ... 但至少能給我一份比檢查所有節更短的清單 如果你能寫出一些 REGEX 代碼來幫助我,我將非常感激 ) 謝謝, james_post
[Moderator]
james_post
2.1k 提出
已提問 3月 30, 2023
0 票
4 個回答 388 次瀏覽
Continuing the discussion from Poll: Spelling Discussion Note - Yellow box needed?: Poll: Spelling Discussion Note - ... the help topic. Are there better alternatives than this?
匿名 提出 已提問 4月 16, 2015
0 票
1 個回答 155 次瀏覽
我是一個標準專案的管理員,該專案關聯了許多我並非管理員的輔助專案。我希望刪除所有專案(標準專案與輔助專案),而不需要涉及最初設定這些專案的原管理員。該怎麼辦?謝謝。
Jeremy Lang 103 提出 已提問 2月 12, 2025
0 票
1 個回答 221 次瀏覽
我需要針對 DBL 託管專案的擬議變更進行本地測試 我需要從該專案(或基於該專案的輔助專案)生成一個資源,並讓它實際顯示在真實的 Paratext 安裝環境中作為一個資源 我嘗試過「Create DBL Paratext ... 建立的資料夾,對話框會顯示「no resources found」 這些對話框以及建立資源的流程有相關文件說明嗎?
stevepence 127 提出 已提問 6月 16, 2023
0 票
2 個回答 330 次瀏覽
我想搜尋 KJV 中有多少次在句首使用了「and」這個字。有沒有什麼篩選功能可以做到這一點?
Waseem Raza 102 提出 已提問 6月 12, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And over all these virtues put on love, which binds them all together in perfect unity.
Colossians 3:14
3,051 個問題
6,010 個回答
5,676 則評論
2,030 位使用者