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

regex: fix typo in regex.v (#16683)

This commit is contained in:
Ikko Ashimine 2022-12-16 01:54:07 +09:00 committed by GitHub
parent bd1d96de0e
commit e5e73ebbfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -697,7 +697,7 @@ fn (re RE) parse_quantifier(in_txt string, in_i int) (int, int, int, bool) {
mut i := in_i
mut q_min := 0 // default min in a {} quantifier is 1
mut q_max := 0 // deafult max in a {} quantifier is max_quantifier
mut q_max := 0 // default max in a {} quantifier is max_quantifier
mut ch := u8(0)