One minor point that I have not seen mentioned (or maybe I was just inattentive) is the fact that if you want '.' to truly match any character you need to specify the /s modifier on the regular expression. Without this, it will not match a newline.
In reply to Re: Matching n characters with m//g
by Anonymous Monk
in thread Matching n characters with m//g
by medium.dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |