Ristellise / AegisubDC

Aegisub, Daydream Cafe Edition
Other
282 stars 31 forks source link

Issue with RegEx and Skip Override Tags in Find/Replace Function #35

Open MadokaAyukawa opened 3 years ago

MadokaAyukawa commented 3 years ago

I was trying to put brackets around text that's italicized so I wanted the brackets inside the override tags. I did a simple Find: ^(.+)$ with Replace: \[\1\] in selection only so it only does the lines I choose.

However with Skip Override Tags checked (and I want it checked as I want the brackets inside), nothing happens. It's as if it's just a \1 replace. But if I uncheck Skip Override Tags, it does work, but the brackets go outside the tags so the brackets are not italicized which is not what I want.