Quantcast
Channel: Is there a regex symbol to break the syntax into multiple lines? - Super User
Browsing latest articles
Browse All 2 View Live

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

Use (?x) modifier, see documentation.Your regex becomess:'{(?x)beginning och insanely long command continuing on a second line}'

View Article


Is there a regex symbol to break the syntax into multiple lines?

TLDR;Is there a symbol for breaking up a regex syntax into several lines?In Bash, for example:'{beginning och insanely long command \ continuing on a second line}'You use \ to split long lines and...

View Article

Browsing latest articles
Browse All 2 View Live