I am trying to find words that appear within the tilde sign ( ~).
e.g. ~albert~ is a ~good~ boy.
I know this is possible using ~.+?~, and it already works for me. But there are special cases when I need to match a nested tilde clause.
e.g. ~The ~spectacle~~ was ~broken~
In the above example, I need to record “Spectacle”, “Spectacle” and “Broken” separately. They will be translated either one word at a time or with an accompanying article (An, The, whatever). The reason is because on my system:
1) 'The spectacle' requires a separate translation on a specific cases.
2) 'Spectacle' also needs translation on specific cases.
3) IF a tranlsation exist for The spectacle, we will use that, ELSE
we will use
Another example to explain this:
~The ~spectacle~~ was ~borken~, but that was not the same ~spectacle~
that was given to ~me~.
In the above example, I will have a translation for:
1) 'The spectacle' (because the translation case exists for 'The spectacle', otherwise I would've only translated spectacle on it own)
2) 'broken'
3) 'spectacle'
4) me
, . , , "~. +?". , - . - ?
, , . , .
N.B. , , . ~ ~ ~~ ( !!!!!)