How to sync a link 🎵

Hi!

So we’ve been using the RAB for a couple of years now at our project and we love it! I’ve recently been working with adding links such as

[text] (link) (normally without the spaces)
[text] (tel:number)
[text] (mailto:adress)

and once I start synchronizing the audio, it’s having issues. It has to do with the discrepancy between the phrases file and the timings file, I think. It will go to the next phrase in the phrases (due to the or the dots in the link) but it won’t do so in the timings file. My current solution is to change things in the phrases file, but this will not show up in the timings file. I did get it to work eventually, but I was wondering if there would be a better solution for this.

An example can be seen here:

s13|E­sheeki akǝuka kʊceru
cd|Arè a ta naa yêe a yô Esheeki kʊ­kǝu,
ce|a taa sǝ̂ra akǝ nomba nɖe :
cf|[www.
cg|echecs.
ch|asso.
ci|fr/ Reglements/ PresentationRegles.
cj|pdf](http:
ck|//www.
cl|echecs.
cm|asso.
cn|fr/Reglements/PresentationRegles.
co|pdf)
cp|Arè a taa sǝ̂ra akǝu Esheeki aginyipi lang gboo a ta yêe enterneeti lang :

I changed the phrases file into this and then I got it to work eventually:

s13|E­sheeki akǝuka kʊceru
cg|Arè a ta naa yêe a yô Esheeki kʊ­kǝu,
ch|a taa sǝ̂ra akǝ nomba nɖe :
ci|[www.
cj|echecs.
ck|asso.
cl|fr/ Reglements/ PresentationRegles.
cm|pdf](http:
|//www.
|echecs.
|asso.
|fr/Reglements/PresentationRegles.
|pdf)
cn|Arè a taa sǝ̂ra akǝu Esheeki aginyipi lang gboo a ta yêe enterneeti lang :

What I’d suggest is to run some changes for Aeneas so that it strips out the hyperlinks but leaves the visible text. It would look like this:
Find: \[([^\]]+)\]\([^\)]+\)
Replace: $1

This should reduce:
text
text
text

to just:

text
text
text

I f you don’t want any of it then just omit the $1 in the replace.

The search uses Regular Expressions that are very good at finding the combinations.