1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

regex: refactoring of continuous capturing groups (#7310)

This commit is contained in:
penguindark
2020-12-14 14:02:13 +01:00
committed by GitHub
parent 89ef316db3
commit 4f986ccac4
3 changed files with 52 additions and 35 deletions

View File

@@ -230,7 +230,8 @@ fn test_regex(){
}
if to.cgn.len > 0 {
re.group_csave = [-1].repeat(3*20+1)
re.group_csave_flag = true
//re.group_csave = [-1].repeat(3*20+1)
if debug { println("continuous save")}
} else {
if debug { println("NO continuous save")}