mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
@@ -326,7 +326,20 @@ find_all_test_suite = [
|
||||
r".*#[.#]{4}##[.#]{4}##[.#]{4}###",
|
||||
[0, 49],
|
||||
['#.#......##.#..#..##........##....###...##...####']
|
||||
},
|
||||
Test_find_all{
|
||||
"1234 Aa dddd Aaf 12334 Aa opopo Aaf",
|
||||
r"Aa.+Aaf",
|
||||
[5, 16, 23, 35],
|
||||
['Aa dddd Aaf', 'Aa opopo Aaf']
|
||||
},
|
||||
Test_find_all{
|
||||
"@for something @endfor @for something else @endfor altro testo @for body @endfor uno due @for senza dire più @endfor pippo",
|
||||
r"@for.+@endfor",
|
||||
[0, 22, 23, 50, 63, 80, 89, 117],
|
||||
['@for something @endfor', '@for something else @endfor', '@for body @endfor', '@for senza dire più @endfor']
|
||||
}
|
||||
|
||||
]
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user