0 票
258 次浏览

亲爱的 Paratext 用户,

我们正在开展一个项目,需要通过正则表达式将节首的小写字母更改为大写字母。如果有人能在这方面提供帮助,我将不胜感激。

例如:

\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 分) 发布 | 258 次浏览

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 发布
提问于 三月 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?
匿名用户 发布 提问于 四月 16, 2015
0 票
1 个回答 155 次浏览
我是标准项目的管理员,该项目关联了许多辅助项目,而我并非这些辅助项目的管理员。我希望删除所有项目(标准项目和辅助项目),而不需要联系最初设置这些项目的管理员。该怎么做?谢谢。
Jeremy Lang 103 发布 提问于 二月 12, 2025
0 票
1 个回答 221 次浏览
我需要对托管在 DBL 上的项目所提出的更改进行本地测试 我需要从该项目(或基于该项目的辅助项目)生成一个资源,并使其在真实的 Paratext 安装中作为资源显示出来 我尝试过 Create DBL Paratext Resource Bundle 对话 ... 话框指向创建的文件夹,对话框会显示 未找到资源 是否有这些对话框以及创建资源流程的相关文档?
stevepence 127 发布 提问于 六月 16, 2023
Paratext 中
0 票
2 个回答 330 次浏览
我想搜索 KJV 中有多少次在句首使用了单词 “and”。有没有什么过滤器可以实现这一点?
Waseem Raza 102 发布 提问于 六月 12, 2023
Paratext 中
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,051 个问题
6,010 个回答
5,676 条评论
2,030 位用户