We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. thank you so much for this project! It's such an immense help in porting hundreds of regexes from .NET to Go.
I wanted to use the code generator but noticed that it doesn't seem to recognize regexes inside of slices:
var regexInSlice = []*regexp2.Regexp{ regexp2.MustCompile(`^test1$`, regexp2.Compiled), regexp2.MustCompile(`^test2$`, regexp2.Compiled), }
Same goes for structs:
type regexReplace struct { Regex *regexp2.Regexp Replacement string } var regexInStruct = ®exReplace{ Regex: regexp2.MustCompile(`^foo$`, regexp2.Compiled), Replacement: "bar", }
I was wondering if this could be supported at some point in the future?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi. thank you so much for this project! It's such an immense help in porting hundreds of regexes from .NET to Go.
I wanted to use the code generator but noticed that it doesn't seem to recognize regexes inside of slices:
Same goes for structs:
I was wondering if this could be supported at some point in the future?
The text was updated successfully, but these errors were encountered: