Parse a multiline text from an inbound mail into an issue using regex

Description

I tried to parse the following mail body:

=== ABSTRACT START ===
Text takes place here.

And here.

And here.
=== ABSTRACT ENDE ===

Using the following regex:
=== ABSTRACT START ===\s(.*)\s=== ABSTRACT ENDE ===

But this does not match. However, writing the message in a single line works. Do you have implemented the "/s"-Modifier? Is there any alternative?

Trying the regex online here https://regex101.com/ works perfect.

Environment

None

Preliminary Test Cases

None

Assignee

Tibor Hegyi

Reporter

Patrick Schuh

Labels

None

Access to limited visibility issues

None

Product platform

None

Module Dependency

None

Ready for Development

None

Priority

Blocker
Configure