test(ruleparser): fix regex length