Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Vladimir Barsukov
zGo
Commits
f3a484a5
Commit
f3a484a5
authored
Aug 18, 2024
by
Vladimir Barsukov
Browse files
fix
parent
a5ad0643
Changes
1
Hide whitespace changes
Inline
Side-by-side
zre/zre.go
View file @
f3a484a5
...
@@ -28,8 +28,8 @@ func Match(expr, s string) bool {
...
@@ -28,8 +28,8 @@ func Match(expr, s string) bool {
return
New
(
expr
)
.
MatchString
(
s
)
return
New
(
expr
)
.
MatchString
(
s
)
}
}
func
FindAll
(
expr
,
s
string
)
[]
string
{
func
FindAll
(
expr
,
s
string
)
[]
[]
string
{
return
New
(
expr
)
.
FindAllString
(
s
,
-
1
)
return
New
(
expr
)
.
FindAllString
Submatch
(
s
,
-
1
)
}
}
func
Find
(
expr
,
s
string
)
string
{
func
Find
(
expr
,
s
string
)
string
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment