unanimated / luaegisub

Aegisub automation scripts
Other
78 stars 45 forks source link

Fix error in Track by Clip function #22

Closed baonguyen0703 closed 2 years ago

baonguyen0703 commented 2 years ago

The current code will not work if the caption includes parentheses. e.g {\pos(264,682)\clip(m 258 668 l 612 366 898 954 1202 552 1424 748 1862 286)}(caption) Therefore, I suggest changing the code so only characters within the nearest parentheses of a tag are captured.