From ad92ccf01a166ee2aa6cc0da3a92573e907ee082 Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Fri, 13 Oct 2023 00:26:26 +0200 Subject: [PATCH] Fix cleantags with \k tags with noninteger durations Fixes arch1t3cht/Aegisub#92 . --- automation/include/cleantags.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/automation/include/cleantags.lua b/automation/include/cleantags.lua index 0ca65daa9..8247d89ca 100644 --- a/automation/include/cleantags.lua +++ b/automation/include/cleantags.lua @@ -23,10 +23,10 @@ OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ]] -cleantags_version = "1.301" -cleantags_modified = "13 November 2009" +cleantags_version = "1.302" +cleantags_modified = "12 October 2023" -ktag = "\\[kK][fo]?%d+" +ktag = "\\[kK][fo]?[%d.]+" --[[ The main function that performs the cleaning up Takes: text