- or download this
$ perl -E 'my $re = qr{(?x: PAT )}; say $re'
(?^u:(?x: PAT ))
- or download this
(?d-imnsx:(?u-d:(?x: PAT )))
- or download this
$ perl -E 'my $re = qr{ PAT }msx; say $re'
(?^umsx: PAT )
- or download this
(?d-imnsx:(?umsx-d: PAT ))
- or download this
$ perl -E 'my $re = qr{(?d-imnsx:(?u-d:(?x: PAT )))}'
Regexp modifier "d" may not appear after the "-" in regex; ...
$ perl -E 'my $re = qr{(?d-imnsx:(?umsx-d: PAT ))}'
Regexp modifier "d" may not appear after the "-" in regex; ...
- or download this
$ perl -E 'my $re = qr{ PAT }msx; say $re; $re = qr{ $re }msx; say $r
+e; $re = qr{ $re }msx; say $re; say "..."'
(?^umsx: PAT )
(?^umsx: (?^umsx: PAT ) )
(?^umsx: (?^umsx: (?^umsx: PAT ) ) )
...