Hi Peter,
I don't think this is the solution: https://go.dev/play/p/Ti7UEGd1BVE .
I think "All" means that it can deal with several copies of the regexp,
rather than returning all matches of the group.
All the best,
Jochen
On Friday, 10 February 2023 at 16:09:04 UTC Peter Galbavy wrote:
> Find
FindAllStringSubmatch()
? https://pkg.go.dev/regexp#Regexp.FindAllStringSubmatch
On Friday, 10 February 2023 at 12:52:34 UTC Jochen Voss wrote:
> Dear all,
>
> What happens if a group in a regular expression matches repeatedly, via
> the * operator? Experimentally I found that FindStringSubmat
On Tue, Aug 16, 2016 at 1:29 PM Damian Gryski wrote:
> The match at [4 4] would be an empty match abutting a preceding match.
That's it. Thanks a lot.
(TIL a new word: abutting)
--
-j
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsu
On Tuesday, August 16, 2016 at 1:00:15 PM UTC+2, Jan Mercl wrote:
>
> This code (A)
>
> package main
>
> import (
> "fmt"
> "regexp"
> )
>
> func main() {
> fmt.Printf("%v",
> regexp.MustCompile(`a*