mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
examples: fix typos (#18229)
This commit is contained in:
@ -6,7 +6,7 @@ import pcre
|
||||
|
||||
fn example() {
|
||||
r := pcre.new_regex('Match everything after this: (.+)', 0) or {
|
||||
println('An error occured!')
|
||||
println('An error occurred!')
|
||||
return
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ fn main() {
|
||||
regex := r'(\[[a-z\.\! ]*\]\( *\w*\:*\w* *\))*'
|
||||
|
||||
r := pcre.new_regex(regex, 0) or {
|
||||
println('An error occured!')
|
||||
println('An error occurred!')
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user