in reply to Re^2: How to match and transform a multiline pattern?
in thread How to match and transform a multiline pattern?
I only know the s/.../.../ variety. Haven't seen the "s[][]" variety yet.
They are the same, they just use different delimiters. You can choose which character(s) you use as a delimiter. If you use bracketing delimiters (eg. () or {} or [] or <>) then it can simplify the use of somethings. See the docs for the full skinny.
|
|---|