Method:
1) Once the English of Pada is in BrSEng-#.htm, paste the Bhashya Devanagari below in this BrS-Source.
2) In the English of BrSEng-#.htm: First replace "(;|\.|—|\?)(\s)" with "\1\r\n\r\n" This will add "(whatever is the character)\r\n\r\n" ignoring the following blank space;
With the Deva pasted below try this RegEx (mark the ‘ ’ before to avoid spits):
Find: (.[।|\?|;])([ ]) – i.e. Deva phrase end-marks (। ? ;) with blank space after
Replace: "\1\r\n" - replace with same marker followed by newline. Insert
after (possible ननु/चेत्) Question - Reply, and after Paragraphs.
3) Then match and paste in BrSEng-#.htm.
4) Insert the HTML backwards after English translations (and before a
):
“
” (Except not on Last Line of Sutra, b/4 Go top).
5) Mark each “” and then top-down after Devanagari and before English:
“
”
Now take this time to Capitalize every English newline.
6) Paste before Deva lines:
“
4.2.1 L.1”
7) Lastly fix any disabled links etc., e.g. SvetU. in this and in BrS.htm, any extra [Go Top]'s, etc. Remove linking HTML from English IF same as in Deva. (i.e. not BrhU or Tait.).
8) (?<=\()([^)]+)(?=\)) Finds any contents within Parens (). Mark these to review.-->
Or better (\()(.[^\)]+?)([0|1|2|3|4|5|6|7|8|9|०|१|२|३|४|५|६|७|८|९])(\))
which only finds Paren content ending in a number!
9) Once done with all four chapters and links fixed – Create lists of BS Bhāṣya Lines quoted in the 12 different Upanishads that I have. Maybe a separate htm with the linked Line lists per Up., and a link from each Up. to this master list.
Fix to control Size of Commentary Devanagari via "Dev" Class:
Search: (.*?)\r\n(.*?)
Replace: \1\r\n\r\n\2\r\n
Search and fix: <ब्र्> with
.
————————————————————–