I'm sorry to say that this list isn't RE2-specific (although one of
the main Go contributors wrote RE2). you will probably get very good
suggestions on how to convert that to Go's regex, which are RE2-like
and I hope you find your answer.

A good additional step to do for this particular list is to concoct a
small go example on play.golang.org with some sample input that you're
struggling with.

On Wed, Jul 24, 2019 at 11:11 PM Adam Takahashi <attakahash...@gmail.com> wrote:
>
> Hello,
>
> I currently have a regex in PCRE that is
>
> (.|\r|\n)*?(?=FOO)
>
> It reads in a random number of multiple lines of sentences, and stops when it 
> sees the word FOO in all caps. I am have problems converting this to a valid 
> RE2 expression.
> Any advice would help. Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "golang-nuts" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to golang-nuts+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/2b88000d-7344-40b6-8830-41f1f762962e%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAK4xykXUNER1vLLQ5bSXWQ23wMExn8Y5kKtwcSqp6MJTgMdwzg%40mail.gmail.com.

Reply via email to