Quantcast
Channel: Is there a regex symbol to break the syntax into multiple lines? - Super User
Viewing all articles
Browse latest Browse all 2

Answer by Toto for Is there a regex symbol to break the syntax into multiple lines?

$
0
0

Use (?x) modifier, see documentation.

Your regex becomess:

'{(?x)beginning och insanely long command continuing on a second line}'

Viewing all articles
Browse latest Browse all 2

Trending Articles