0 वोट
313 व्यूज़

I’m working for the first time in PT with a right-to-left language project (I’ve only used RTL resources up to now). I’m finding I can’t match verse range markers with a regex, and on examining the SFM, I’m finding this:

  • \v 7U+200F-8

Where U+200F is the <RTL> marker. It’s clear that this is what is stopping my regex matching. Why is PT putting that in the middle of the USFM code? Just before I checked it with a hex viewer, I deleted and retyped the marker, so PT seems to have inserted the <RTL> afresh.

I was trying to correct verse ranges with stray spaces in them. For the moment I’ve solved the <RTL> problem with a regex like this:

(?<=\\v\W)(\d+)\W*-\W*(\d+)\W*(?=\w) → \1-\2␣

(where “ → ” divides the Find string and the Replace string, and “␣” is a space.)

पुराना पोस्ट - इसकी मूल भाषा में दिखाया जा रहा है
Paratext में द्वारा (1.4k अंक)
फिर से दिखाया गया | 313 व्यूज़

1 उत्तर

0 वोट
सर्वोत्तम उत्तर

Paratext inserts the RLT marker to get the text to display as most users
have expected it to. The - will appear to be in the wrong location without
it. This has to do with the complications of having LTR strings of numbers
within RTL text.

There have been some who wanted verse references to appear differently than
they do in RTL text, but that would be a feature request.

John+Wickberg
Paratext Support

पुराना पोस्ट - इसकी मूल भाषा में दिखाया जा रहा है
द्वारा [Administrator]
(3.4k अंक)

संबंधित प्रश्न

0 वोट
1 उत्तर 331 व्यूज़
जिस परियोजना के लिए मैं तकनीकी सहायता प्रदान कर रहा हूँ, उसमें ऐसे स्थानों पर RTL चिह्न बिखरे हुए हैं जहाँ वे नहीं ... जाँचें (basic checks) RTL चिह्न को पकड़ नहीं पा रही थीं।
[Moderator]
Nathaniel Paulus
158
पूछा गया मई 24, 2023
Paratext में
0 वोट
2 उत्तर 264 व्यूज़
हाल ही में खोज (ctrl-F) और बदलें (replace) (ctrl-H) खोज शब्द के सभी उदाहरण नहीं ढूंढ पा रहे हैं। यह दायरे (scope) ( ... बल्कि चयनित दायरे के भीतर भी यह समस्या है। (PT 9.2.102.13)
anon015155 153 पूछा गया मई 20, 2022
+1 मत
1 उत्तर 226 व्यूज़
Here's another challenge for someone - which is hopefully easy to solve. image.png989 87 8.28 KB In the screen-shot above ... PT annoyance, and if so, how did you work around it?
Mark P 3.2k पूछा गया जुलाई 13, 2017
Paratext में
0 वोट
8 उत्तर 1.4k व्यूज़
We have a user who has inserted a lot of \pn and some \nd inside of footnotes. We now know we need those to be ... the search to inside of a single footnote? Thank you, MSEAIT/LT
MSEAIT_LT 478 पूछा गया अगस्त 20, 2018
Paratext में
0 वोट
3 उत्तर 810 व्यूज़
मैं एक .tec एन्कोडिंग कन्वर्टर को परिष्कृत करने की कोशिश कर रहा हूँ ताकि यह दाएं-से-बाएं (Right-to-Left) भाषा ... RegexPal से परिचित नहीं हैं। इसे कैसे करने के लिए कोई सुझाव?
DVM 175 पूछा गया मार्च 17, 2021
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
I appeal to you, brothers and sisters, in the name of our Lord Jesus Christ, that all of you agree with one another in what you say and that there be no divisions among you, but that you be perfectly united in mind and thought.
1 Corinthians 1:10
3,045 प्रश्न
6,005 उत्तर
5,671 टिप्पणियाँ
2,026 उपयोगकर्ता