What is the Filebeat multiline regex library?

I am migrating the logstash multiline to the Filebeat multiline.
I am wondering what is the Filebeat multiline regex library? Is it same to the one of the logstash multiline codec?

No, not quite. I think Logstash uses the Oniguruma library while Filebeat uses the one from the Go language.